-revertDocumentToSaved: in IB
-revertDocumentToSaved: in IB
- Subject: -revertDocumentToSaved: in IB
- From: Ulf Dunkel <email@hidden>
- Date: Fri, 03 Jul 2015 10:29:26 +0200
- Organization: invers Software & DSd.net
Dear all.
I wonder what happened to NSDocument's -revertDocumentToSaved: method.
Although my app imports the AppKit.framework, I cannot assign a manually
added "Revert To" menu item to this method in FirstResponder (or to any
other Placeholder). It isn't listed there.
If I instead create a new File menu section for my MainMenu.xib from the
Xcode Object library, the relevant "Revert To" entry is already linked
to the desired action. If I then right-click on FirstResponder to see
the list of available actions, revertDocumentToSaved: is listed and
linked to my menu item, but it shows a yellow warning triangle which
informs me: "The action 'revertDocumentToSaved:' is not defined."
But using this menu item works fine.
What am I doing wrong?
---UlfDunkel (Mac OS X 10.10.4, Xcode 6.4, app deployment OS X 10.7)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden