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

New No-Code Track! 🚀 New videos dropping every week—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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • 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.

    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.