Re: Implementing delegate categories for subclasses

Kyle Sluder <[email protected]>
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
On Wed, Sep 9, 2009 at 3:01 PM, Christiaan Hofman<[email protected]> wrote:
> Why? There is still a huge overlap between 10.4 and 10.6, it's really not
> such a stretch to build an app or support framework for all three major
> versions. In particular for frameworks, and those typically should be as
> versatile as possible.

The proper way to do it is by either building on 10.6 against the 10.6
SDK with a deployment target of 10.4, or building on 10.4 against the
10.4 SDK.  Otherwise you depend on the API never, ever changing.
That's an unreasonable expectation.

> And quite frankly, I even still require some deprecated methods from 10.4
> even on 10.6, because Apple simply did not give a proper replacement (due to
> serious bugs and shortcomings in the API that replaced it).  But that's a
> different story.

You should, however, be able to depend on behavior not changing when
you've built an app against a certain SDK.  Any case where that isn't
true is a bug, and you should file a Radar.  That includes when
methods are deprecated in the 10.5 SDK but you're building on 10.4 --
a situation which has bitten us quite frequently.

--Kyle Sluder
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.