Geoff Pado

Black Highlighter — April 8th, 2019

In this session, I started building the photo picker for the app, where someone can choose which photo they want to edit. For now, we’re just going to show all photos in a grid; eventually we’ll want to provide some additional browsing features.

When the app has photo library access permission, it swaps out a child controller of its root view controller, providing a seamless transition between the “permission prompt” and “photo picker” states of the app without having to stuff both of those states in the same view controller class.

The picker itself is a collection view. In this session, I built up the full stack of items needed to display a collection view: the view itself, the data source, a cell class, and a layout. The custom layout determines which size the cells are when displayed; this is based on the collection view’s trait collection to show differently-sized cells depending on how much space we have to display in.

Commits Made

Tickets Closed

None.

Tickets Created

Project Stats

Sessions Completed
3
Days Since Start
8
Issues Closed
2
Issues Open
28
Percent Complete
6.7%

Replay

Watch this session on YouTube: