> On 3 Dec 2014, at 1:09 pm, Kevin Bracey <ke...@ilike.co.nz> wrote:
> 
> When I go into Revert then are versions waiting to revert, when I choose one 
> it appears to Revert, but the currently opened Document stays the same.


Assuming that your overridden -readFromFileWrapper: (or one of its subordinate 
methods) is invoked when reverting, are you sure you're actually doing 
something that refreshes the view that displays the document content? You have 
to arrange this, either because you replaced or updated your data model during 
file open/revert and that has the side-effect of marking the relevant views as 
dirty, or because whatever you did, something marked the view as dirty.

--Graham



_______________________________________________

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