• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode cross-developing to 10.1 and NSProgressIndicator


  • Subject: Xcode cross-developing to 10.1 and NSProgressIndicator
  • From: Justin Lundy <email@hidden>
  • Date: Tue, 18 Nov 2003 18:23:46 -0800

Okay, I got an app that I'm developing in Xcode, this app uses NSProgresIndicators, 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
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Updating the main menu
  • Next by Date: Re: Launch crash in strstr... what gives?
  • Previous by thread: Re: Opening a NSOpenPanel in a secondary thread -> crash
  • Next by thread: key-value validation
  • Index(es):
    • Date
    • Thread