Define doesn't work - if you mean observeValue:forKeyPath:... doesn't get
called,
Indeed that's what I meant.
it's because that's a different relationship from bindings.
Just assumptions (I know) but I would think the default implementation
does something similar to the code shown in the
Before I was following the docs and wrote the bindings clue code myself
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaBindings/Concepts/HowDoBindingsWork.html#//apple_ref/doc/uid/20002373
- (void)bind:(NSString *)binding toObject:(id)theObservedObject
Define doesn't work - if you mean observeValue:forKeyPath:... doesn't get
called, it's because that's a different relationship from bindings. With
bindings, a change in one value causes a change in another. With observers, a
change in one value causes a call to the observeValue method.
On
On Sep 20, 2011, at 02:13 , Torsten Curdt wrote:
Before I was following the docs and wrote the bindings clue code myself
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaBindings/Concepts/HowDoBindingsWork.html#//apple_ref/doc/uid/20002373
-
Hi,
I'm running into a binding issue is my main application so I wrote a small
test app to try to track down the problem: primarily that I cannot get the
UI to update appropriately when it is configured to observe my model objects
via bindings.
// AppDelegate.h
@class ModelObject;
@interface
On Apr 28, 2009, at 06:04, Simon Raisin wrote:
I'm running into a binding issue is my main application so I wrote a
small
test app to try to track down the problem: primarily that I cannot
get the
UI to update appropriately when it is configured to observe my model
objects
via bindings.
I've been using Jonathan Dann's excellent Core Data Sorted sample code
to create an outline view consisting of two concrete entities --
Categories and Types (each parent Category can have an unlimited
number of children types). The only real adjustment I've made to his
code is to put the
On Nov 14, 2008, at 12:06, Brad Gibbs wrote:
I've been using Jonathan Dann's excellent Core Data Sorted sample
code to create an outline view consisting of two concrete entities
-- Categories and Types (each parent Category can have an unlimited
number of children types). The only real
up in the typesPUB.
Re: Core Data, Filtering by PopUps Bindings Confusion
FROM : Quincey Morris
DATE : Fri Nov 14 22:31:26 2008
On Nov 14, 2008, at 12:06, Brad Gibbs wrote:
I've been using Jonathan Dann's excellent Core Data Sorted sample
code to create an outline view consisting of two
On Nov 14, 2008, at 15:21, Brad Gibbs wrote:
My categories Popup Button (categoriesPUB) is bound to the
categories array controller as follows:
Content.arrangedObjects
ContentValues.arrangedObjects.displayName
I've tried a variety of bindings for the popup button's
selectedObject binding,
Hi Brad,
I couldn't grasp from a quick skim of your post whether types are
related to categories in your model, ie. category -- type.
If so,
I'd say keep trying to do it with bindings -- it will work.
If not, I had a similar scenario where I ended up creating a custom
NSArrayController, to
11 matches
Mail list logo