• 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: IB creating NULL outlet...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB creating NULL outlet...


  • Subject: Re: IB creating NULL outlet...
  • From: Graham Cox <email@hidden>
  • Date: Thu, 8 Oct 2009 16:04:03 +1100


On 06/10/2009, at 10:06 AM, Jeff Diamond wrote:

When I run the application, the IBOutlet comes up zero, so apparently the hook up failed.
I'm wondering if I'm missing something very basic here.


Are you certain you aren't instantiating a second controller object in your code? That would come up with nil outlets, which is what you're seeing. The object in the nib *is the object*, you do not need to instantiate it, it already exists. This is a common error.

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >IB creating NULL outlet... (From: Jeff Diamond <email@hidden>)

  • Prev by Date: Re: Base64 encoding and deprecated stringWithCString: length:
  • Next by Date: Re: Citrix Scan for Macintosh
  • Previous by thread: IB creating NULL outlet...
  • Next by thread: Re: IB creating NULL outlet...
  • Index(es):
    • Date
    • Thread