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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.