On Wed, Sep 21, 2011 at 2:22 PM, Charles Srstka
<cocoa...@charlessoft.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to