On Fri, Jul 6, 2012, at 10:00 PM, ecir hana wrote: > On Fri, Jul 6, 2012 at 8:01 PM, Stephen J. Butler > <stephen.but...@gmail.com>wrote: > > > > > You're positive you're linking against the 10.6 SDK? Even if you're on > > 10.6 you might be linking against the 10.5 SDK and that would explain > > your problem perfectly. > > > > > NSAppKitVersionNumber says "1038.36" which is 10.6.
That tells you what version of AppKit you're _running on_, not what version you've _linked against._ The whole purpose of that variable (note it's a global variable, not a compile-time constant!) is so that code linked against earlier frameworks can see if it's running on a version of the OS older or newer than the SDK it was linked against. The frameworks can detect when you've linked against a different version of AppKit than you're running on, and will often change their behavior accordingly. --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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com