On Nov 29, 2009, at 3:31 PM, David Hirsch wrote: > So: is there some tricky way to have the "add new course" button tell the > courseController to add a new Course, but somehow call a custom init (like > init:withDocument:) and supply some reference to the current document? I > doubt it, but it seems worth asking.
If courseController subclasses NSArrayController, then I think if you override -newObject, you can have it call whatever initializer you want. -- Dave Carrigan [email protected] Seattle, WA, USA _______________________________________________ Cocoa-dev mailing list ([email protected]) 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]
