• 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
NIB doesn't link to objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NIB doesn't link to objects


  • Subject: NIB doesn't link to objects
  • From: Charlie Dickman <email@hidden>
  • Date: Sat, 13 Nov 2010 17:46:51 -0500

I'm sure I'm missing something really simple here...

In my .h file I define some objects in the interface section as

IBOutlet NSButton * tileButton1, *tileButton2...

in the .m file (an implementation of a NSView) I initialize an array...

NSArray *tileButtons = [[NSArray array WithObjects: tileButton1, tileButton2, ..., nil] retain];

and in the NIB the buttons in the view are linked to the corresponding outlets but when the InitWithFrame method is called the pointers all have addresses assigned but the values are all nil.

What am I not doing (properly)?

Charlie Dickman
email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NIB doesn't link to objects
      • From: Phillip Hutchings <email@hidden>
    • Re: NIB doesn't link to objects
      • From: Andy Lee <email@hidden>
  • Prev by Date: Contract work porting casual games
  • Next by Date: Re: NIB doesn't link to objects
  • Previous by thread: Contract work porting casual games
  • Next by thread: Re: NIB doesn't link to objects
  • Index(es):
    • Date
    • Thread