target set to self this is a menu item class override, the "myFunction" selector is part of the menu item class note it works all the time except for the first time after switching out then in
On Feb 18, 2010, at 6:32 PM, Graham Cox wrote: > > On 19/02/2010, at 12:53 PM, David M. Cotter wrote: > >> i'm going to do a popup menu >> i run thru all the items and call >> >> [myMenuItem setAction:@selector(myFunction:)]; >> >> upon first run, my "myFunction" never gets called with the result of the >> menu item pick. >> >> but then, it works 100% of the time *after* i switch out then back into my >> app >> >> whaaa?? does anyone have an idea about this? > > > What's the target set to? > > --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