NSTableView and DataSource problem
NSTableView and DataSource problem
- Subject: NSTableView and DataSource problem
- From: "Valentin Dan" <email@hidden>
- Date: Fri, 6 Feb 2009 10:10:38 -0500
- Thread-topic: NSTableView and DataSource problem
Hi,
I'm having difficulties changing the data in the data source for the
table view.
The table view keeps updating like crazy and sometimes it crashes my
app; or at least I think that's what crashes it.
Anyway, what's the proper method for updating the data for the list ? I
need to change all the data.
Currently I'm setting the tableView's data source to "nil", I'm
releasing the old dataSource, creating a new one (with the new items)
then setting a the table's dataSource to the new one... is that close ?
:-)
Thanks!
_______________________________________________________________________
Valentin Dan, Software Engineer Direct: +1 905 886 1833
ext.3047
Email: email@hidden Office: +40 356-710158
Masstech Group Inc. Fax: +40 256-220912
http://www.masstechgroup.com <http://www.masstechgroup.com/>
THIS MESSAGE IS INTENDED ONLY FOR THE ADDRESSEE. IT MAY CONTAIN
PRIVILEGED OR CONFIDENTIAL INFORMATION.ANY UNAUTHORIZED DISCLOSURE IS
STRICTLY PROHIBITED.IF YOU HAVE RECEIVED THIS MESSAGE IN ERROR, PLEASE
NOTIFY US IMMEDIATELY SO THAT WE MAY CORRECT THE RECORDS. PLEASE THEN
DELETE THE ORIGINAL MESSAGE. THANK YOU.
_______________________________________________
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