Retrieving user & object information asynchronously from our server

4 views
Skip to first unread message

Vic

unread,
Jan 8, 2011, 11:52:25 AM1/8/11
to Skyhook Local Faves
The accountDetailForAccountId delegate call expects a dictionary with
username and image. When I receive this call, my app has to go to the
server and asynchronously retrive this information. Is it possible to
send default to values to the accountDetailForAccountId call and later
issue a refresh/reload when I received the information back from the
server?

The same question goes for objectDetailForKey call also.

George

unread,
Jan 11, 2011, 11:21:15 AM1/11/11
to skyhook-l...@googlegroups.com
Hi Vic,

Yes, you can respond with default values until your information is ready. Once you have what you need call "didUpdateAccountForAccountId" or "updateObjectForKey". This will cause your delegate callbacks to be called again and retrieve the latest information.
Reply all
Reply to author
Forward
0 new messages