πŸ€‘ 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

  • 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
  • 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.

    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.