Skip to content

turk-jk/SocialPhotograph

Repository files navigation

## Challenge statement
Cochlear Take Home Test
Imagine you are briefed with writing an app for a social photography startup. They maintain a list of scenic photo locations around Sydney. Their users would like to see all these default locations, plus be able to add their own locations, as well as add notes about each location.
The app needs to import these default locations from a JSON file that you are provided with. User- added locations only need to be persisted locally. A user should be able to see all locations on a map, as well as in a list. A user should be able to input and edit notes as text for any location. You will need to make assumptions about how users will interact with the app. Please write down all your assumptions clearly.
It's expected that this task will take candidates around 2-4 hours to complete. Product requirements
• Provide a map screen (using any map SDK of your choosing)
• Allow custom locations to be added from the map screen
o The user should be able to provide names for these locations
• Show pins for both default and custom locations on the map
• Provide a screen listing all locations, sorted by distance
• When locations are selected on either the map or list screen, show a detail screen
• In the detail screen, allow the user to enter notes about the location
• All information entered by the user must be persisted between app launches
Technical requirements
• Locations JSON file: https://apps.cochlear.limited/tht/locations.json
• Third-party libraries are allowed, except when they solve the whole problem
• The app must include unit tests
Returning your code
Code can either be shared with us through a private git repo (e.g. GitHub) or sent to us directly. If
sending directly, ensure all git files such as the .git directory are included. Do not put your code in a public git repo.




Assumptions & decisions:-
- SwiftUI for UI with MVVM arc.
- Use CoreData to persist data
- iOS 16.0 is minimum.
- User can modify and delete default locations

About

Cochlear Take Home Test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages