FROM : Michael Grützner
DATE : Tue Jan 22 22:19:35 2008
Hi,
I have bound a NSPopupButton to an NSArrayController which
manages entities with two attributes (firstName, lastName). The
entity also has one transient attribute (displayName) which simply
returns a NSString containing firstName and lastName.
The bindings are as follows:
content -> myArrayController.arrangedObjects
contentValues -> myArrayController.arrangedObjects.displayName
The problem is, that my application is blocking after loading. When I
deactivate the bindings, the app runs as usual, so i guess the bindings
have something to do with the blocking. I also bound the keys to a
table to ensure my entities are working correct - no problem here.
I'm a bit stuck here. Does anybody have an idea what could be wrong
here? Tanks in advance for your help.
Best regards,
Michael
DATE : Tue Jan 22 22:19:35 2008
Hi,
I have bound a NSPopupButton to an NSArrayController which
manages entities with two attributes (firstName, lastName). The
entity also has one transient attribute (displayName) which simply
returns a NSString containing firstName and lastName.
The bindings are as follows:
content -> myArrayController.arrangedObjects
contentValues -> myArrayController.arrangedObjects.displayName
The problem is, that my application is blocking after loading. When I
deactivate the bindings, the app runs as usual, so i guess the bindings
have something to do with the blocking. I also bound the keys to a
table to ensure my entities are working correct - no problem here.
I'm a bit stuck here. Does anybody have an idea what could be wrong
here? Tanks in advance for your help.
Best regards,
Michael
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

