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

added some helper functions to do asynchronous SOQL and SOSL queries. #3

Merged
merged 8 commits into from
Nov 24, 2011
Merged

Conversation

jhersh
Copy link
Contributor

@jhersh jhersh commented Nov 22, 2011

Does the work on a background thread via dispatch_async. I am not particularly crazy about having to pass in the current shared zkSforceClient object, but it seemed the simplest option short of constructing scaffolding (a singleton?) for managing a shared client app-wide. Open to better suggestions!

@superfell
Copy link
Owner

As it has no state, you could make it a category on ZKSforceClient, that way you don't need to pass one in, and you can call the new methods directly on an instance of the client object.

@jhersh
Copy link
Contributor Author

jhersh commented Nov 22, 2011

I like. Added them directly to zkSforceClient, or would you prefer a category?

@superfell
Copy link
Owner

I think a category would be cleaner.

@superfell
Copy link
Owner

Sorry for all the back and forth, can you fix the header comment/license to be BSD, and collapse this down into a single change ? Thanks!

@superfell
Copy link
Owner

doh, sorry, see you already fixed the headers.

superfell added a commit that referenced this pull request Nov 24, 2011
added some helper functions to do asynchronous SOQL and SOSL queries.
@superfell superfell merged commit a651544 into superfell:master Nov 24, 2011
@jhersh
Copy link
Contributor Author

jhersh commented Nov 28, 2011

Whoops, just finished the squash/rebase and I see now you already did the pull. Thanks! Happy to have contributed to something that helped me out a great deal :)

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