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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![jc laurent](https://secure.gravatar.com/avatar/d5305a71826da2592ec4862a5fcd06c3?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
jc laurent
6,351 PointsDouble check your computed property and make sure you're returning the right string for each member
An other assignment in chinese..
let UIFontTextStyleHeadline = "UIFontTextStyleHeadline"
let UIFontTextStyleBody = "UIFontTextStyleBody"
let UIFontTextStyleFootnote = "UIFontTextStyleFootnote"
enum Text {
case Headline
case Body
case Footnote
var style: String {
Text.Headline; return "UIFontTextStyleHeadline"
Text.Body; return "UIFontTextStyleBody"
Text.Footnote; return "UIFontTextStyleFootnote"
}
}
3 Answers
![Michael Hulet](https://uploads.teamtreehouse.com/production/profile-photos/672712/micro_me.jpg)
Michael Hulet
47,912 PointsIn this case, I'd recommend using a switch
statement to check which case self
is, and return
something based on that. On a different note, are your quizzes/challenges actually in an asiatic language? If so, I'd email support about that and let them know
![jc laurent](https://secure.gravatar.com/avatar/d5305a71826da2592ec4862a5fcd06c3?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
jc laurent
6,351 PointsMy dear Michael, By assignment in chinese, I'm referring that, I have to go to the next course to learn that a self switch statement can be add to a compute value. It could have been a little more organised avoiding the beginner like me, useless struggling and waste of time. Is it too much to ask?
![Michael Hulet](https://uploads.teamtreehouse.com/production/profile-photos/672712/micro_me.jpg)
Michael Hulet
47,912 PointsThat actually is a huge organizational problem imo. I'm just a fellow student, so I can't do anything about it, but I would totally still email support, and they'll likely pass it onto the teaching team who can potentially take a look at fixing it
![jc laurent](https://secure.gravatar.com/avatar/d5305a71826da2592ec4862a5fcd06c3?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
jc laurent
6,351 Pointsthks anyway