Re: [NEWBIE]: Dynamically loading NSViews
Re: [NEWBIE]: Dynamically loading NSViews
- Subject: Re: [NEWBIE]: Dynamically loading NSViews
- From: J Tichenor <email@hidden>
- Date: Sat, 2 Oct 2004 22:08:19 +0100
How do I tell a NSView object who it's delegate is when it doesn't
accept the setDelegate message?
I think, in the end, you were right and I was confused. I assumed that
if I added a view full of subviews to a superview, delegation would
happen automatically. Yes, confusing delegation and the responder
chain. Once I went in and reset the delegate not of the main NSView,
but of every NSTextField, etc, everything started to work fine. Still
working out tabbing, but at least it's loading. Also dropped the
dynamic view loading, although now that I've discovered my error I
suspect it would have worked fine.
Thanks for your help. Every day is a learning loads, which I guess is a
good thing.
J
_______________________________________________
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