• 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: A Data Object in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A Data Object in Cocoa


  • Subject: Re: A Data Object in Cocoa
  • From: Jens Bauer <email@hidden>
  • Date: Fri, 9 Jan 2009 16:25:54 +0100

You're right, it's not needed, and furthermore, I just checked, the warnings won't disappear.
Everyone, disregard what I wrote about self->


I believe that prefixing the parameters is most likely the best way (and as a good example for us, the guys at Apple does it as well).


Love, Jens

On Jan 9, 2009, at 16:09, Thomas Davie wrote:

self is a pointer, so you might want to change "self." into "self->"

No need to do that – assuming that label, pin and seed are declared as properties, which, this being a container class I guess they are. This also destroys the need to play with retaining that you were talking about (assuming the property is set up correctly to generate code that retains values).

_______________________________________________

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: 
 >A Data Object in Cocoa (From: nik heger <email@hidden>)
 >Re: A Data Object in Cocoa (From: Jens Bauer <email@hidden>)
 >Re: A Data Object in Cocoa (From: Thomas Davie <email@hidden>)

  • Prev by Date: Re: A Data Object in Cocoa
  • Next by Date: Re: A Data Object in Cocoa
  • Previous by thread: Re: A Data Object in Cocoa
  • Next by thread: Re: A Data Object in Cocoa
  • Index(es):
    • Date
    • Thread