Re: cocoa binding for the data maintained by the other thread.
Re: cocoa binding for the data maintained by the other thread.
- Subject: Re: cocoa binding for the data maintained by the other thread.
- From: Steven Riggs <email@hidden>
- Date: Tue, 11 Nov 2008 09:18:45 -0500
Sure it will but use an array controller to link up the array with the
table view.
Steven Riggs
On Nov 11, 2008, at 9:15 AM, Andrew wrote:
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
_______________________________________________
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