Flickr Search is a simple application for searching for tags on Flickr.
- Minimum iOS:
16.4
- Target SDK:
16.4
- Device Types Supported: iPhone
- Screen Sizes Supported: iPhone SE to iPhone 14 Pro Max
- Orientations Supported: Portrait, Landscape
- Minimum Xcode:
14.3
-
Clone the repository:
$ git clone https://github.com/nathan-livefront/FlickrSearch.git
- Open the project in Xcode 14.3+.
- Run the app in the Simulator with the
FlickrSearch
target.
-
In Xcode's toolbar, select the
FlickrSearch
target and a Simulator destination.- The
Generic iOS Device
destination used for builds will not work for testing.
- The
-
In Xcode's menu bar, select
Product > Test
.- Test results appear in the Debug Area, which can be accessed from
View > Debug Area > Show Debug Area
if not already visible. - Test coverage information also appear in the Debug Area, listed within the test results as
Coverage
.
- Test results appear in the Debug Area, which can be accessed from
If I had more time to work on this project, I would like to add:
- More unit tests, to bring the total test coverage of the project above 90%.
- Snapshot tests, using the SnapshotTesting framework.
- Fully document all the objects used with networking, e.g.
HTTPRequest
,HTTPResponse
,Response
. - Better support for the
Increased Contrast
accessibility setting, especially for the titles displayed in theSearchView
. - Animated transitions to and from the
DetailView
. - A share button in the
DetailView
for sharing a link to the image being viewed. - A button in the
DetailView
to open the image on the Flickr website. - More debug logging.
- The networking logic would benefit from more robust logging, as would
ViewModel
.
- The networking logic would benefit from more robust logging, as would