Skip to main content

πŸš€ In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

Join the Treehouse affiliate program and earn 25% recurring commission! πŸ€‘

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

  • 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
  • Elise Gallentine
    Elise Gallentine
    1,930 Points

    I am stuck on this question, could you help me please?

    Posted June 6, 2016 6:28pm by Elise Gallentine
    Elise Gallentine
    1,930 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    1 Answer

  • ssshhh
    PLUS
    ssshhh
    Courses Plus Student 196 Points

    [in xcode] i don't get "console output" box area, when i chose [view], [assistant editor], [show Assistant Editor] why?

    Posted January 29, 2016 1:54am by ssshhh
    ssshhh
    Courses Plus Student 196 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    2 Answers

  • Sam Katz
    Sam Katz
    2,986 Points

    We know we need to use (()) but can't tell what to do afterwards. It seems to require a very specific syntax

    Posted January 26, 2016 9:02pm by Sam Katz
    Sam Katz
    2,986 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    1 Answer

  • Noah Selling
    Noah Selling
    1,718 Points

    Please tell me where my code is wrong.

    Posted January 14, 2016 7:07pm by Noah Selling
    Noah Selling
    1,718 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    1 Answer

  • Nephi Cosuga
    Nephi Cosuga
    1,907 Points

    string.swift

    Posted January 10, 2016 12:59am by Nephi Cosuga
    Nephi Cosuga
    1,907 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    1 Answer

  • Joyce Ryu
    Joyce Ryu
    1,124 Points

    Error

    Posted October 17, 2015 10:39am by Joyce Ryu
    Joyce Ryu
    1,124 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    1 Answer

  • Brett Red
    PLUS
    Brett Red
    Courses Plus Student 105 Points

    This lesson is broken.

    Posted June 26, 2015 12:14am by Brett Red
    Brett Red
    Courses Plus Student 105 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    1 Answer

  • anis ahmed
    anis ahmed
    194 Points

    idk

    Posted June 13, 2015 7:04pm by anis ahmed
    anis ahmed
    194 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    1 Answer

  • anis ahmed
    anis ahmed
    194 Points

    idk

    Posted June 7, 2015 9:28pm by anis ahmed
    anis ahmed
    194 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    1 Answer

  • Stance Jones
    PLUS
    Stance Jones
    Courses Plus Student 576 Points

    Having trouble

    Posted May 24, 2015 10:35pm by Stance Jones
    Stance Jones
    Courses Plus Student 576 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    1 Answer

  • Nikhil Pandey
    Nikhil Pandey
    1,418 Points

    Downloading lecture videos on my MacBook Pro

    Posted May 4, 2015 5:02pm by Nikhil Pandey
    Nikhil Pandey
    1,418 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    0 Answers

  • John Paul Luna
    John Paul Luna
    1,624 Points

    \n Usage println("Bread"\n"Milk"\n"Honey")

    Posted April 20, 2015 1:37am by John Paul Luna
    John Paul Luna
    1,624 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    2 Answers

  • Levi Figueira
    Levi Figueira
    6,707 Points

    How is "println("Bread\nMilk\nHoney")" not the correct answer? The compiler output seems to be unrelated… Compiler bug?

    Posted April 15, 2015 6:20pm by Levi Figueira
    Levi Figueira
    6,707 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    1 Answer

  • khalidaalharbi
    khalidaalharbi
    5,295 Points

    Unable to figure out the solution for this challenge swift code

    Posted April 15, 2015 7:18am by khalidaalharbi
    khalidaalharbi
    5,295 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    2 Answers

  • David Richard
    PLUS
    David Richard
    Courses Plus Student 699 Points

    Strings Help

    Posted March 11, 2015 9:28pm by David Richard
    David Richard
    Courses Plus Student 699 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    1 Answer

  • Peter Bozic
    Peter Bozic
    453 Points

    Geez, looks like I'll need to ask a question after every challenge as I just can't get the green light. Thanks

    Posted March 11, 2015 1:53pm by Peter Bozic
    Peter Bozic
    453 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    3 Answers

  • Christopher Martin
    Christopher Martin
    480 Points

    println List challenge: How is it wrong?

    Posted March 9, 2015 8:59pm by Christopher Martin
    Christopher Martin
    480 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    2 Answers

  • Steve Pham
    Steve Pham
    1,488 Points

    i need answer this question.

    Posted January 18, 2015 1:36am by Steve Pham
    Steve Pham
    1,488 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    1 Answer

  • Jacob Caf
    PLUS
    Jacob Caf
    Courses Plus Student 936 Points

    I can't figure out why it does not work

    Posted December 5, 2014 12:32am by Jacob Caf
    Jacob Caf
    Courses Plus Student 936 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    1 Answer

  • Hans Odessa
    PLUS
    Hans Odessa
    Courses Plus Student 428 Points

    Using println to output three items from a grocery list.

    Posted October 19, 2014 4:13pm by Hans Odessa
    Hans Odessa
    Courses Plus Student 428 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    5 Answers

  • ayman abdallah
    ayman abdallah
    787 Points

    whats wrong with my coe println(\n"Bread"\n"Milk"\n"Honey")

    Posted September 27, 2014 6:13pm by ayman abdallah
    ayman abdallah
    787 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    2 Answers

  • larsberg
    larsberg
    58,676 Points

    println("Bread\n Milk\n Honey") is giving me an error but in xcode it's showing up as the correct answer

    Posted September 18, 2014 3:35pm by larsberg
    larsberg
    58,676 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    2 Answers

  • Daichi Kuriki
    Daichi Kuriki
    14,925 Points

    about this challenge http://teamtreehouse.com/library/swift-basics/types/strings-2

    Posted September 17, 2014 10:52pm by Daichi Kuriki
    Daichi Kuriki
    14,925 Points
    • iOS
    • Swift Basics (retired)
    • Types
    • Strings

    3 Answers

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