cocoa binding for the data maintained by the other thread.
cocoa binding for the data maintained by the other thread.
- Subject: cocoa binding for the data maintained by the other thread.
- From: Andrew <email@hidden>
- Date: Tue, 11 Nov 2008 22:15:15 +0800
Hi, I have read some documents about the Cocoa Bindings. And I got a
question here for more comments.
If I use the cocoa binding technology in my application, my
application must fully follow a Model-View-Controller paradigm. The views
display and edit that data, and controllers mediate between the two. So, if
the data is not edited through the view, just be maintained by background
threads, will the cocoa binding not effect?
I have an application, which will create another secondary thread
to search the network service, for example, the network printer, the thread
will add the printer list to my data filed, like a NSArray object. The there
is a table view in the UI which used to show the printer list.
In this case, it seems that the cocoa binding can not sync the
tableview and the NSArray, am I right?
Thanks
Xiaogang Li
_______________________________________________
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