Re: Best way to implement NSProgressIndicator
Re: Best way to implement NSProgressIndicator
- Subject: Re: Best way to implement NSProgressIndicator
- From: Scott Anguish <email@hidden>
- Date: Mon, 29 Sep 2003 02:19:26 -0400
On Sep 29, 2003, at 2:00 AM, j o a r wrote:
1) The documentation now (at least the version found online at
developer.apple.com) states at what version of Mac OS X a method was
introduced (at least for things added after 10.0/10.1).
Right, the Availability tags are only present for things added to 10.2
and later.
Also, availability is only noted like this in the reference, not
concepts.
2) This is also a good URL for you to read:
<http://developer.apple.com/technotes/tn2002/tn2064.html>
Yes, the doc links to that actually..
...and Scott, NSProgressIndicator is not a new class for 10.2 and
later - it's been with us since pre-Mac OS X - so it's perfectly fine
to use it on Mac OS X 10.1. It got a few new tricks for 10.2, that's
all.
Right.. it depends on if you're using the newer capabilities or not.
Since he asked, I figured he already knew what was/wasn't there. 10.2
added the support for the spinning style. If you're using the methods
- (void) setStyle:(NSProgressIndicatorStyle)style;
- (NSProgressIndicatorStyle)style;
- (void) sizeToFit;
- (BOOL) isDisplayedWhenStopped;
- (void) setDisplayedWhenStopped:(BOOL)isDisplayed;
then you might want to make sure that the modes are supported before
using those methods, since they weren't there before 10.2.
_______________________________________________
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.