• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tiger-style toolbars
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tiger-style toolbars


  • Subject: Re: Tiger-style toolbars
  • From: Seth Willits <email@hidden>
  • Date: Fri, 18 Nov 2005 16:48:05 -0800

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?




Seth Willits
----------------------------------------------------------
Freak Software - http://www.freaksw.com/
ResExcellence - http://www.resexcellence.com/realbasic/
----------------------------------------------------------

_______________________________________________
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


  • Follow-Ups:
    • Re: Tiger-style toolbars
      • From: Uli Kusterer <email@hidden>
    • Re: Tiger-style toolbars
      • From: Shawn Erickson <email@hidden>
References: 
 >Tiger-style toolbars (From: Dan Price <email@hidden>)
 >Re: Tiger-style toolbars (From: "I. Savant" <email@hidden>)
 >Re: Tiger-style toolbars (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: Problems making a framework (was tabbed class like Safari)
  • Next by Date: Re: Possible to send a tableViewSelectionDidChange notification?
  • Previous by thread: Re: Tiger-style toolbars
  • Next by thread: Re: Tiger-style toolbars
  • Index(es):
    • Date
    • Thread