unlock(_:)
Unlocks the document in response to the user choosing the Unlock menu item.
Declaration
@IBAction func unlock(_ sender: Any?)Parameters
- sender:
The control sending the message.
Discussion
This is the action of the Unlock menu item in a document-based app. This action method invokes the unlock(completionHandler:) method by default.