Chuck,

By "bindings", do you mean "Cocoa Bindings" or a standard IBOutlet?

If you mean "Cocoa Bindings" using the Bindings Inspector, then your control 
will only be accessible from code if you have made a standard outlet connection 
with it. Different types of connections (outlets, actions, bindings, etc) are 
separate entities. Having one does not mean the others are present. But it is 
certainly common to have multiple types of connections active for a given 
object (outlet to a button, action from the button, and binding the button's 
enabled property, for example).

Kevin

On 5 Apr 2010, at 11:53, Charles Burnstagger wrote:

> Why, after I have connected a control in my nib. window using bindings can I 
> no longer access it from code?
> 
> After connecting a checkbox control using bindings, when my window controller 
> loads, that control's ivar shows up as nil.
> 
> Thanks,
> 
> Chuck
> 
> 
> 
> 
> _______________________________________________
> 
> 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/cathey%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