Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy)
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.