Skip to content

Instantly share code, notes, and snippets.

@quellish
Created June 28, 2018 07:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quellish/be6532a92ec517e65a231107cee05af1 to your computer and use it in GitHub Desktop.
Save quellish/be6532a92ec517e65a231107cee05af1 to your computer and use it in GitHub Desktop.
Friends Specs

Friends

See your friends!

Data

The application should load the friends list from: http://www.radfaces.com/public/radfaces.json This JSON data has the following format:

[{
"first_name": "Pete",
"last_name": "Wrigley",
"image": "http://www.radfaces.com/images/avatars/little-pete-wrigley.jpg",
"location": "Wellsville, NY"
},...
]

Friends Screen

The friends screen is shown immediately when the application is launched. The friends screen should display a scrollable list of friends. Each cell should show the friend first name and photo. Each photo should be a circle. When a row is tapped the application should transition to the friend detail screen. When the list is pulled ("pull to refresh") it should update.

Friend Detail Screen

The friend detail screen should show the friend photo and name. The friend photo should be a circle centered horizontally in the screen. The friend first name and last name should be displayed under the photo. The friend detail screen should have a way to go back to the Friends Screen.

Attribution Requirements

If you use or read code from Stack Overflow, Github, blog posts, or other sources on the internet (including Apple documentation) you must include comments that indicate the source.

  • StackOverflow sources must include a link to the question AS WELL AS the relevant answer
  • Blog post sources, tutorials, documentation, and other sources on the internet should include links.

We do not care wether you wrote this yourself or copy and pasted as long as the source attribution is there.

CocoaPods, Git submodules, etc.

It is fine to use CocoaPods, Carthage, Swift Package Manager, etc. as long as a README file is included with the project that correctly documents how to build the project.

Deliverables

Xcode project, source code, README file and documentation. Source code must have comments with attributions as noted above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment