FROM : Michael Watson
DATE : Mon Nov 19 16:33:44 2007
Remember that NSAppKitVersionNumber10_4 is not actually defined in the
10.4 *or* 10.5 AppKit header. Remember to do this somewhere appropriate:
#ifndef NSAppKitVersionNumber10_4
#define NSAppKitVersionNumber10_4 824
#endif
--
m-s
On 17 Nov, 2007, at 13:49, Keith Blount wrote:
> As I understand it, the easiest way of doing this at runtime is like
> this:
>
>
> if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_4)
> {
> // Call a Leopard-only method...
>
> }
>
>
> You can check for other major OS versions in the same way. See
> "Runtime Version Check" in the Developer Release Notes here:
>
>
> http://developer.apple.com/releasenotes/Cocoa/AppKit.html
>
>
> All the best,
> Keith
>
>
>
> -- ORIGINAL MESSAGE --
>
>
> Hi All,
>
>
>
>
> Is there any way to know the operating system version i.e
>
> either Leopard or Tiger ?
>
>
>
>
> Please let me know if you have any concern(s).
>
>
>
>
> Thanks,
>
> JanakiRam.
>
>
>
>
>
> ____________________________________________________________________________________
> Be a better pen pal.
> Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/mikey-san
> %40bungie.org
>
> This email sent to <email_removed>
DATE : Mon Nov 19 16:33:44 2007
Remember that NSAppKitVersionNumber10_4 is not actually defined in the
10.4 *or* 10.5 AppKit header. Remember to do this somewhere appropriate:
#ifndef NSAppKitVersionNumber10_4
#define NSAppKitVersionNumber10_4 824
#endif
--
m-s
On 17 Nov, 2007, at 13:49, Keith Blount wrote:
> As I understand it, the easiest way of doing this at runtime is like
> this:
>
>
> if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_4)
> {
> // Call a Leopard-only method...
>
> }
>
>
> You can check for other major OS versions in the same way. See
> "Runtime Version Check" in the Developer Release Notes here:
>
>
> http://developer.apple.com/releasenotes/Cocoa/AppKit.html
>
>
> All the best,
> Keith
>
>
>
> -- ORIGINAL MESSAGE --
>
>
> Hi All,
>
>
>
>
> Is there any way to know the operating system version i.e
>
> either Leopard or Tiger ?
>
>
>
>
> Please let me know if you have any concern(s).
>
>
>
>
> Thanks,
>
> JanakiRam.
>
>
>
>
>
> ____________________________________________________________________________________
> Be a better pen pal.
> Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/mikey-san
> %40bungie.org
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| JanakiRam | Nov 17, 10:56 | |
| Stefan Werner | Nov 17, 11:53 | |
| Pierre Molinaro | Nov 17, 12:25 | |
| j o a r | Nov 17, 19:03 | |
| Keith Blount | Nov 17, 19:49 | |
| Michael Watson | Nov 19, 16:33 | |
| Adam R. Maxwell | Nov 19, 16:50 | |
| Michael Watson | Nov 19, 17:22 | |
| Ben Trumbull | Nov 20, 01:43 | |
| E. Wing | Nov 20, 10:30 |






Cocoa mail archive

