>> So far I have never had to set an outlet itself in code myself. Do >> people really do this? > > It's not common, but the point remains, outlets are not at all immutable.
AFAIK AppKit only writes to the outlets once. You may only access outlets only after a documented safe point. If one assumes that AppKit does not need synchronized access to the outlets during NIB loading the need for synchronization would depend entirely on how we as developers use the outlets. So whether they are technically immutable or not does not even matter. The question is whether synchronization is needed or not. Of course if would be nicer if outlets would be declared as read-only and only the NIB loading had write access somehow - but I guess that's not in the cards. Anyway. But I am curious - can you provide an example where you modified an outlet? cheers, Torsten _______________________________________________ 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]
