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
  • Mads Bennicke
    Mads Bennicke
    2,630 Points

    When I try to run VendingMachine the debunk area says 2016-09-08 20:06:22.241 VendingMachine[3377:267843] Failed to

    Posted September 8, 2016 7:35pm by Mads Bennicke
    Mads Bennicke
    2,630 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    0 Answers

  • Adam Young
    Adam Young
    4,147 Points

    App crashing when launching

    Posted August 7, 2016 5:20am by Adam Young
    Adam Young
    4,147 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    2 Answers

  • Trent Christofferson
    Trent Christofferson
    18,846 Points

    Compiler Error

    Posted August 7, 2016 1:09am by Trent Christofferson
    Trent Christofferson
    18,846 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    1 Answer

  • Kyle Papili
    Kyle Papili
    9,112 Points

    Argument type 'VendingItem' does not conform to expected type 'itemType'

    Posted July 30, 2016 4:38am by Kyle Papili
    Kyle Papili
    9,112 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    1 Answer

  • Jordan George
    Jordan George
    9,926 Points

    VendingSelection cannot be constructed, it has no accessible initializers

    Posted July 23, 2016 4:54am by Jordan George
    Jordan George
    9,926 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    0 Answers

  • Pema Khando Shachentsang
    PLUS
    Pema Khando Shachentsang
    Courses Plus Student 1,210 Points

    Vending machine

    Posted July 13, 2016 2:51pm by Pema Khando Shachentsang
    Pema Khando Shachentsang
    Courses Plus Student 1,210 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    1 Answer

  • Amir Gamil
    Amir Gamil
    5,657 Points

    Initializer for conditional binding must have Optional type, not [String]

    Posted July 5, 2016 10:37am by Amir Gamil
    Amir Gamil
    5,657 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    2 Answers

  • Tosin Peters
    Tosin Peters
    9,547 Points

    InvalidType: Fatal Error

    Posted June 29, 2016 3:00am by Tosin Peters
    Tosin Peters
    9,547 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    2 Answers

  • jiranan supawong
    jiranan supawong
    5,716 Points

    How a constant of class instance is declared without initialization?

    Posted June 11, 2016 3:12pm by jiranan supawong
    jiranan supawong
    5,716 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    1 Answer

  • Anthony Lafont
    Anthony Lafont
    17,075 Points

    I get a compiler error "type VendingMachine does not conform to protocol vendingMachineType"

    Posted June 9, 2016 4:57pm by Anthony Lafont
    Anthony Lafont
    17,075 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    4 Answers

  • Igor Alves
    PLUS
    Igor Alves
    Courses Plus Student 4,115 Points

    Whats the difference between the guard else statement and the if else statement?

    Posted April 16, 2016 12:44pm by Igor Alves
    Igor Alves
    Courses Plus Student 4,115 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    2 Answers

  • Alistair Cooper
    PLUS
    Alistair Cooper
    Courses Plus Student 7,020 Points

    ! Use of undeclared type 'VendingSelection' compiler error

    Posted April 7, 2016 2:35pm by Alistair Cooper
    Alistair Cooper
    Courses Plus Student 7,020 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    2 Answers

  • Austin Hawks
    PLUS
    Austin Hawks
    Courses Plus Student 3,003 Points

    I'm getting the error cannot call non function type 'module<VendingMachine>'. Please help

    Posted April 4, 2016 11:58pm by Austin Hawks
    Austin Hawks
    Courses Plus Student 3,003 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    1 Answer

  • Marcos Reboucas
    Marcos Reboucas
    12,890 Points

    Isn't "return vendingMachine.selection.count" in collectionView's numberOfItemsInSection method "hard coded"?

    Posted March 2, 2016 1:37pm by Marcos Reboucas
    Marcos Reboucas
    12,890 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    1 Answer

  • Keli'i Martin
    Keli'i Martin
    8,227 Points

    Starter code doesn't have the required init

    Posted February 20, 2016 2:36am by Keli'i Martin
    Keli'i Martin
    8,227 Points
    • iOS
    • Build a Vending Machine App in Swift 2.0
    • Loading Data From a Resource
    • Finishing Touches

    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.