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

Re: NSProgressIndicator not working


  • Subject: Re: NSProgressIndicator not working
  • From: Mike Shields <email@hidden>
  • Date: Wed, 28 Aug 2002 15:01:18 -0600

On Wednesday, August 28, 2002, at 02:10 PM, adam krawiec wrote:

I am building an application and i wanted to add a NSProgressIndicator so that the user would know when the app was 'thinking'. I have encountered two problems with it. i opted to use the new spinning-style indicator and selected that type when i added the item to the Nib file in IB. however when i build and open the app, it always reverts to a standard progress bar indicator. i have re-configured and re-saved the nib file with no luck.

You must save the nib in the 10.2 nib format. See the IB Prefs.

the second problem is that it does not respond to certain commands, notably: startAnimation: stopAnimation:, and animate:. this is the output i get:

2002-08-28 15:05:00.364 CocoaNet[681] *** -[NSProgressIndicator stopAnimation]: selector not recognized

it's because in this particular case you're sending it -stopAnimation, not -stopAnimation: (note the colon difference). In ObjC the colon is a required part of the method signatire, so -foo and -foo: are completely different methods.

Mike
_______________________________________________
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: 
 >NSProgressIndicator not working (From: adam krawiec <email@hidden>)

  • Prev by Date: Re: drawAtPoint - is it really slow?
  • Next by Date: Re: drawAtPoint - is it really slow?
  • Previous by thread: NSProgressIndicator not working
  • Next by thread: Setting up CVS Server in 10.2
  • Index(es):
    • Date
    • Thread