Skip to content

Instantly share code, notes, and snippets.

@kam800
Created September 22, 2017 12:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kam800/7d58453fa3f6de9d82191b2a6d1695a8 to your computer and use it in GitHub Desktop.
Save kam800/7d58453fa3f6de9d82191b2a6d1695a8 to your computer and use it in GitHub Desktop.
var results = new(id)
var query = @{ kSecReturnAttributes : kCFBooleanTrue,
kSecMatchLimit: kSecMatchLimitAll,
kSecClass: kSecClassGenericPassword,
kSecReturnData: kCFBooleanTrue }
SecItemCopyMatching(query, results)
var r = *results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment