• 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
Re: Odd problems with NSProgressIndicator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd problems with NSProgressIndicator


  • Subject: Re: Odd problems with NSProgressIndicator
  • From: j o a r <email@hidden>
  • Date: Thu, 25 Sep 2003 08:27:19 +0200

On 2003-09-25, at 07.18, Chad Armstrong wrote:

1. When my app starts up, the NSProgressIndicator briefly shows up as the barber pole indicator before switching over to the spinning wheel indicator.

You need to save the nib file in the new nib (10.2) file format to be able to store the properties introduced in 10.2 and later. Note that there was a bug in this file format prior to 10.2.6 - resave nib files created in the new nib file format prior to 10.2.6. PLEASE look in the list archives for a lot of discussions on this topic.

<http://cocoa.mamasam.com/>

2. I've tried setting the NSProgressIndicator to disappear when it is done. Or if I can't do that, I'd like it to fade somewhat, like in Omniweb. I might have missed something, but there doesn't seem to be an option in the Apple dev pages to make it disappear or turn all gray. There is an option in Interface Builder, but it doesn't seem to be working properly.

The same thing holds true here - properties set in IB for post 10.2 features (isDisplayedWhenStopped) will be lost if nib is saved in pre 10.2 nib file format. You should still be able to set these properties in code (awakeFromNib: is probably a good place) if your running on 10.2 or later and for some reason aren't able to use the new nib file format.

3. In the Apple Dev pages, it indicates that several of these features are meant for OS 10.2. Will some of these still work in 10.1? It seems like in 10.1 it was two rotating arrows instead of the spinning circle.

The features that are new for 10.2 will only work in 10.2 and later. Simple as that. The spinning arrows were never available in Cocoa - only in Carbon. Unless you count the implementation of spinning arrows that Omni provided (provides?). If you need to write code that works on both 10.1 and 10.2 the list archives contains a lot of info on that topic too. There are also a couple of tech notes at ADC that you should peek at.

j o a r
_______________________________________________
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.

References: 
 >Odd problems with NSProgressIndicator (From: Chad Armstrong <email@hidden>)

  • Prev by Date: Is Cocoa+Java considered relevant to the list?
  • Next by Date: Re: Adding HFS file type to a file
  • Previous by thread: Odd problems with NSProgressIndicator
  • Next by thread: Is Cocoa+Java considered relevant to the list?
  • Index(es):
    • Date
    • Thread