cosejo / 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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift 5 License Platform PRs Welcome

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

Collection Details

iPad

Collection Details

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

  1. Download the project as a zip
  2. Go to iAlbum folder
  3. Open iAlbum.xcodeproj file

Testing

  1. Go to Test navigator
  2. 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

https://github.com/cosejo

About

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.

License:MIT License


Languages

Language:Swift 100.0%