Re: Correct Bindings Practices

2010-01-22 Thread Jerry Krinock
On 2010 Jan 21, at 04:02, Quincey Morris wrote: > The other issue that needs care in regard to both your questions is undo. > When setters do a lot of work, you need to be careful about what happens at > undo or redo time. Quincey gives good advice here as usual. In particular, the undo invoc

Re: Correct Bindings Practices

2010-01-21 Thread Quincey Morris
On Jan 20, 2010, at 19:51, Chase Meadors wrote: > I have a couple of questions about the practices I'm using for bindings in my > app. > > 1. Doing work in the setter: > > Something I do alot when making models & custom views. For example, I might > have a layer subclass that exposes a binding

Correct Bindings Practices

2010-01-20 Thread Chase Meadors
I have a couple of questions about the practices I'm using for bindings in my app. 1. Doing work in the setter: Something I do alot when making models & custom views. For example, I might have a layer subclass that exposes a binding called "concentration." I @synthesize the property, but I