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 trialHarry James
14,780 PointssetColorScheme() now deprecated.
Hello,
I'm putting this forum post up just as a handy note to update the setColorScheme() method as it is now deprecated. (The video should be updated later anyway or have an annotation/teacher note)
If you want to avoid getting the warning and strikethrough over the method, simple rename
setColorScheme(...color parameters)
// to
setColorSchemeResources(...color parameters)
There's no need to change the parameters, they will function exactly the same.
Hope it helps!
Nasir Mahamoud
22,892 PointsNasir Mahamoud
22,892 PointsYou're right! setColorScheme wasn't properly displaying all of the different shades of purple. However setColorSchemeResources worked perfectly. Thanks for sharing!