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

Consolidate dictionary generation code in one place for KeyChain access #80

Open
insha opened this issue Jun 22, 2015 · 1 comment
Open

Comments

@insha
Copy link

insha commented Jun 22, 2015

Something along the lines:

static NSMutableDictionary* NSMutableDictionary createQuery(id class, id service, id account) {
    ...
}

Providing we cover all the parameters for all the methods, such as kSecReturnData, kSecReturnAttributes, kSecMatchLimit, kSecAttrAccessGroup and not constrain the query.

@ghost
Copy link

ghost commented Jun 22, 2015

I'm concerned that setting nil as a query parameter via a class method to create the query, may actually constrain the query, which is what I'm trying to avoid. Will need testing or advice - @YuanZhu-apple ?

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

No branches or pull requests

1 participant