• Home
  • Free Trial
  • Sign In
  • Plans
  • Tracks
  • Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • Michael McKenna
    Michael McKenna
    3,451 Points

    What would be an efficient way of inserting a String into a long list?

    Posted December 8, 2015 7:55pm by Michael McKenna
    Michael McKenna
    3,451 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • Modifying an Array

    1 Answer

  • Vunge António
    Vunge António
    1,096 Points

    using let

    Posted September 14, 2015 8:07pm by Vunge António
    Vunge António
    1,096 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • Modifying an Array

    3 Answers

  • tmsmth
    tmsmth
    10,543 Points

    Why we need to write "atIndex" instead of todo.insert("element", 3) for example ?

    Posted May 15, 2015 2:23pm by tmsmth
    tmsmth
    10,543 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • Modifying an Array

    2 Answers

  • Elliott Walker
    Elliott Walker
    259 Points

    What is the difference?

    Posted May 2, 2015 8:52pm by Elliott Walker
    Elliott Walker
    259 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • Modifying an Array

    1 Answer

  • Shelby Hanna
    Shelby Hanna
    1,453 Points

    .append function vs. += : What is the difference?

    Posted April 10, 2015 4:06pm by Shelby Hanna
    Shelby Hanna
    1,453 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • Modifying an Array

    2 Answers

  • weixin yang
    weixin yang
    312 Points

    Can you only assign string in array or variable too

    Posted March 5, 2015 4:42am by weixin yang
    weixin yang
    312 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • Modifying an Array

    1 Answer

  • Tom Warner
    Tom Warner
    539 Points

    What is the difference between using += and .append for arrays?

    Posted February 28, 2015 4:05am by Tom Warner
    Tom Warner
    539 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • Modifying an Array

    1 Answer

  • Marvin Ling
    Marvin Ling
    296 Points

    Link to Documentation

    Posted January 19, 2015 10:02am by Marvin Ling
    Marvin Ling
    296 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • Modifying an Array

    2 Answers

  • kirstie perez
    kirstie perez
    312 Points

    Can you find anything wrong with this? todo.insert("Go To School", atIndex: 3)

    Posted December 30, 2014 5:32pm by kirstie perez
    kirstie perez
    312 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • Modifying an Array

    1 Answer

  • Unsubscribed User
    Unsubscribed User
    355 Points

    Removing item from list and assigning back as a constant or variable

    Posted December 23, 2014 5:15pm by Unsubscribed User
    Unsubscribed User
    355 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • Modifying an Array

    1 Answer

  • Daniel Smith
    Daniel Smith
    674 Points

    in the video he does not use "removeatindex" to show how to complete the question in the quiz.... Im confused

    Posted December 1, 2014 6:32am by Daniel Smith
    Daniel Smith
    674 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • Modifying an Array

    1 Answer

  • Greg Lacombe
    Greg Lacombe
    638 Points

    Difference between todo.append and +=

    Posted November 29, 2014 2:14pm by Greg Lacombe
    Greg Lacombe
    638 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • Modifying an Array

    3 Answers

  • Jan Francírek
    Jan Francírek
    1,766 Points

    Option click - how to do it

    Posted November 17, 2014 9:23am by Jan Francírek
    Jan Francírek
    1,766 Points
    • iOS
    • Swift Basics (retired)
    • Collections
    • Modifying an Array

    2 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
  • Perks
  • Public Library Access
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2023 Treehouse Island, Inc.