Re: hosed IBOutlets
Re: hosed IBOutlets
- Subject: Re: hosed IBOutlets
- From: Paul Forgey <email@hidden>
- Date: Sun, 20 Feb 2005 00:00:02 -0800
Somebody else kindly pointed that out off the list. Apparently the nib
unarchiver tries to use accessor functions, and so my IBOutlet progress
and method setProgress: were clashing. That also explains the weird
messages regarding the NSProgressIndicator while it was loading. My
setProgress: method took an NSString * argument!
On Feb 19, 2005, at 5:07 PM, Angela Brett wrote:
The only idea I can come up with is perhaps your class has an instance
method setProgress: expecting a string or some other kind of object
(which is perhaps meant to be used by another of your objects to set
the progress text or something) which sends a copy or length message
to its argument. That method would be called via KVC when the nib is
loaded, but with the NSProgressIndicator as the argument, so you end
up trying to copy that. If that is the case then the simplest solution
would be to rename either your setProgress: method or your progress
outlet.
--
Angela Brett
email@hidden
http://NSCoder.com
_______________________________________________
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