Challenge: Show Filenames

Add a text layer to each image layer to show the filename of that image. You will need to supply an additional parameter to presentImage(_:). Experiment with adding shadows and borders to the layers.

Get Cocoa Programming for OS X: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.