I wonder if someone can just point me in the correct direction. I am at the stage of not really knowing if the error is simply a missed connection, etc or a fundamental misunderstanding.

I have a checkbox, which I wish to bind to an iVar in my model ( which is a windowController).

What I am doing right now is creating an NSButton object in the model, and "assuming" .....probably incorrectly, that by having the correct getters/setters available ( eg state/setState etc) I can bind the view's checkbox title, alternateTitle, status to the NSButton in the model. That is not working for me. ("Cannot create BOOL from object <NSButton: 0x19f6c0> of class NSButton").

Is this my error, or do I need to create an iVar for each of the button elements I wish to bind to?

I have checked the archives, but could not find exactly what I was looking for....but that might be my error in not using the correct key words.


( I will gladly show code, but I suspect the issue is beyond that).

Thanks in advance.
_______________________________________________

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