• 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
Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy)


  • Subject: Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy)
  • From: Justin Lundy <email@hidden>
  • Date: Tue, 18 Nov 2003 18:23:46 -0800
  • Resent-date: Wed, 19 Nov 2003 08:07:25 -0800
  • Resent-from: Justin Lundy <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: email@hidden

I asked this on the cocoa-dev list, and was suggested to ask it here.

I got an app that I'm developing in Xcode, this app uses NSProgressIndicators, specifically calling the setStyle method. I set the SDK to Mac OS X 10.1.5 and cleaned and compiled, and no problems. I restarted in 10.1.5 and tried my app and it crashed with a console error saying that NSProgressIndicator doesn't recognize setStyle selector. But it compiled fine, so WTF? I go to the documentation page for NSProgressIndicator, and low and behold, setStyle, along with several other methods, are 10.2+... Here are my questions:
1) Why didn't Xcode catch this?
2) Should I bother cross-developing to 10.1.5 if I'm going to have to test everything anyway? (a little snide)
3) How can I work around this to get the backwards compatibility I'm looking for? (Check OS version?)


  - Justin

---
Box O' Rox Software
www.boxorox.com
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy)
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: How do I define the template macros?
  • Next by Date: re: Another distributed builds problem
  • Previous by thread: Re: How do I define the template macros?
  • Next by thread: Re: Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy)
  • Index(es):
    • Date
    • Thread