Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTokenField bug in 10.5.2?



Hi all,

It appears the behavior of NSTokenField has changed in 10.5.2. It now trims any space around any tokens. This includes plain style tokens (which look just like regular strings). This behavior is quite undesirable in my shipping app and I have heard reports that it is adversely affecting other apps as well.

I'm having problems figuring out a workaround as every delegate/ notification method already has the spaces trimmed off before I can get to them. My guess is that it's being done at the field editor. So, does anyone know of a workaround? Note that the tokenizing character set is set to empty so whitespace characters do not tokenize. Actually, nothing is tokenized in the field; all tokens are dragged in from outside the field. And just to be clear, this all worked fine on 10.5.1 and before.

Also, for you apple folks, I've filed this as rdar://5739172

Thanks in advance,

Paul Kim

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.