FROM : Rob Keniger
DATE : Sat Mar 15 03:48:16 2008
On 15/03/2008, at 4:46 AM, <email_removed> wrote:
> It seems to me that you should be able to follow the QuickStart for
> building an InterfaceBuilder plug-in to create your custom NSView:
There's a trap for young players in the docs: watch out if you are
creating a GC-only app. Classes instantiated via IB3 plugins MUST be
compliant with the traditional retain/release mechanism, you can't
create a plugin for a class that relies on Garbage Collection.
I personally find this limitation very frustrating as any code that is
linked to the class must also be written to take into account non-GC
memory management. If you are writing a Garbage-collected app this is
a right pain in the backside.
--
Rob Keniger
DATE : Sat Mar 15 03:48:16 2008
On 15/03/2008, at 4:46 AM, <email_removed> wrote:
> It seems to me that you should be able to follow the QuickStart for
> building an InterfaceBuilder plug-in to create your custom NSView:
There's a trap for young players in the docs: watch out if you are
creating a GC-only app. Classes instantiated via IB3 plugins MUST be
compliant with the traditional retain/release mechanism, you can't
create a plugin for a class that relies on Garbage Collection.
I personally find this limitation very frustrating as any code that is
linked to the class must also be written to take into account non-GC
memory management. If you are writing a Garbage-collected app this is
a right pain in the backside.
--
Rob Keniger
| Related mails | Author | Date |
|---|---|---|
| Michael Fey | Mar 14, 19:33 | |
| Jacob Lukas | Mar 14, 19:43 | |
| varun | Mar 14, 19:46 | |
| Jeff LaMarche | Mar 14, 19:51 | |
| Ricky Sharp | Mar 14, 21:16 | |
| Rob Keniger | Mar 15, 03:48 | |
| Sean McBride | Mar 17, 21:54 | |
| Michael Fey | Mar 19, 00:44 |






Cocoa mail archive

