objective c - iPhone Mobile Application and Polling / Web Service -
i'm working iphone developer on application. know little iphone. i'm writing server-side code in grails. i'm wondering available me far approaches using restful json service occasional poll of service.
from iphone: there way put these calls on background thread? when data comes there callback mechanism? looking basic information on how accomplish on iphone / objective-c.
yes, typically either provide delegate notified when asynchronous request has kind of event (e.g. more data comes in, request fails, etc.), spawn background thread performs synchronous requests, or pass success/failure blocks asynchronous request executes them when appropriate.
but if working iphone developer, shouldn't dealing this, not you?
Comments
Post a Comment