Re: Stale Objective-C object pointer detection
Re: Stale Objective-C object pointer detection
- Subject: Re: Stale Objective-C object pointer detection
- From: "Michael Ash" <email@hidden>
- Date: Sun, 13 Apr 2008 18:35:54 -0400
On Sun, Apr 13, 2008 at 5:33 PM, Alex Curylo <email@hidden> wrote:
>
> On 13-Apr-08, at 2:15 PM, Greg Titus wrote:
>
> > You want to just leave the pointer alone and turn on NSZombiesEnabled when
> you run your app.
> >
>
> Huh. I'd actually stumbled across NSDebug.h before, but the documentation
> at the top
>
> "WARNING: Unsupported API.
>
> This module contains material that is only partially supported -- if
> at all. Do not depend on the existance of any of these symbols in your
> code in future releases of this software..."
>
> sounded to to me an awful lot like "ignore this header". Righty then, now I
> know better. Thanks again!
Unsupported means that you can't rely on it, not that it doesn't work.
In other words, Apple doesn't wish to be committed to keeping this API
functional and changeless in all future releases of Mac OS X. You can
use it without any trouble on your own machine, but if you ship code
which uses anything from this header then you do so at your own risk.
Fortunately they're all things which you would generally only use on
your own machine, which is pretty much the point.
Mike
_______________________________________________
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