• 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: custom view subclass won't connect to custom controller class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom view subclass won't connect to custom controller class


  • Subject: Re: custom view subclass won't connect to custom controller class
  • From: mmalcolm crawford <email@hidden>
  • Date: Sat, 28 Feb 2004 17:15:28 -0800

On Feb 28, 2004, at 5:00 PM, otherguy wrote:

However, even though I've defined an outlet IBOutlet (id) dataSource in the custom view, and connected that outlet to the controller, when I log the value of dataSource during initWithFrame: for the custom view, I get (null).

The connection isn't available until awakeFromNib:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ LoadingResources/Concepts/NibFileLoaded.html>

mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: custom view subclass won't connect to custom controller class
      • From: otherguy <email@hidden>
References: 
 >custom view subclass won't connect to custom controller class (From: otherguy <email@hidden>)

  • Prev by Date: Re: smaller icon
  • Next by Date: Re: custom view subclass won't connect to custom controller class
  • Previous by thread: custom view subclass won't connect to custom controller class
  • Next by thread: Re: custom view subclass won't connect to custom controller class
  • Index(es):
    • Date
    • Thread