Re: Tiger-style toolbars
Re: Tiger-style toolbars
- Subject: Re: Tiger-style toolbars
- From: Shawn Erickson <email@hidden>
- Date: Fri, 18 Nov 2005 16:53:07 -0800
On 11/18/05, Seth Willits <email@hidden> wrote:
> On Nov 18, 2005, at 3:32 PM, Uli Kusterer wrote:
>
> > Am 18.11.2005 um 16:01 schrieb I. Savant:
> >> You can do things only for specific OS versions by using the
> >> following:
> >>
> >> #ifdef MAC_OS_X_VERSION_10_4
> >> //10.4-specific code here
> >> #endif
> >
> > I think you meant to write: (untested, written in Mail):
> >
> > unsigned long versNum;
> >
> > if( noErr == Gestalt( gestaltSystemVersion, &versNum ) && versNum
> > >= 0x1040 )
> > tenfourspecificmethod();
>
> Now if you compile that on 10.4 and run it on 10.3 will actually run
> without some kind of framework version error?
Review... <http://developer.apple.com/documentation/DeveloperTools/Conceptual/cross_development/Introduction/chapter_1_section_1.html>
_______________________________________________
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