• 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
#selector noob question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

#selector noob question


  • Subject: #selector noob question
  • From: "Eric E. Dolecki" <email@hidden>
  • Date: Tue, 22 Mar 2016 03:27:02 +0000

Quick question. If I use #selector(funcName) - does it always send an
argument of the obj if the func requests it or not?

If the function being called has a typed argument of something like
sender:UIButton, I can reference the sender in the func. Before with a
string we could add the ":" to inform that it would be supplied. Now is it
implied that it will be supplied?

Thanks if this seems like a silly question - just reading about 2.2 now.

Eric
_______________________________________________

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: #selector noob question
      • From: Quincey Morris <email@hidden>
  • Prev by Date: NSThread to NSOperation and blockUntil
  • Next by Date: Re: #selector noob question
  • Previous by thread: Re: NSThread to NSOperation and blockUntil
  • Next by thread: Re: #selector noob question
  • Index(es):
    • Date
    • Thread