• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [NEWBIE]: Dynamically loading NSViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >[NEWBIE]: Dynamically loading NSViews (From: J Tichenor <email@hidden>)
 >Re: [NEWBIE]: Dynamically loading NSViews (From: "M. Uli Kusterer" <email@hidden>)
 >Re: [NEWBIE]: Dynamically loading NSViews (From: "M. Uli Kusterer" <email@hidden>)
 >Re: [NEWBIE]: Dynamically loading NSViews (From: J Tichenor <email@hidden>)

  • Prev by Date: Re: [NEWBIE]: Dynamically loading NSViews
  • Next by Date: Re: Toggle between Alternate Menus
  • Previous by thread: Re: [NEWBIE]: Dynamically loading NSViews
  • Next by thread: Image export/import question
  • Index(es):
    • Date
    • Thread