On Jul 25, 2009, at 6:21 PM, Andy Lee wrote:
On Jul 25, 2009, at 5:55 PM, Gevik wrote:
I was wondering if it is possible to connect more than one delegate from the Window in IB.

No, but you could make an object that forwards delegate messages to multiple other objects, and have that be the window delegate.

You could probably implement this quickly with an NSProxy, for example. But note that some window delegate methods have return values. You'd have to decide what your proxy object should return. If all you want is notifications, then Stephen's suggestion makes sense.

--Andy


_______________________________________________

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]

Reply via email to