Two suggestions:

1) Do not bind to a file's owner. Bindings retain what they bind to, and you'll have a retain circle.

2) Use another method to load the NIB, one that gives you an array of all top level objects. My UKNibOwner class does this, for example:

Attachment: UKNibOwner.h
Description: Binary data

Attachment: UKNibOwner.m
Description: Binary data



Haven't had a Leopard-only project that uses NSViewController yet, but supposedly that works similarly.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de





_______________________________________________

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