Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • Munir Niaz
    Munir Niaz
    1,831 Points

    Please help

    Posted May 28, 2016 7:14am by Munir Niaz
    Munir Niaz
    1,831 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • Munir Niaz
    Munir Niaz
    1,831 Points

    Imagine you are creating a budgeting app which tracks expenses. Let's create a struct named Expense that has two stored

    Posted May 27, 2016 8:44pm by Munir Niaz
    Munir Niaz
    1,831 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • Tony Winchester
    Tony Winchester
    11,462 Points

    Swift Enums and Structs

    Posted March 7, 2016 2:04pm by Tony Winchester
    Tony Winchester
    11,462 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • Thomas Katalenas
    Thomas Katalenas
    11,033 Points

    having trouble here!?!?!self me self me self me

    Posted February 12, 2016 2:35am by Thomas Katalenas
    Thomas Katalenas
    11,033 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    2 Answers

  • Raymond Espinoza
    Raymond Espinoza
    1,989 Points

    stored properties

    Posted December 23, 2015 7:56pm by Raymond Espinoza
    Raymond Espinoza
    1,989 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • Ricardo Forrest
    Ricardo Forrest
    1,461 Points

    Struct Stored Properties

    Posted September 20, 2015 8:06pm by Ricardo Forrest
    Ricardo Forrest
    1,461 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • Kristof Kocsis
    Kristof Kocsis
    15,455 Points

    Unknown error

    Posted August 18, 2015 5:13pm by Kristof Kocsis
    Kristof Kocsis
    15,455 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • Devin LeJeune
    Devin LeJeune
    1,480 Points

    Enums and structs step 2 of 2.. I'm having trouble with the answer..

    Posted August 17, 2015 6:32pm by Devin LeJeune
    Devin LeJeune
    1,480 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • Josh Smith
    Josh Smith
    1,049 Points

    Where is this wrong?

    Posted July 30, 2015 9:01pm by Josh Smith
    Josh Smith
    1,049 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • Andrew Chung
    Andrew Chung
    5,203 Points

    Stuck on challenge for structs

    Posted July 27, 2015 8:27pm by Andrew Chung
    Andrew Chung
    5,203 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • David Rodriguez Saavedra
    David Rodriguez Saavedra
    3,574 Points

    Im trying to solve it but i dont find the error

    Posted July 20, 2015 4:37pm by David Rodriguez Saavedra
    David Rodriguez Saavedra
    3,574 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • Rhew Deigl
    Rhew Deigl
    1,047 Points

    How Is This Wrong?

    Posted July 8, 2015 12:25pm by Rhew Deigl
    Rhew Deigl
    1,047 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    2 Answers

  • Jordan Nilsson
    Jordan Nilsson
    1,409 Points

    How do I assign an instance to the Expense struct?

    Posted July 3, 2015 6:15am by Jordan Nilsson
    Jordan Nilsson
    1,409 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • David Lerdahl
    David Lerdahl
    728 Points

    What's wrong with my code?

    Posted June 10, 2015 6:28am by David Lerdahl
    David Lerdahl
    728 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    2 Answers

  • Denuar Chisenwa
    Denuar Chisenwa
    876 Points

    Imagine you are creating a budgeting app which tracks expenses. Let's create a struct named Expense that has two stored

    Posted May 22, 2015 12:47pm by Denuar Chisenwa
    Denuar Chisenwa
    876 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • Rufaro Makoroni
    Rufaro Makoroni
    2,551 Points

    May I please get assistance on task 2of2 on Structs. my code is below.

    Posted March 30, 2015 2:11pm by Rufaro Makoroni
    Rufaro Makoroni
    2,551 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    2 Answers

  • Marco Leo
    Marco Leo
    1,007 Points

    Can seem to figure out what i did wrong, can someone help please.

    Posted March 24, 2015 2:29pm by Marco Leo
    Marco Leo
    1,007 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    2 Answers

  • Charles Harpke
    Charles Harpke
    33,986 Points

    Create a variable named travel and assign it an instance of the Expense struct with the following values for each stored

    Posted March 21, 2015 2:47pm by Charles Harpke
    Charles Harpke
    33,986 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • Charles Harpke
    Charles Harpke
    33,986 Points

    Tried 4 browsers...2 different PCs: Oh no! There was a communication problem. If you continue experiencing problems

    Posted March 20, 2015 1:41am by Charles Harpke
    Charles Harpke
    33,986 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • Vincent Smithers
    Vincent Smithers
    2,543 Points

    Structs/Attributes

    Posted March 14, 2015 12:33am by Vincent Smithers
    Vincent Smithers
    2,543 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    1 Answer

  • Stanila Claudiu
    Stanila Claudiu
    1,141 Points

    Create a variable named travel and assign it an instance of the Expense struct with the following values for each stored

    Posted February 23, 2015 5:48pm by Stanila Claudiu
    Stanila Claudiu
    1,141 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    2 Answers

  • Cristian Blas
    Cristian Blas
    1,047 Points

    why is my code wrong?

    Posted February 6, 2015 1:26am by Cristian Blas
    Cristian Blas
    1,047 Points
    • iOS
    • Swift Enums and Structs
    • Structs
    • Stored Properties

    2 Answers

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord