On 15/03/2008, at 4:46 AM, [EMAIL PROTECTED] 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



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to