NSTableView update issue
NSTableView update issue
- Subject: NSTableView update issue
- From: Peter Hudson <email@hidden>
- Date: Sat, 26 Sep 2015 11:13:46 +0100
I have an NSTableView in my app which has started to behave differently on 10.10.
I periodically change the datasource and delegate to the table view ( which is on screen )
This has worked perfectly up until recently.
After having changed the datasource/delegate to the table view, I confirm that the table view is aware of the change - by use of delegate and dataSource methods. The result from this indicates that the table view has had its datasource and delegate updated as I intended.
I then reloadData and display the table view. Results are as expected.
A short period after, the app will crash. Zombies tells me that the table view is accessing the previously set datasource for data - not the one that I have just installed ( and confirmed as being the data source ).
Any suggestions gratefully recieved.
Peter
_______________________________________________
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