Skip navigation.
 
mlRe: Creating Custom Views in Interface Builder
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

Related mailsAuthorDate
mlCreating Custom Views in Interface Builder Michael Fey Mar 14, 19:33
mlRe: Creating Custom Views in Interface Builder Jacob Lukas Mar 14, 19:43
mlRe: Creating Custom Views in Interface Builder varun Mar 14, 19:46
mlRe: Creating Custom Views in Interface Builder Jeff LaMarche Mar 14, 19:51
mlRe: Creating Custom Views in Interface Builder Ricky Sharp Mar 14, 21:16
mlRe: Creating Custom Views in Interface Builder Rob Keniger Mar 15, 03:48
mlRe: Creating Custom Views in Interface Builder Sean McBride Mar 17, 21:54
mlRe: Creating Custom Views in Interface Builder Michael Fey Mar 19, 00:44