Re: Using outlets from NSView subclass
Re: Using outlets from NSView subclass
- Subject: Re: Using outlets from NSView subclass
- From: Glenn Andreas <email@hidden>
- Date: Wed, 6 Oct 2004 18:43:47 -0500
Yeah, I instantiated my subclass, created an outlet for a progress
indicator, added a progress indicator to the same window that has
the view in it, and linked the outlet to the indicator. I then
added the indicator to my .h file with "IBOutlet NSProgressIndicator
*progressBar;".
Do you have a routine named "setProgressBar:" which your program may
use to set the current value of the progress bar? If so, this is the
problem - read up on KVC and see why this routine is used when
loading the nib to try to set the instance variable to the actual
progress bar (and your routine would try to set the value instead)
--
Glenn Andreas email@hidden
<
http://www.gandreas.com/> oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden