[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mmalc's Controller examples: Bindings with graphics



Bindings with graphics

<http://homepage.mac.com/mmalc/CocoaExamples/GraphicsBindings.zip>

This example illustrates the use of bindings with views in two contexts:

* A display view that displays a collection of graphics objects, and 
supports selection.

* A control view that allows the user to adjust a graphic object's 
shadow angle and offset. It illustrates use of selection markers, and 
supports multiple selection but has a binding option to disable 
support.


This is a *big* demo, not for the faint of heart, but I hope it gives a 
much more real-world example than the others.  It has a fair amount of 
detail, and whilst simplified in many respects should show how it can 
be generalised.

<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>

mmalc