- Splash Screen
- finds geo location & accuracy of device with Core Location
- sends GET request with device id & geo location
- Updates user's location
- Responds with JSON array including for each group:
- 20 nearest users and users who've sent new messages
- Launcher View
- Creates group, user, and message objects from the JSON response
- Sums up new-messages and displays a count for each group
- Thumbnail View
- For each user in current group:
- displays thumbnails of users returned for the current group
- if thumbnail hash doesn't exist locally:
- requests new thumbnails from server
- else, loads from Core Data
- if thumbnail hash doesn't exist locally:
- displays name, message-count, active_chat?, favorite?, online?
- displays thumbnails of users returned for the current group
- Returns thumbnails requested by client
- Photo View
- Displays current user data
- Requests user photo from server if photo hash doesn't match
- Returns photos requested by client