On Sep 29, 2010, at 7:02 PM, Evan Coleman <coleman.e...@gmail.com> wrote:
> I'm having a very strange problem. I can't provide any code because I don't > know which part of my code is causing the problem. I have an NSMenuExtra, > and for some reason some labels and image views in an NSView inside of an > NSMenuItem are displaying their default values (the values that are set in > interface builder). But when I do [textField stringValue] it returns the > value it should be displaying, not what is actually displayed. Anyone know > what's causing this? Are you sure you're talking to the objects you think you're talking to? Most often this happens because two copies of the views are created, and the code only interacts with the offscreen one. --Kyle Sluder_______________________________________________ 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