iAlbum
iAlbum is a Universal iOS (iPad & iPhone) application that shows photos in a collection view. Also, open a detailed screen with a smaller picture when you select a photo from the collection. The app connects to Jsonplaceholder to retrieve the photo information.
Screenshots
iPhone
iPad
Technical Details
As this is a showcase project, it does not have any dependencies or third parties. This means all features such as network requests, image downloading, and refresh collection use only Swift Native frameworks.
This app uses MVP as an architectural pattern and has Unit testing for all the presenters in the project and the network manager. The code coverage is at least 97% in the non-UI files.
Features
- Show Photos Collection
- Load image from URL
- Infinite scroll
- Pull to refresh
- Show Photo Detail
Requirements
- iOS 14.0+
- Xcode 12.5.1
- Swift 5
Installation
Github
#Clone the project
git clone https://github.com/cosejo/iAlbum.git
#Look for the root folder
cd iAlbum/iAlbum
#open the Xcode project
open iAlbum.xcodeproj
Manual
- Download the project as a zip
- Go to iAlbum folder
- Open iAlbum.xcodeproj file
Testing
- Go to Test navigator
- Run the iAlbumTest
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Distributed under the MIT license. See MIT for more information.
Meta
Carlos Osejo – caosejo@gmail.com