• 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
UIButton's Sender Control Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIButton's Sender Control Events


  • Subject: UIButton's Sender Control Events
  • From: Chunk 1978 <email@hidden>
  • Date: Sun, 24 Jan 2010 11:54:57 -0500

is it not possible to handle a sender's controlEvents inside a single
method instead of sending it off to another method?

-(IBAction)myButton:(id)sender
{
if (sender.UIControlEvent =
forControlEvents:UIControlEventTouchUpInside) NSLog(@"touchUp");
}
_______________________________________________

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

  • Prev by Date: Re: Allow only root/admin users to execute the cocoa app
  • Next by Date: Coding double modifier global hotkeys?
  • Previous by thread: Bizarre locking issue
  • Next by thread: Re: UIButton's Sender Control Events
  • Index(es):
    • Date
    • Thread