Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access keychain in a background thread #9

Merged
merged 2 commits into from
Nov 14, 2024
Merged

Conversation

Itaybre
Copy link
Contributor

@Itaybre Itaybre commented Nov 13, 2024

No description provided.

@@ -53,11 +62,13 @@ enum KeychainHelper {

let status = SecItemAdd(attributes, nil)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Itaybre shouldn't this be changed as well? Or should this function not have a completion block?

@@ -71,8 +82,10 @@ enum KeychainHelper {

let status = SecItemUpdate(query, attributes)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, shouldn't this be changed or if it's going to stay synchronous we can remove the completion block

@Itaybre Itaybre merged commit eb27a10 into main Nov 14, 2024
2 checks passed
@Itaybre Itaybre deleted the feature/background_thread branch November 14, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants