On Mar 8, 2008, at 8:27 AM, Quincey Morris wrote:


On Mar 8, 2008, at 06:54, Trygve Inda wrote:

IB3 has added an NSApplication object. How does this work... It seems if my AppController is still the delegate of the File's Owner that the specific instance of NSApplication is not needed.... Since it is created at run time
anyway.

It's a placeholder, not an object in the nib file, just like File's Owner and First Responder.

In a main menu nib, Application and File's Owner will be placeholders for the same object. Interestingly, IB doesn't seem to be smart enough to realize that they must be the same object, so setting the outlets of one doesn't affect the other within IB. The IB documentation is silent on who wins at runtime in this situation.

As long as you don't have conflicting connections, you'll get the merger of all of the connections. The only type of connection that would conflict would be an outlet connection for the same outlet connected once for each proxy. If you make outlet connections for the same outlet from both proxies, then the winner probably won't be deterministic.

Jon Hess




_______________________________________________

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/jhess%40apple.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

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