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

🤑 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

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

  • 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
    • Showing results for:
    • iOS
    • Protocols in Swift
    • Protocol Basics
    • Declaring a Protocol
    • Close
  • 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 on Jun 28, 2019 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 on May 15, 2019 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 on Dec 13, 2018 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 on Sep 25, 2018 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 on Sep 24, 2018 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 on Jun 26, 2018 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 on Dec 1, 2017 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 on Oct 31, 2017 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 on Oct 23, 2017 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 on Sep 3, 2017 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 on Aug 28, 2017 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 on Jul 25, 2017 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 on Jun 16, 2017 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 on Jun 1, 2017 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 on May 26, 2017 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 on Mar 24, 2017 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 on Mar 20, 2017 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 on Mar 15, 2017 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 on Feb 4, 2017 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 on Jan 19, 2017 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 on Jan 9, 2017 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 on Dec 12, 2016 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.