• 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: Leopard-specific functionality in non–Leopard-only project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leopard-specific functionality in non–Leopard-only project


  • Subject: Re: Leopard-specific functionality in non–Leopard-only project
  • From: Jacob <email@hidden>
  • Date: Sat, 21 Jun 2008 13:09:26 -0700

Alright, thanks, but will that work if someone tries to use the project for
development who's not on 10.5?


On Sat, Jun 21, 2008 at 1:01 PM, Mark Munz <email@hidden> wrote:

> The trick is to set the SDK to 10.5 and then in the target build settings,
> set:
>
> Mac OS X Deployment Target to Mac OS X 10.4.
> (under Deployment)
>
> You'll want to set it for all your configurations: (Debug, Release, etc)
>
> On Sat, Jun 21, 2008 at 12:51 PM, Jacob Bandes-Storch
> <email@hidden> wrote:
> > I'm working on a project (with another developer) that will target OSes
> > older than 10.5, and I'd like to use the Leopard-only NSWindow method
> > -setCollectionBehavior:. As far as I know, the best way to do this is to
> > check for the method using -respondsToSelector:. I need to use the enum
> type
> > NSWindowCollectionBehavior. When I try this, I get an error saying
> "error:
> > 'NSWindowCollectionBehaviorCanJoinAllSpaces' undeclared (first use in
> this
> > function)" and a warning "warning: 'NSWindow' may not respond to
> > '-setCollectionBehavior:'". This is because I'm using the 10.4 SDK...
> I've
> > read in some places to set the "Cross-develop using target SDK" setting
> of
> > the project to 10.5, but that setting is not available in the General tab
> of
> > the project info. Does anyone know how to do this properly without
> angering
> > the compiler?
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Leopard-specific functionality in non–Leopard-only project
      • From: "Mark Munz" <email@hidden>
References: 
 >Leopard-specific functionality in non–Leopard-only project (From: Jacob Bandes-Storch <email@hidden>)
 >Re: Leopard-specific functionality in non–Leopard-only project (From: "Mark Munz" <email@hidden>)

  • Prev by Date: Re: Leopard-specific functionality in non–Leopard-only project
  • Next by Date: Application Main window not appearing on application launch (updated)
  • Previous by thread: Re: Leopard-specific functionality in non–Leopard-only project
  • Next by thread: Re: Leopard-specific functionality in non–Leopard-only project
  • Index(es):
    • Date
    • Thread