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
  • Anonymous Person
    Anonymous Person
    5,297 Points

    Using Scroll View in Xcode

    Posted April 12, 2016 11:23am by Anonymous Person
    Anonymous Person
    5,297 Points
    • iOS
    • Build a Playlist Browser with Swift
    • Building the Music Library and Playlist Models
    • Creating a Music Library

    0 Answers

  • Pritpal Singh
    Pritpal Singh
    1,759 Points

    why do we need to write everything?

    Posted August 31, 2015 5:47pm by Pritpal Singh
    Pritpal Singh
    1,759 Points
    • iOS
    • Build a Playlist Browser with Swift
    • Building the Music Library and Playlist Models
    • Creating a Music Library

    1 Answer

  • Will Matthews
    Will Matthews
    8,127 Points

    Why are we defining the MusicLibrary and Playlist structs in two separate files?

    Posted July 3, 2015 9:50am by Will Matthews
    Will Matthews
    8,127 Points
    • iOS
    • Build a Playlist Browser with Swift
    • Building the Music Library and Playlist Models
    • Creating a Music Library

    4 Answers

  • Matt George
    Matt George
    2,507 Points

    How you get info if library["title"] has six unique values? How would you differentiate?

    Posted July 3, 2015 12:50am by Matt George
    Matt George
    2,507 Points
    • iOS
    • Build a Playlist Browser with Swift
    • Building the Music Library and Playlist Models
    • Creating a Music Library

    0 Answers

  • Terry Li
    Terry Li
    2,548 Points

    Optional vs default values?

    Posted April 24, 2015 11:13pm by Terry Li
    Terry Li
    2,548 Points
    • iOS
    • Build a Playlist Browser with Swift
    • Building the Music Library and Playlist Models
    • Creating a Music Library

    1 Answer

  • Sergey Petrov
    Sergey Petrov
    2,424 Points

    Error in library near backgroundColor type dictionary does not conform to protocol dictionaryliteralconvertible

    Posted March 19, 2015 7:25pm by Sergey Petrov
    Sergey Petrov
    2,424 Points
    • iOS
    • Build a Playlist Browser with Swift
    • Building the Music Library and Playlist Models
    • Creating a Music Library

    4 Answers

  • Nicolo Figiani
    Nicolo Figiani
    4,012 Points

    how can you save and recall a piece of code in Xcode?

    Posted February 24, 2015 7:05pm by Nicolo Figiani
    Nicolo Figiani
    4,012 Points
    • iOS
    • Build a Playlist Browser with Swift
    • Building the Music Library and Playlist Models
    • Creating a Music Library

    3 Answers

  • Michael Psoinos
    Michael Psoinos
    8,178 Points

    How can the dictionaries in the library array have different value types?

    Posted February 18, 2015 11:45pm by Michael Psoinos
    Michael Psoinos
    8,178 Points
    • iOS
    • Build a Playlist Browser with Swift
    • Building the Music Library and Playlist Models
    • Creating a Music Library

    0 Answers

  • haodong ruan
    haodong ruan
    1,755 Points

    Why we need make a struct for the musicLibrary? Why not just make it as a global constant?

    Posted February 16, 2015 2:26am by haodong ruan
    haodong ruan
    1,755 Points
    • iOS
    • Build a Playlist Browser with Swift
    • Building the Music Library and Playlist Models
    • Creating a Music Library

    0 Answers

  • tytyty
    tytyty
    4,974 Points

    struct pop-up auto-completion menu in Xcode. I only get name and not properties and methods.

    Posted February 13, 2015 4:09am by tytyty
    tytyty
    4,974 Points
    • iOS
    • Build a Playlist Browser with Swift
    • Building the Music Library and Playlist Models
    • Creating a Music Library

    0 Answers

  • harleythomas
    harleythomas
    16,512 Points

    Why do we encapsulate the array and dictionary inside of a struct?

    Posted January 19, 2015 6:57pm by harleythomas
    harleythomas
    16,512 Points
    • iOS
    • Build a Playlist Browser with Swift
    • Building the Music Library and Playlist Models
    • Creating a Music Library

    2 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