Declaration

Parameters

path

The path to the folder where the keychain is created. Specify nil for ~/Library/Keychains.

name

The keychain name to be automatically displayed in the Save As field of the panel.

Discussion

This method returns a result code from the runModalForDirectory:file: method of the NSSavePanel class: NSFileHandlingPanelOKButton if the user clicks the OK button or NSFileHandlingPanelCancelButton if the user clicks the Cancel button.