Re: using new APIs with old OS versions
Re: using new APIs with old OS versions
- Subject: Re: using new APIs with old OS versions
- From: Bob Clark <email@hidden>
- Date: Mon, 24 Jul 2006 22:33:16 -0700
Is there an approach that will not preemptively abort launch on
Panther? The only approach I can think of (aside from abandoning my
attempt to subclass from NSLevelIndicatorCell) is to have the
CustomCellTiger definition and implementation in a separate NSBundle,
which is only loaded under Tiger. But man, that feels like a lot of
effort just to salvage the small-and-shrinking Panther user base.
On Jul 24, 2006, at 12:21 PM, Jerry Krinock wrote:
My solution to this same problem was to create the NSLevelIndicator
programatically, after first checking Gestalt. But then, that was
last year
when the Panther user base was only not-so-small-and-shrinking.
Thanks for responding, Jerry.
I do have one place where I do this (create an instance of
NSLevelIndicator and NSLevelIndicatorCell), and it works great. (On
Panther where I avoid this block of code, it works just fine.)
But now I'm subclassing NSLevelIndicatorCell and even though my
custom subclass is never instantiated on Panther, it seems that the
OS just loading the binary causes some symbol resolution to fail, or
something.
It's almost as if "just using NSLevelIndicatorCell in code" is a
qualitatively different thing than "subclassing NSLevelIndicatorCell".
On Jul 23, 2006, at 2:49 PM, Nick Zitzmann wrote:
Have you set the deployment OS version for the target?
Thanks, Nick. Yeah I double-checked and I'm using the 10.4u SDK (so I
can use NSLevelIndicatorCell) and setting the Deployment OS to 10.3.
--Bob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden