Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
208,469 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.