Hi Mikael

> Joanna: do you mean that by applying Jerry's method, we put parts of the
> Controller's duty into the View?

Essentially, yes. The primary design idea behind MVC is that there should be 
absolutely no business logic in the View; the View should provide a means of 
interacting with the Controller and reflect the state of the Controller, 
nothing more.

To that end, it is a relatively simple matter to add a boolean property to the 
controller class, then the IB designer will be able to see that property and 
you can connect an enabling button and the edits to that property.

Joanna

--
Joanna Carter
Carter Consulting

_______________________________________________

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