Crash in datasource method when closing document
Crash in datasource method when closing document
- Subject: Crash in datasource method when closing document
- From: Shane Stanley <email@hidden>
- Date: Thu, 10 Oct 2013 16:06:18 +1100
I have a document-based app, and it saves as a package. The document's window contains an outline view, where the user can drag items from the Finder or create new folders, and these will be saved to the package. I'm creating file wrappers of the items, stored in a property of the document. That's all working OK.
The problem I'm having is that if I open a file, then add an item, say a folder, then click the close button and choose Revert Changes, I (nearly always) get an exception thrown on the outline view's datasource method -outlineView:objectValueForTableColumn:byItem:. It doesn't happen if the outline view is hidden. I'm using ARC.
Any thoughts on where to start?
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
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