• 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: accessing ivars in - (id)init
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: accessing ivars in - (id)init


  • Subject: Re: accessing ivars in - (id)init
  • From: "Kyle Sluder" <email@hidden>
  • Date: Sat, 10 Jan 2009 00:09:55 -0500

On Fri, Jan 9, 2009 at 11:49 PM, Michael Ash <email@hidden> wrote:
> Note that the problems, such as they are, with calling setters only
> show up if your class is subclassed and the subclass does something
> weird that doesn't like being called when the rest of the subclass
> isn't initialized. If you're not subclassing your own class (or you
> are but you aren't doing anything weird like this in it) then you are
> perfectly safe.

So what happens if Apple changes your superclass to observe itself?
All of a sudden you start firing KVO notifications off when you didn't
mean to.

--Kyle Sluder
_______________________________________________

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: accessing ivars in - (id)init
      • From: "Michael Ash" <email@hidden>
    • Re: accessing ivars in - (id)init
      • From: Quincey Morris <email@hidden>
References: 
 >accessing ivars in - (id)init (From: Ron Fleckner <email@hidden>)
 >Re: accessing ivars in - (id)init (From: "Michael Ash" <email@hidden>)

  • Prev by Date: Re: accessing ivars in - (id)init
  • Next by Date: Re: accessing ivars in - (id)init
  • Previous by thread: Re: accessing ivars in - (id)init
  • Next by thread: Re: accessing ivars in - (id)init
  • Index(es):
    • Date
    • Thread