Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Playlist Browser with Swift Building the Music Library and Playlist Models Using a Playlist Instance

brent rogers
brent rogers
2,159 Points

coffee.pdf wont appear when run.

i copied the code as in the video however when i add playlistImageView0.image = playlist.icon

and run the app the image is blank, only an orange box. When i remove the above the placeholder shows up when run.

i added println(playlistImageView0) to viewDidLoad and i now see the following in the debugger.

<UIImageView: 0x7f95aa437650; frame = (60 184; 200 200); autoresize = RM+BM; userInteractionEnabled = NO; layer = <CALayer: 0x7f95aa437790>>