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

Re: NIB doesn't link to objects


  • Subject: Re: NIB doesn't link to objects
  • From: Charlie Dickman <email@hidden>
  • Date: Sat, 13 Nov 2010 18:20:33 -0500

Notably, I executed using GDB and watched it get to the method and fail to assign values.

On Nov 13, 2010, at 6:16 PM, Thomas Davie wrote:

> Notably AwakeFromNIB and awakeFromNib are not the same method name.
>
> Bob
>
> On 13 Nov 2010, at 23:12, Charlie Dickman wrote:
>
>> Andy,
>>
>> I moved it to AwakeFromNIB but the result is the same.
>>
>> On Nov 13, 2010, at 5:53 PM, Andy Lee wrote:
>>
>>>
>>> On Nov 13, 2010, at 5:46 PM, Charlie Dickman wrote:
>>>
>>>> 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];
>>>
>>> You're probably doing this too early (maybe in your init method?), before the outlets have been connected.  Try moving it to awakeFromNib.
>>>
>>> --Andy
>>>
>>
>> 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
>

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

References: 
 >NIB doesn't link to objects (From: Charlie Dickman <email@hidden>)
 >Re: NIB doesn't link to objects (From: Andy Lee <email@hidden>)
 >Re: NIB doesn't link to objects (From: Charlie Dickman <email@hidden>)
 >Re: NIB doesn't link to objects (From: Thomas Davie <email@hidden>)

  • Prev by Date: Re: NIB doesn't link to objects
  • Next by Date: Re: NIB doesn't link to objects
  • Previous by thread: Re: NIB doesn't link to objects
  • Next by thread: Re: NIB doesn't link to objects
  • Index(es):
    • Date
    • Thread