Using one of the two hypothetical scenarios below, please write a simple GitHub Direct Messaging app.
- Please select A or B as the scenario in which you will build your app.
- Please write which scenario you selected in your README.md file, as well as a brief summary regarding how you based your app around it.
- Your choice of scenario A or B itself has no impact on your evaluation.
A junior iOS engineer has joined your team. To coach this engineer, you're going to demonstrate implementing a sample app. The structure of the app should be as simple as possible.
You are tech-lead of an iOS team with 5 members, who is planning on developing a new iOS app. It will be a long term project, with both development and maintenance being handled within the team. Before starting development with your team members, you are going to design the app and as the tech lead, implement the main fundamental functionalities.
- Show a list of users retrieved from any publicly available GitHub user account on the initial screen.
- Make sure to show each user's GitHub handle (i.e., their account name with the '@' prefix) and their profile image on this screen.
- Use the GET users endpoint to retrieve the list of users.
- This API can be accessed without authentication, but it also requires error handling since it has rate limit
- Tapping any of these followers will transition to a direct messaging (DM) screen.
- The user can virtually send/receive messages to/from the follower on the message screen.
- Please do NOT actually call the GitHub API at this point.
- Implement a dummy post and response.
- The follower echoes a message sent by the user after a second.
- The follower’s echo text repeats the user’s message twice, e.g. echo “Hi. Hi.” for message “Hi.”
- Please refer to “Minimum Specifications for Screens” for UI specifications.
If you wish, you may consider incorporating these extra features. They are not required, but any additional features will be considered in your evaluation.
- Improving the UI to look more native in line with the latest version of iOS.
- Persisting message history between app launches.
- Anything else you would like to add.
- Xcode: Please use the latest version of Xcode that is available on the Mac App Store.
- Language: Swift or Objective-C
- While we prefer Swift, please write in the language in which you are most comfortable. If you write in Objective-C, we may ask you about your Swift ability in a follow-up interview.
- The language version must be the latest one supported by the version of Xcode you are using.
- Deployment Target: The latest iOS version
- Please do NOT use external libraries/frameworks
- Use only the system iOS/Cocoa Touch frameworks.
- Use the attached
left_bubble.png
andright_bubble.png
assets as the background images for your GitHub DM messages UI.
- Please configure your project/workspace to be able to run the app simply by choosing Product > Run in Xcode.
- Please commit the directory containing your app project and your README.md file to master branch.
resources
├── left_bubble.png
├── [email protected]
├── [email protected]
├── right_bubble.png
├── [email protected]
└── [email protected]
0 directories, 6 files