FROM : Fritz Anderson
DATE : Mon Apr 11 16:01:42 2005
On 9 Apr 2005, at 9:00 PM, Ken Tozier wrote:
>> What are you doing to ensure that the instance you update is the
>> same as the instance from your NIB?
>>
>
> If I'm understanding the purpose it IB's "Instantiate xxx" menu
> command, it just creates an icon you can work with for linking
> purposes, not an actual independent instance. Is that right?
No, Instantiate in Interface Builder actually causes an instance of
the class to be present in the NIB. (Actually, created when the NIB
is loaded, but it's easiest to think of the object as being present,
freeze-dried, in the NIB.)
-- F
--
Fritz Anderson
Consulting Programmer
http://resume.manoverboard.org/
DATE : Mon Apr 11 16:01:42 2005
On 9 Apr 2005, at 9:00 PM, Ken Tozier wrote:
>> What are you doing to ensure that the instance you update is the
>> same as the instance from your NIB?
>>
>
> If I'm understanding the purpose it IB's "Instantiate xxx" menu
> command, it just creates an icon you can work with for linking
> purposes, not an actual independent instance. Is that right?
No, Instantiate in Interface Builder actually causes an instance of
the class to be present in the NIB. (Actually, created when the NIB
is loaded, but it's easiest to think of the object as being present,
freeze-dried, in the NIB.)
-- F
--
Fritz Anderson
Consulting Programmer
http://resume.manoverboard.org/
| Related mails | Author | Date |
|---|---|---|
| Ken Tozier | Apr 10, 02:36 | |
| Fritz Anderson | Apr 10, 03:34 | |
| Ken Tozier | Apr 10, 04:00 | |
| Fritz Anderson | Apr 11, 16:01 |






Cocoa mail archive

