Re: Spinner not working in PB
Re: Spinner not working in PB
- Subject: Re: Spinner not working in PB
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 18 Jan 2003 19:31:54 -0500
This is correct as far as it goes, but it isn't good advice in practice. Due
to a bug in IB, nib files with the 10.2 or "Both Formats" preference setting
are likely to cause your application to crash (specifically, if you use any
custom controls). Until Apple fixes IB, you should set it to pre-10.2
format. You can still use a spinner by calling this statement in your
awakeFromNib method:
[[self spinner] setStyle:NSProgressIndicatorSpinningStyle];
(Assuming you've written an accessor method named "spinner" for your
progress indicator's IBOutlet.) The spinner will look wrong in IB, but it
will look and work right in your application.
on 03-01-18 4:32 PM, LE STANG Jean-Baptiste at email@hidden
wrote:
>
You have to change the preference setting in IB, so that nib files are
>
compatible is set to 10.2 and not to pre 10.2
>
>
Jean-Baptiste LE STANG
>
>
Le mercredi, 1 jan 2003, ` 20:59 Europe/Paris, Brian Gilman a icrit :
>
>
> Hello everyone,
>
>
>
> I've been having trouble getting the spinner to appear in my
>
> interface.
>
> I drop the spinner on the default window and get a progress bar
>
> instead. Any
>
> tricks or advice is greatly appreciated!
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
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.