Alexander Bokovikov wrote:

Also I was sure that BAD_ACCESS exception should occur if not initialized outlet is used to send a message to.

An uninitialized outlet is always nil. It is always legal to send messages to nil, although some returned values may be undefined. Re- read the basic docs on messaging, if necessary.

It may be illegal to perform other operations with nil, so don't make the opposite mistake of thinking that just because sending a message to nil is legal, so is everything else.

  -- GG

_______________________________________________

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

Reply via email to