Xcode cross-developing to 10.1 and NSProgressIndicator
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.