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
  • Ankit Singh
    PLUS
    Ankit Singh
    Courses Plus Student 1,752 Points

    what answer of this question

    Posted August 18, 2015 7:50am by Ankit Singh
    Ankit Singh
    Courses Plus Student 1,752 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    1 Answer

  • Kelsey Jones
    Kelsey Jones
    911 Points

    I am getting errors on 3rd task, help?

    Posted May 23, 2015 7:42pm by Kelsey Jones
    Kelsey Jones
    911 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    1 Answer

  • thomascawthorn
    thomascawthorn
    22,986 Points

    I'm having some trouble with appending strings!

    Posted April 29, 2015 7:02pm by thomascawthorn
    thomascawthorn
    22,986 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    1 Answer

  • chase cochran
    chase cochran
    1,103 Points

    Where did I go wrong in my assigning of a variable to 'favorite'?

    Posted March 7, 2015 2:58am by chase cochran
    chase cochran
    1,103 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    1 Answer

  • Michael Curtis
    Michael Curtis
    6,684 Points

    Can't get the final challenge in the NSStrings code challenge. Any help?

    Posted February 26, 2015 6:49pm by Michael Curtis
    Michael Curtis
    6,684 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    1 Answer

  • Paul Lacey
    Paul Lacey
    4,899 Points

    Hey isn't this a correct answer?

    Posted November 19, 2014 1:32am by Paul Lacey
    Paul Lacey
    4,899 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    2 Answers

  • Ryan Cocuzzo
    Ryan Cocuzzo
    1,206 Points

    NSString *favorite = [color stringByAppendingString: preference];

    Posted October 22, 2014 6:30pm by Ryan Cocuzzo
    Ryan Cocuzzo
    1,206 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    1 Answer

  • busterlabs
    busterlabs
    9,276 Points

    NS String

    Posted August 30, 2014 4:37pm by busterlabs
    busterlabs
    9,276 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    1 Answer

  • Paola Pimentel
    Paola Pimentel
    2,755 Points

    My code is not working, can anyone tell me why? :(

    Posted July 31, 2014 1:41pm by Paola Pimentel
    Paola Pimentel
    2,755 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    2 Answers

  • Bachir Kurdi
    Bachir Kurdi
    10,098 Points

    what is wrong ?

    Posted July 27, 2014 2:37am by Bachir Kurdi
    Bachir Kurdi
    10,098 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    5 Answers

  • Jeffrey Lawlis
    Jeffrey Lawlis
    374 Points

    NSString Task 3 incorrect value assigned to *favorite

    Posted July 11, 2014 10:23pm by Jeffrey Lawlis
    Jeffrey Lawlis
    374 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    2 Answers

  • Chris Snyder
    Chris Snyder
    2,461 Points

    Stuck

    Posted June 6, 2014 6:48pm by Chris Snyder
    Chris Snyder
    2,461 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    2 Answers

  • Ben Ford
    Ben Ford
    2,499 Points

    I don't know what I am doing wrong with this piece of code - Help please!

    Posted June 6, 2014 6:16pm by Ben Ford
    Ben Ford
    2,499 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    3 Answers

  • Paul Card
    PLUS
    Paul Card
    Courses Plus Student 4,806 Points

    stringByAppendingString

    Posted May 29, 2014 12:34am by Paul Card
    Paul Card
    Courses Plus Student 4,806 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    2 Answers

  • Tera Tarbet
    Tera Tarbet
    1,212 Points

    Quiz doesn't like this answer for concatenating NSStrings...not sure what is wrong...

    Posted May 24, 2014 5:51am by Tera Tarbet
    Tera Tarbet
    1,212 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    2 Answers

  • Ryan O'Connor
    Ryan O'Connor
    11,282 Points

    NSString challenge.

    Posted May 15, 2014 2:22pm by Ryan O'Connor
    Ryan O'Connor
    11,282 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    1 Answer

  • Johnathan Daniel
    Johnathan Daniel
    3,193 Points

    my code is not working

    Posted May 1, 2014 5:18am by Johnathan Daniel
    Johnathan Daniel
    3,193 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    1 Answer

  • Michael Nees
    Michael Nees
    1,070 Points

    NSString

    Posted April 29, 2014 7:53am by Michael Nees
    Michael Nees
    1,070 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    2 Answers

  • Simon Kaczmarek
    Simon Kaczmarek
    1,734 Points

    Error

    Posted April 9, 2014 11:58am by Simon Kaczmarek
    Simon Kaczmarek
    1,734 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    2 Answers

  • Simon Wong
    Simon Wong
    1,363 Points

    Keep getting timeout error when trying to submit my work

    Posted April 8, 2014 1:22am by Simon Wong
    Simon Wong
    1,363 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    0 Answers

  • stella J
    stella J
    2,234 Points

    help me with this question.

    Posted March 24, 2014 1:58am by stella J
    stella J
    2,234 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    1 Answer

  • Tino Ehrich
    Tino Ehrich
    1,786 Points

    NSString concatenation: what's wrong with this example?

    Posted February 19, 2014 10:14pm by Tino Ehrich
    Tino Ehrich
    1,786 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    2 Answers

  • Omar Ghias
    Omar Ghias
    1,837 Points

    Confused on Part #3 of this Challenge

    Posted February 17, 2014 9:00pm by Omar Ghias
    Omar Ghias
    1,837 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    1 Answer

  • Pallavi Polisetty
    PLUS
    Pallavi Polisetty
    Courses Plus Student 1,423 Points

    Declare a third NSString variable named 'favorite' and assign a concatenated string to it by appending the variable named 'color' to the variable named 'preference'. (Remember to use the method 'stringByAppendingString').

    Posted February 5, 2014 1:45pm by Pallavi Polisetty
    Pallavi Polisetty
    Courses Plus Student 1,423 Points
    • iOS
    • Objective-C Basics (Retired)
    • Foundation Framework
    • NSString

    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