FROM : August Trometer
DATE : Sun Nov 11 19:17:01 2007
Thanks Jon, moving the object out of the Nib did the trick.
-- August
On Nov 11, 2007, at 12:52 PM, Jon Hess wrote:
> Hey August -
>
> NIB loading leaves a retain of +1 on all top level NIB objects.
> That's what is keeping your object alive without GC. With GC, that
> retain is a no-op. In order to keep your object alive you'll need to
> do something like reference it from another live object, reference
> it from a global, or CFRetain/CFRelease it.
>
> Good Luck -
> Jon Hess
DATE : Sun Nov 11 19:17:01 2007
Thanks Jon, moving the object out of the Nib did the trick.
-- August
On Nov 11, 2007, at 12:52 PM, Jon Hess wrote:
> Hey August -
>
> NIB loading leaves a retain of +1 on all top level NIB objects.
> That's what is keeping your object alive without GC. With GC, that
> retain is a no-op. In order to keep your object alive you'll need to
> do something like reference it from another live object, reference
> it from a global, or CFRetain/CFRelease it.
>
> Good Luck -
> Jon Hess
| Related mails | Author | Date |
|---|---|---|
| August Trometer | Nov 11, 17:37 | |
| mmalc crawford | Nov 11, 18:44 | |
| Jon Hess | Nov 11, 18:52 | |
| August Trometer | Nov 11, 19:17 |






Cocoa mail archive

