| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
so are you saying that on my first iteration I should add something like [[myArray objectAtIndex: i] retain]; and then of course release it after the second iteration?
In this specific instance I'm not sure I understand how the NSButton object is created and destroyed.
I mean its in my UI but you're saying that that the object is only retained as long as the call is going on?
Shouldn't the pointer in my NSArray still point to the object that exists in the UI?
| References: | |
| >Re: basic Obj-C lesson (was runtime error with NSArray no more!) (From: Mike McCune <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.