• 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: Header Differences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Header Differences


  • Subject: Re: Header Differences
  • From: Ken Thomases <email@hidden>
  • Date: Mon, 25 May 2009 00:47:59 -0500

On May 25, 2009, at 12:16 AM, Michael Ash wrote:

On Mon, May 25, 2009 at 12:51 AM, Chunk 1978 <email@hidden> wrote:
is there a difference? which one should be used?

No difference. Use whatever makes you happy. IBOutlet is just a hint to help Interface Builder parse your header. It literally does nothing when the code is actually compiled: IBOutlet is #defined to nothing.

Apple's recommendation is to put the IBOutlet tag on the property declaration:


http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmNibObjects.html#/ /apple_ref/doc/uid/TP40004998-SW1

Also, there can be a difference if the property name is different that the ivar name.

Regards,
Ken

_______________________________________________

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


References: 
 >Header Differences (From: Chunk 1978 <email@hidden>)
 >Re: Header Differences (From: Michael Ash <email@hidden>)

  • Prev by Date: Re: Best way to draw text in CAOpenGLLayer
  • Next by Date: Re: Core Data and ordered to-many relations
  • Previous by thread: Re: Header Differences
  • Next by thread: How to safely break read stream?
  • Index(es):
    • Date
    • Thread