• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setAction:@selector is not working ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setAction:@selector is not working ?


  • Subject: Re: setAction:@selector is not working ?
  • From: "Hank Heijink (Mailinglists)" <email@hidden>
  • Date: Fri, 19 Feb 2010 15:11:39 -0500

On Feb 19, 2010, at 2:43 PM, David M. Cotter wrote:

> just before the line of code that pops up the menu, i iterate over all the items
> so yes, i am absolutely sure it is getting called
> and i am absolutely sure that myMenuItem is non null

Posting you code is wildly more helpful than describing it. Also, are you absolutely sure because you've reasoned about your code, or are you absolutely sure because you've set a breakpoint and you've actually *seen* that all is well (i.e. the item exists, the target and action are what you expected)? If you haven't done the latter, you should not be absolutely sure.

Hank

_______________________________________________

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: setAction:@selector is not working ?
      • From: "David M. Cotter" <email@hidden>
References: 
 >setAction:@selector is not working ? (From: "David M. Cotter" <email@hidden>)
 >Re: setAction:@selector is not working ? (From: Graham Cox <email@hidden>)
 >Re: setAction:@selector is not working ? (From: "David M. Cotter" <email@hidden>)
 >Re: setAction:@selector is not working ? (From: Jens Alfke <email@hidden>)
 >Re: setAction:@selector is not working ? (From: "David M. Cotter" <email@hidden>)

  • Prev by Date: Re: setAction:@selector is not working ?
  • Next by Date: Re: setAction:@selector is not working ?
  • Previous by thread: Re: setAction:@selector is not working ?
  • Next by thread: Re: setAction:@selector is not working ?
  • Index(es):
    • Date
    • Thread