Re: two way bindings?
Re: two way bindings?
- Subject: Re: two way bindings?
- From: Daniel Oberhoff <email@hidden>
- Date: Sat, 12 Jan 2008 03:01:08 +0100
Ok, that helped a bit. Now I just record all the bindings and manually
notify them of my changes. Still beats me why this is neccessary. And
actually in a simpler example it works, i.e. the willChange... and
didChange... push the changes through the bindings, just not in my
view. Well, I probably messed up somewhere down the line. These
automatic things are sooo fragile. Well, anhow, thanks for that piece
of inspiring code.
Best
Daniel
Am 11.01.2008 um 00:04 schrieb mmalc crawford:
On Jan 10, 2008, at 2:53 PM, Daniel Oberhoff wrote:
I have a custom audio sample view with a selection and a cursor. I
bind these to keys in the selected object of an array controller. A
table view is also connected to this array controller displaying
all the entries. Now when I add entries to the table they get
commited to the array controller and also the audio view updates
when I change the values, but when I change the selection or the
cursor in the view with the mouse, this does not get commited to
the currently selected row in the table as it should.
Are you updating the selection in the array controller?
See GraphicsBindings at <http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
> for an example that works.
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden