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 <sstan...@myriad-com.com.au>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to