๐Ÿค‘ 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
  • Thomas Katalenas
    Thomas Katalenas
    11,033 Points

    how come there isn't a swift workspace? I use the playground iswift.org/playground

    Posted January 31, 2016 12:41am by Thomas Katalenas
    Thomas Katalenas
    11,033 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    3 Answers

  • Juan Bermudez
    Juan Bermudez
    2,180 Points

    How is an Array different from a Dictionary?

    Posted December 22, 2015 4:01pm by Juan Bermudez
    Juan Bermudez
    2,180 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    1 Answer

  • NOUR A ALGHAMDI
    PLUS
    NOUR A ALGHAMDI
    Courses Plus Student 5,607 Points

    let item = countries.removeValueForKey("CA")

    Posted August 26, 2015 10:20pm by NOUR A ALGHAMDI
    NOUR A ALGHAMDI
    Courses Plus Student 5,607 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    1 Answer

  • Antonija Pek
    Antonija Pek
    5,819 Points

    I am having a trouble with understanding Extra Credit task in Functions with Dictionary

    Posted July 17, 2015 3:16pm by Antonija Pek
    Antonija Pek
    5,819 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    4 Answers

  • Alastair Downie
    Alastair Downie
    402 Points

    Maximum number of items in Array/Dictionary?

    Posted June 25, 2015 9:56am by Alastair Downie
    Alastair Downie
    402 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    2 Answers

  • John Scully
    John Scully
    1,018 Points

    I'm not getting the "some" type in the results pane

    Posted June 23, 2015 9:32pm by John Scully
    John Scully
    1,018 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    2 Answers

  • Nicholas Westmoreland
    Nicholas Westmoreland
    5,937 Points

    Where can I find help on extra credit problems?

    Posted June 13, 2015 12:03pm by Nicholas Westmoreland
    Nicholas Westmoreland
    5,937 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    3 Answers

  • David Perkins
    David Perkins
    2,028 Points

    How would you go about solving the extra credit question? Q: Create an array of 10 songs where each song is a dictionary

    Posted April 12, 2015 8:04am by David Perkins
    David Perkins
    2,028 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    3 Answers

  • David Novรกk
    David Novรกk
    5,877 Points

    Why is it called dictionary instead of map?

    Posted April 2, 2015 3:21pm by David Novรกk
    David Novรกk
    5,877 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    1 Answer

  • David Liu
    David Liu
    2,255 Points

    I think you guys forgot to add the code here for your Playground file! :p

    Posted March 31, 2015 1:13pm by David Liu
    David Liu
    2,255 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    2 Answers

  • klaus schmitt
    klaus schmitt
    1,238 Points

    Why do arrays not return optional values?

    Posted March 29, 2015 12:10pm by klaus schmitt
    klaus schmitt
    1,238 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    3 Answers

  • Hunter Christian Davis
    Hunter Christian Davis
    2,813 Points

    COnfused

    Posted March 19, 2015 8:38pm by Hunter Christian Davis
    Hunter Christian Davis
    2,813 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    6 Answers

  • John Smith
    John Smith
    2,184 Points

    cannot pass 2nd part of question because dictionary is immutable

    Posted February 26, 2015 6:43am by John Smith
    John Smith
    2,184 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    2 Answers

  • Ben Hogue
    PLUS
    Ben Hogue
    Courses Plus Student 512 Points

    [SOLVED] I get the first step but not the second one. I click to see my errors and nothing shows up...

    Posted February 25, 2015 12:48am by Ben Hogue
    Ben Hogue
    Courses Plus Student 512 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    1 Answer

  • mark lesbirel
    mark lesbirel
    2,012 Points

    Hi not sure why this answer to your 'try out' for arrays does not compile. It seems to in the playground...

    Posted February 4, 2015 10:15am by mark lesbirel
    mark lesbirel
    2,012 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    5 Answers

  • Ross Freeman
    Ross Freeman
    5,522 Points

    How is the order determined for a dictionary?

    Posted January 3, 2015 12:23am by Ross Freeman
    Ross Freeman
    5,522 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    1 Answer

  • Greg Lacombe
    Greg Lacombe
    638 Points

    When to use "" , () , ("") , [] , [""]

    Posted November 30, 2014 7:43am by Greg Lacombe
    Greg Lacombe
    638 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    2 Answers

  • Jason Hernandez Berland
    Jason Hernandez Berland
    1,575 Points

    When do you use Dictionaries vs using an array?

    Posted November 20, 2014 12:09am by Jason Hernandez Berland
    Jason Hernandez Berland
    1,575 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    1 Answer

  • Sam Matthews
    Sam Matthews
    8,276 Points

    Difference between function calls with arrays

    Posted October 25, 2014 11:07am by Sam Matthews
    Sam Matthews
    8,276 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • What is a Dictionary?

    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.