🤑 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
  • 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.

    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.