🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Leon Eng
    Leon Eng
    2,845 Points

    I put let maxLevel: Int yet it still says to make sure maxLevel is a type property! I'm not sure what I'm doing wrong.

    Posted February 7, 2018 12:49am by Leon Eng
    Leon Eng
    2,845 Points
    • iOS
    • Intermediate Swift 2
    • Properties
    • Type Properties

    1 Answer

  • jc laurent
    jc laurent
    6,351 Points

    Make sure maxLevel is a constant!

    Posted November 1, 2016 9:11am by jc laurent
    jc laurent
    6,351 Points
    • iOS
    • Intermediate Swift 2
    • Properties
    • Type Properties

    2 Answers

  • Andrew Sherman
    Andrew Sherman
    6,799 Points

    Type Properties

    Posted June 14, 2016 8:24pm by Andrew Sherman
    Andrew Sherman
    6,799 Points
    • iOS
    • Intermediate Swift 2
    • Properties
    • Type Properties

    1 Answer

  • Haitham Alam
    Haitham Alam
    2,685 Points

    Why?

    Posted April 25, 2016 9:06am by Haitham Alam
    Haitham Alam
    2,685 Points
    • iOS
    • Intermediate Swift 2
    • Properties
    • Type Properties

    0 Answers

  • Haitham Alam
    Haitham Alam
    2,685 Points

    Why?

    Posted April 25, 2016 9:06am by Haitham Alam
    Haitham Alam
    2,685 Points
    • iOS
    • Intermediate Swift 2
    • Properties
    • Type Properties

    2 Answers

  • Billy Potts
    PLUS
    Billy Potts
    Courses Plus Student 2,344 Points

    how to do this type property

    Posted April 13, 2016 11:04pm by Billy Potts
    Billy Potts
    Courses Plus Student 2,344 Points
    • iOS
    • Intermediate Swift 2
    • Properties
    • Type Properties

    2 Answers

  • Martin Graulund Larsen
    Martin Graulund Larsen
    26,279 Points

    I cant get this to pass: struct LevelTracker{ let maxLevel: Int }

    Posted April 5, 2016 11:07am by Martin Graulund Larsen
    Martin Graulund Larsen
    26,279 Points
    • iOS
    • Intermediate Swift 2
    • Properties
    • Type Properties

    1 Answer

  • Stuart Robertson
    PLUS
    Stuart Robertson
    Courses Plus Student 1,296 Points

    Help...Intermediate Swift Couse Code Challenge 1

    Posted April 2, 2016 7:39am by Stuart Robertson
    Stuart Robertson
    Courses Plus Student 1,296 Points
    • iOS
    • Intermediate Swift 2
    • Properties
    • Type Properties

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.