• 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: Can I talk about iPhone SDK/API?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I talk about iPhone SDK/API?


  • Subject: Re: Can I talk about iPhone SDK/API?
  • From: lbland <email@hidden>
  • Date: Tue, 24 Nov 2009 10:11:48 -0500

On Nov 24, 2009, at 9:34 AM, Alexander von Below wrote:

> In Cocoa Touch applications, an action method can take one of three forms, shown here:
>
> - (IBAction)respondToButtonClick;
> - (IBAction)respondToButtonClick:(id)sender;

So, I have to ask, what is the practical value of having an action method with no argument? It couldn't be time savings because just checking to see the selector signature, or storing the selector signature type, takes time or memory. Is there any reason to use one form v.s. the other other than the obvious that if sender is not used then why have it around?

I know this thread changed to API, but I don't want to switch to another mail list (not yet anyways).

I know I have had discussions for over fifteen years (with Apple engineers and others) about many action signatures, but the ideas vary. I hope this question is not in a manual anywhere in the five trillion web sites on the net. My apologies in advance if I am asking a stupid question or a question that is answered somewhere else.

thanks!-

-lance

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Can I talk about iPhone SDK/API?
      • From: "Hank Heijink (Mailinglists)" <email@hidden>
References: 
 >Can I talk about iPhone SDK/API? (From: lbland <email@hidden>)
 >Re: Can I talk about iPhone SDK/API? (From: Alexander von Below <email@hidden>)
 >Re: Can I talk about iPhone SDK/API? (From: lbland <email@hidden>)
 >Re: Can I talk about iPhone SDK/API? (From: Alexander von Below <email@hidden>)

  • Prev by Date: Re: Can I talk about iPhone SDK/API?
  • Next by Date: Re: Can I talk about iPhone SDK/API?
  • Previous by thread: Re: Can I talk about iPhone SDK/API?
  • Next by thread: Re: Can I talk about iPhone SDK/API?
  • Index(es):
    • Date
    • Thread