Home  »  Swift Source  »  Swift Photo Gallery

Swift Photo Gallery

Posted on 14 Sep 2015

Swift Photo Gallery

Photo gallery demo application build using Swift 2, Xcode 7, and iOS 9.

Swift based photo gallery demo application that will fetch json data from remote server and parse it using SwiftyJSON libray. Once parsing done, it will load thumb images asynchronously from remote location. Whenever user click thumb image it will also fetch large image asynchronously from remote location. You can use this application as a base for any Photo Gallery project and expand it. You can use it free for either personal or commercial use.

It consist functionality below:
– Fetch json data file asynchronously.
– Parsing json data using SwiftyJSON library.
– Fetch thumb image asynchronously.
– When clicked thumb, it will fetch large image anynchronously.
– User can scroll to see large image one by one.

Technology used
– Collection view controller UICollectionView.
– Collection view Custom cell UICollectionViewCell.
– SwiftyJSON library for json data parsing.
– Loading json file asynchrnously using NSURLSession.
– Loading image file asynchrnously using NSURLSession.
– Simple and Clean interface.
– Build with Xcode storyboard.
– Adaptive layout for major screen size support.
– Build with Swift 2, Xcode 7, iOS 9, and SwifyJSON.

Platform:
– Swift 2
– Xcode 7
– iOS 9
– SwiftyJSON (for json data parsing)

Supported Device:
iPhone 4s, 5, 5s, 5c, 6, 6 Plus, 6s, 6s Plus, all iPad having iOS 9

Please refer my GitHub Repository fro this project for more details. You can also download source form there.

Go to Top