Re: Using outlets from NSView subclass
Re: Using outlets from NSView subclass
- Subject: Re: Using outlets from NSView subclass
- From: James Spencer <email@hidden>
- Date: Wed, 6 Oct 2004 18:00:43 -0500
How are you creating the NSView subclass instance from which you are
trying to access the outlet? Do you actually have a progress indicator
instantiated in a nib? Is your NSView subclass instantiated in the
same nib?
Spence
On Oct 6, 2004, at 5:12 PM, Dennis Falling wrote:
Okay- my bad, I misunderstood the question.
Yes, it is nil. It's being called after awakeFromNib. No outlets I
make for the subclass work, whether I place them in a normal place in
the main window, or if I put them inside the view by opening it up
first.
-dennis
On Oct 6, 2004, at 2:30 PM, j o a r wrote:
That's not what Nick asked. Check the value of the outlet in code!
When do you try to access it - before or after awakeFromNib?
j o a r
On 2004-10-06, at 21.06, Dennis Falling wrote:
I've quadruple-checked the outlet- it's connected in IB.
_______________________________________________
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
James P. Spencer
Rochester, MN
email@hidden
"Badges?? We don't need no stinkin badges!"
_______________________________________________
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