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 Simple iPhone App with Swift v5 Creating a Data Model Refactoring into a Data Model

Adolfo Obregon
Adolfo Obregon
10,156 Points

No teacher notes found.

Where do we get the colors?

Steven Parker
Steven Parker
231,275 Points

:beetle: It seems that you've discovered a bug.
You may want to report this to Support, it might get you a "special Exterminator badge".

1 Answer

    let colors = [
        UIColor(red: 90/255, green: 187 / 255, blue: 181 / 255, alpha: 1), // teal
        UIColor(red: 222/225, green: 171/255, blue: 66/255, alpha: 1), // yellow
        UIColor(red: 223/255, green: 86/255, blue: 94/255, alpha: 1), // red color
        UIColor(red: 239/255, green: 130/255, blue: 100/255, alpha: 1), // orange
        UIColor(red: 77/255, green: 75/255, blue: 82/255, alpha: 1), // dark color
        UIColor(red: 105/255, green: 94/255, blue: 133/255, alpha: 1), // purple
        UIColor(red: 85/255, green: 176/255, blue: 112/255, alpha: 1), // green

    ]

Hope this helps!

PS: If this happens in future (It probably will, a lot of the iOS courses have missing teachers notes) go on Github and search the project title. You'll find heaps of repo's which will lead you to the missing stubs.