iSql Synchronous Query Execution
Hello...
Is it possible to execute the queries synchronously? the nature of my application requires some of the queries to happen like that.
2 comments
-
Adminmobile[foo]
(MobileFoo, MobileFoo)
commented
Hi,
The API is asynchronous, but you could build a synchronous implementation on top - probably most easily by waiting on some appropriate semaphore until the sqlQuery:didFinishExecuting method is called, then continuing.
Obviously doing such synchronous queries on the UI thread would not be a good idea!
Thanks,
Rob
mobile[foo] -
jSparks
commented
I've also been asked to inquire about this by a fellow, and much more experienced, programmer than myself. I'm building an app using the iSQL SDK now, and so far we've been able to work with its asynchronous nature, but are wondering about future implementations.