You found it first ⚡ 50% off any plan for 6 months, exclusive to new subscribers for a limited time only.

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

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

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

  • 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
      • • Vibe Coding
  • Danilo Chaves
    Danilo Chaves
    6,191 Points

    The Human Interface link on the teachers note seems to be outdated or not working.

    Posted September 14, 2016 12:35am by Danilo Chaves
    Danilo Chaves
    6,191 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Temporary Views

    2 Answers

  • charlesdi
    charlesdi
    5,706 Points

    Build Fail: Type 'VendingMachine' does not conform to protocol 'VendingMachineType'

    Posted September 6, 2016 11:31pm by charlesdi
    charlesdi
    5,706 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Controlling Custom Views

    0 Answers

  • Lincoln Matra
    Lincoln Matra
    7,878 Points

    When I click on the purchase button, I am receiving an NSInvalidArgumentException VendingMachine.ViewController purchase

    Posted August 11, 2016 2:35am by Lincoln Matra
    Lincoln Matra
    7,878 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Displaying an Alert View

    1 Answer

  • Charlie O'Shea
    Charlie O'Shea
    18,737 Points

    Extension Attempt: Display Available Stock

    Posted August 4, 2016 3:43pm by Charlie O'Shea
    Charlie O'Shea
    18,737 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Recap

    0 Answers

  • Unsubscribed User
    Unsubscribed User
    2,263 Points

    Why does Xcode report this (benign) issue: "Frame for "Dismiss" will be run at a different time" for Main.storyboard"

    Posted July 13, 2016 12:40am by Unsubscribed User
    Unsubscribed User
    2,263 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Controlling Custom Views

    0 Answers

  • Becky Christofferson
    Becky Christofferson
    15,047 Points

    Modal View Error

    Posted July 12, 2016 1:31am by Becky Christofferson
    Becky Christofferson
    15,047 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Displaying Custom Views Modally

    1 Answer

  • Bala Selvam
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Bala Selvam
    Python Development Techdegree Student 30,590 Points

    i have been typing in the code exactly as pasan has been doing it but i have about 20 errors is this normal?

    Posted July 11, 2016 2:27am by Bala Selvam
    .a{fill-rule:evenodd;}techdegree
    Bala Selvam
    Python Development Techdegree Student 30,590 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Controlling Custom Views

    1 Answer

  • Aditya Ramabadran
    Aditya Ramabadran
    3,746 Points

    Incorrect link in Teacher's Notes?

    Posted June 30, 2016 5:06am by Aditya Ramabadran
    Aditya Ramabadran
    3,746 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Temporary Views

    1 Answer

  • Jacob Evans
    Jacob Evans
    2,979 Points

    Quantity not completely resetting when selecting a different item?

    Posted June 17, 2016 9:04pm by Jacob Evans
    Jacob Evans
    2,979 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Comparing Answers

    3 Answers

  • Christian McMullin
    Christian McMullin
    13,086 Points

    code correction on reseting stepper value not just quantity variable.

    Posted June 16, 2016 9:32pm by Christian McMullin
    Christian McMullin
    13,086 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Adding User Interaction

    0 Answers

  • Rodrigo Chousal
    Rodrigo Chousal
    16,009 Points

    How does the "Insufficient Funds" error know the amount missing by just passing in let amount?

    Posted June 16, 2016 1:47am by Rodrigo Chousal
    Rodrigo Chousal
    16,009 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Comparing Answers

    1 Answer

  • Will Van de Walle
    Will Van de Walle
    2,352 Points

    How to present a modal view outside of a button?

    Posted May 22, 2016 5:15pm by Will Van de Walle
    Will Van de Walle
    2,352 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Controlling Custom Views

    32 Answers

  • M Talebi
    M Talebi
    3,125 Points

    Why did we have to include 4 catches?

    Posted May 10, 2016 2:08pm by M Talebi
    M Talebi
    3,125 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Comparing Answers

    1 Answer

  • Sacha Karsenty
    Sacha Karsenty
    3,903 Points

    I can't find the DepositViewcontroller in the dropdown...

    Posted April 29, 2016 1:07pm by Sacha Karsenty
    Sacha Karsenty
    3,903 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Controlling Custom Views

    2 Answers

  • mattcleary2
    mattcleary2
    19,953 Points

    The function signature does not match the one accepted by the handler parameter?

    Posted March 7, 2016 5:48pm by mattcleary2
    mattcleary2
    19,953 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Displaying Additional Views

    2 Answers

  • Stijn van Lieshout
    Stijn van Lieshout
    3,646 Points

    Adding a new cocoa file that inherits from UIViewController doesn't work...

    Posted March 5, 2016 6:42pm by Stijn van Lieshout
    Stijn van Lieshout
    3,646 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Controlling Custom Views

    1 Answer

  • Daniel Yoo
    Daniel Yoo
    3,812 Points

    sender.value (UIStepper) does not reset

    Posted February 22, 2016 10:14am by Daniel Yoo
    Daniel Yoo
    3,812 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Displaying Additional Views
    • Recap

    3 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.