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 Refactoring Our Code Wrapping Up!

Why do i not download project files

How can i download this project files:

http://treehouse-code-samples.s3.amazonaws.com/iOS8/PlaylistBrowserSwift/PlaylistBrowser_s5v5.zip

I haven't permission, anyone fix for me

6 Answers

Pasan Premaratne
STAFF
Pasan Premaratne
Treehouse Teacher

Should work now. There was a permissions error on that last file.

Tks all guys

James K Doherty
PLUS
James K Doherty
Courses Plus Student 5,831 Points

Thank you Pasan, I was using an older beta version of Xcode and got several errors about 'can't convert AnyObject to String' when I opened up the project files. I updated to the latest Xcode 6.2 beta and got the same errors, but then as soon as I compiled the project they all went away and it ran beautifully...lol. Just some Xcode bugginess.

All is well, the project is excellent. I'm learning quite a bit. Thank you.

Pasan Premaratne
Pasan Premaratne
Treehouse Teacher

Yeah I tend to stay away from the betas cuz they make courses really unstable ha. Can't wait till the watch is out and they stop introducing a new beta each month

Jason Teo
Jason Teo
Courses Plus Student 8,398 Points

Hello guys, I am using Xcode 6.3.1 in this case, but however I can't compile the project with the same errors. Any help ?

Thank you!

Jason Teo
Jason Teo
Courses Plus Student 8,398 Points

I managed to run the application after doing some editing on the codes below:

    title = playlistDictionary["title"] as? String
    description = playlistDictionary["description"] as? String

    let iconName = playlistDictionary["icon"] as? String
    icon = UIImage(named: iconName!)

    let largeIconName = playlistDictionary["largeIcon"] as? String
    largeIcon = UIImage(named: largeIconName!)

    artists += playlistDictionary["artists"] as! [String]

    let colorsDictionary = playlistDictionary["backgroundColor"] as? [String:CGFloat]
    backgroundColor = rgbColorFromDictionary(colorsDictionary!)
Pasan Premaratne
Pasan Premaratne
Treehouse Teacher

Jason Teo,

It's because the project files use Swift 1.1. I recorded an update to the course with Swift 1.2 and we're working on getting that up as fast as possible

heinz meza
heinz meza
4,788 Points

Hi Pasan,

I'am still having problems when i clic into the playlist ...I get the "Thread signal 1: SIGABRT" error on the AppDelegate.swift file.... not sure why it keeps happening . The Xcode version i have is 6.3.1.

On another thing, How do I try & test the files I downloaded into the Xcode? Please Help!