> Well, in this case I certainly think it would be better to bind the object 
> controller to File's Owner.camera.  Really, I wasn't so much getting at 
> anything in particular, I just find it odd for an object controller to have a 
> window controller as its content.  I also find it odd to bind to File's 
> Owner.self.  I can't say for sure that either is the source of the problem, 
> but they strike me as suspicious.

Hmm, certainly the problem seems to have gone away if I bind to File's 
Owner.camera. Interesting. I guess I should take that as a sign that I am 
expected to separate my model and controllers properly!

> If your data model is within the window controller and you want a means to 
> use -commitEditing, then you should probably make the window controller 
> conform to NSEditor and NSEditorRegistration, just as NSController (and thus 
> NSObjectController) does.
I'll have a look at that, thanks._______________________________________________

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