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 trialDavid Pham
Courses Plus Student 48 PointsWhy 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
Treehouse TeacherShould work now. There was a permissions error on that last file.
Chris Shaw
26,676 PointsThanks Pasan.
James K Doherty
Courses Plus Student 5,831 PointsHi Pasan,
What version of Xcode was this built with? Thank you
Pasan Premaratne
Treehouse Teacher6.1.1 if I remember correctly
David Pham
Courses Plus Student 48 PointsNote : i can donwload project files:
http://treehouse-code-samples.s3.amazonaws.com/iOS8/PlaylistBrowserSwift/PlaylistBrowser_s5v4.zip
David Pham
Courses Plus Student 48 PointsTks all guys
James K Doherty
Courses Plus Student 5,831 PointsThank 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
Treehouse TeacherYeah 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
Courses Plus Student 8,398 PointsHello 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
Courses Plus Student 8,398 PointsI 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
Treehouse TeacherIt'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
Jason Teo
Courses Plus Student 8,398 PointsThanks Pasan!
heinz meza
4,788 PointsHi 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!
Chris Shaw
26,676 PointsChris Shaw
26,676 PointsPasan Premaratne