Re: Gestalt
Re: Gestalt
- Subject: Re: Gestalt
- From: Kyle Sluder <email@hidden>
- Date: Wed, 21 Sep 2011 15:06:25 -0700
On Wed, Sep 21, 2011 at 2:22 PM, Charles Srstka
<email@hidden> wrote:
> Why not? I find it to be safer than checking for the existence of a method, because you never know if that method might have actually have existed before it went public, but in a less stable form or with different behavior. If this is the case, then just checking whether the method exists and calling it could produce who knows what behavior on older systems.
It's preferable to use NSFoundationVersion or the like instead of the
system version.
--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