Skip to content

hcanfly/Photos13

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photos13

Photos13 is a sample app that requires iOS 13 and Xcode 11. It is a photo app that illustrates the use of: a) scrolling view using DisplayLink, b)UICollectionView that uses UICollectionViewDiffableDataSource and UICollectionViewCompositionalLayout, c)properly handling getting access to the camera roll and using your photos, d) use of the Coordinator pattern, among other things. For me, the coolest thing is UICollectionViewCompositionalLayout which lets you create interesting layouts that would be very time-consuming otherwise.

In the screenshot below the top row is the view that scrolls horizontally using CADisplayLink. Below it is the collection view that uses UICollectionViewCompositionalLayout. The section with the Koala bear scrolls horizontally, while the other section use layouts made easy by the new layout.

|Screenshot

License

Photos13 is licensed under the Unlicense. See the LICENSE file for more information, but basically this is sample code and you can do whatever you want with it.

About

Sample iOS 13 photos app that demonstrates UICollectionViewCompositionalLayout, Coordinator pattern, camera roll, CADisplayLink usage and some other stuff.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages