On May 16, 2012, at 9:44 AM, Charlie Dickman wrote: > The actual problem is that I am telling an NSTextfield to set it's contents > (the method is actually a part of NSCell from which NSTextfield inherits it)
No; NSTextField inherits that method from NSControl. (It _contains_ an NSTextFieldCell, which inherits a method of the same name from NSCell. I know, controls vs. cells is confusing…) > and it does not appear in the textfield. It used to work but I have no idea > what I did to break it. Only thing I can guess is that you passed in a mutable attributed string and later changed its contents. If the control didn’t internally create and store a copy of the original string, this will change the string it contains behind its back. —Jens _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com