Bump ... - - - - -
Am 03.07.2015 um 10:29 schrieb Ulf Dunkel: > 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 protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
