On 02/03/2010, at 4:00 PM, Ken Ferry wrote: > When you use a symbol like NSForegroundColorAttributeName, a reference to the > symbol is embedded in your binary, not the value. So it could possibly change. > > Barriers to this would be (1) people persisting attribute dictionaries,[...] > (1) might, it's hard to say.
What about archiving an NSAttributedString to a file? Wouldn't the constant string get archived as its value? Then if the symbol changed there would be a mismatch between the archive and what the library would be expecting, and the saved object wouldn't work correctly. --Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com