On 24/07/2009, at 1:52 AM, Alexander Bokovikov wrote:
Also I was sure that BAD_ACCESS exception should occur if not
initialized outlet is used to send a message to.
Definitely not.
Uninitialized outlets are set to nil, and messages to nil are legal -
they simply swallow the messages. On t e whole this is much safer than
crashing but can lead to the odd bug where nothing happens and you
don't immediately know why.
--Graham
_______________________________________________
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 arch...@mail-archive.com