Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 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
  • Stanislav Zaichenko
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Stanislav Zaichenko
    iOS Development with Swift Techdegree Student 4,929 Points

    The quiz won't pass when no spaces in between curly braces e.g `{set}` but no compiler error

    Posted June 28, 2019 12:30pm by Stanislav Zaichenko
    .a{fill-rule:evenodd;}techdegree
    Stanislav Zaichenko
    iOS Development with Swift Techdegree Student 4,929 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    1 Answer

  • david cole
    david cole
    2,397 Points

    Broken code challenge?

    Posted May 15, 2019 11:42pm by david cole
    david cole
    2,397 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    1 Answer

  • Ben Spector
    Ben Spector
    3,722 Points

    Can't understand what is wrong here

    Posted December 13, 2018 7:44pm by Ben Spector
    Ben Spector
    3,722 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    1 Answer

  • Saleh Bubishate
    Saleh Bubishate
    1,613 Points

    what is my mistake in this code?

    Posted September 25, 2018 8:57am by Saleh Bubishate
    Saleh Bubishate
    1,613 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    1 Answer

  • Frank Pignataro
    Frank Pignataro
    7,291 Points

    New Error (See below --- Will not check Code)

    Posted September 24, 2018 4:23pm by Frank Pignataro
    Frank Pignataro
    7,291 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    1 Answer

  • Eddie Aguilar
    Eddie Aguilar
    2,393 Points

    Compiles fine in swift but not in treehouse. Can anyone give a look and let me know what where my error lies??

    Posted June 26, 2018 8:55pm by Eddie Aguilar
    Eddie Aguilar
    2,393 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    2 Answers

  • vivek d
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    vivek d
    iOS Development Techdegree Student 1,596 Points

    whats wrong in this?

    Posted December 1, 2017 6:05pm by vivek d
    .a{fill-rule:evenodd;}techdegree
    vivek d
    iOS Development Techdegree Student 1,596 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    1 Answer

  • Juan Carlos Torres
    Juan Carlos Torres
    5,608 Points

    What is wrong with my code?

    Posted October 31, 2017 1:17am by Juan Carlos Torres
    Juan Carlos Torres
    5,608 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    1 Answer

  • josh hahn
    josh hahn
    5,926 Points

    Bummer! Make sure User specifies a gettable property named `name` of type String

    Posted October 23, 2017 4:28am by josh hahn
    josh hahn
    5,926 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    1 Answer

  • jordon beyond
    jordon beyond
    2,158 Points

    Declaring protocol 1 Error

    Posted September 3, 2017 4:17am by jordon beyond
    jordon beyond
    2,158 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    1 Answer

  • Chase Maddox
    PLUS
    Chase Maddox
    Courses Plus Student 5,461 Points

    Beginning Protocol Code Challenge #1

    Posted August 28, 2017 5:48pm by Chase Maddox
    Chase Maddox
    Courses Plus Student 5,461 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    3 Answers

  • Kayondo Martin
    Kayondo Martin
    7,481 Points

    Despite me adding the String property 'name', I get an error asking me to add it

    Posted July 25, 2017 3:06am by Kayondo Martin
    Kayondo Martin
    7,481 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    1 Answer

  • Faiyaz Huq
    Faiyaz Huq
    1,956 Points

    Whats wrong with this?

    Posted June 16, 2017 12:13pm by Faiyaz Huq
    Faiyaz Huq
    1,956 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    2 Answers

  • Tatenda Madzokere
    Tatenda Madzokere
    2,970 Points

    I really dont knlw where im getting it wrong .Please help.Im only getting a bummer

    Posted June 1, 2017 7:09pm by Tatenda Madzokere
    Tatenda Madzokere
    2,970 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    1 Answer

  • Joshua Hardy
    Joshua Hardy
    17,317 Points

    Challenge task 1 of 1

    Posted May 26, 2017 5:12pm by Joshua Hardy
    Joshua Hardy
    17,317 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    2 Answers

  • Kanish Chhabra
    Kanish Chhabra
    2,151 Points

    Where am I wrong?

    Posted March 24, 2017 7:52pm by Kanish Chhabra
    Kanish Chhabra
    2,151 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    3 Answers

  • Tyler Dotson
    PLUS
    Tyler Dotson
    Courses Plus Student 1,740 Points

    Am I close?

    Posted March 20, 2017 10:14pm by Tyler Dotson
    Tyler Dotson
    Courses Plus Student 1,740 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    1 Answer

  • Kevin McCreary
    Kevin McCreary
    6,963 Points

    I think the code is right

    Posted March 15, 2017 11:01pm by Kevin McCreary
    Kevin McCreary
    6,963 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    2 Answers

  • Richard Pitts
    PLUS
    Richard Pitts
    Courses Plus Student 1,243 Points

    What's wrong here?

    Posted February 4, 2017 8:53pm by Richard Pitts
    Richard Pitts
    Courses Plus Student 1,243 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    0 Answers

  • Vas Pon
    Vas Pon
    655 Points

    maybe there is a mistake in the task

    Posted January 19, 2017 6:55pm by Vas Pon
    Vas Pon
    655 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    1 Answer

  • maxwell mills
    maxwell mills
    473 Points

    not sure why int and string arent declaring the var as the respective types

    Posted January 9, 2017 9:30pm by maxwell mills
    maxwell mills
    473 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    2 Answers

  • Brian Patterson
    Brian Patterson
    19,588 Points

    Not sure why this is wrong

    Posted December 12, 2016 9:42am by Brian Patterson
    Brian Patterson
    19,588 Points
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol

    1 Answer

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