Contents

setPassword(_:)

Specifies the password for the keychain that will be created.

Declaration

func setPassword(_ password: String!)

Parameters

  • password:

    The password to be used for the new keychain.

Discussion

This method is optional. If you don’t call this method, the keychain save panel displays a password-entry dialog.

See Also

Displaying a Sheet or Panel