Skip to content

500px Challenge for Mobile Developer Intern (Summer: May to Sep)

License

Notifications You must be signed in to change notification settings

heilb1314/500px_Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

500px_Challenge

500px Challenge for Mobile Developer Intern (Summer: May to Sep)

I use the 500px Restful API along with Alamofire for Photo Request.

CollectionView scroll vertically in Portrait and horizontally in Landscape. Photo grid mapping using three columns as default. Photo can be expand into two columns under certain rules. Photo grid preseves the image size ratio with minor correction ( ~ 40px ). The purpose of minor image size correction is to increase the probability of collapse columns and fix narrow image sizes. You can change the photo expansion probability by changing doubleCellProbability in PhotoWallLayout.

Clicking the photo thumbnail will allow you to see the large image with some photo detail in fullscreen. Single click on the image will show/hide the detail and navigation bar. Double click on the image will change image to AspectFit/AspectFill mode.

Kingfisher is used for download and cache images in this App.

demo portrait

demo landscape

About

500px Challenge for Mobile Developer Intern (Summer: May to Sep)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages