🤑 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
  • Michael S
    Michael S
    3,348 Points

    Why use constants here over enums? Could enums have been used instead of constants?

    Posted May 19, 2016 9:35pm by Michael S
    Michael S
    3,348 Points
    • iOS
    • Build a Playlist Browser with Objective-C
    • Building a Music Library Model
    • Creating a Music Library

    0 Answers

  • S P
    S P
    2,089 Points

    self.library in initialiser method

    Posted July 17, 2015 9:52pm by S P
    S P
    2,089 Points
    • iOS
    • Build a Playlist Browser with Objective-C
    • Building a Music Library Model
    • Creating a Music Library

    1 Answer

  • jonnypickett
    jonnypickett
    18,393 Points

    Why not use instances of UIColor for background colors instead of dictionaries?

    Posted June 14, 2015 7:02am by jonnypickett
    jonnypickett
    18,393 Points
    • iOS
    • Build a Playlist Browser with Objective-C
    • Building a Music Library Model
    • Creating a Music Library

    0 Answers

  • Boaz Keren Gil
    Boaz Keren Gil
    18,947 Points

    calling the init instance

    Posted May 30, 2015 8:55am by Boaz Keren Gil
    Boaz Keren Gil
    18,947 Points
    • iOS
    • Build a Playlist Browser with Objective-C
    • Building a Music Library Model
    • Creating a Music Library

    1 Answer

  • Shaun Kelly
    Shaun Kelly
    5,648 Points

    Hard coded?

    Posted April 23, 2015 10:40pm by Shaun Kelly
    Shaun Kelly
    5,648 Points
    • iOS
    • Build a Playlist Browser with Objective-C
    • Building a Music Library Model
    • Creating a Music Library

    3 Answers

  • Shaun Kelly
    Shaun Kelly
    5,648 Points

    Understanding constants?

    Posted April 23, 2015 10:33pm by Shaun Kelly
    Shaun Kelly
    5,648 Points
    • iOS
    • Build a Playlist Browser with Objective-C
    • Building a Music Library Model
    • Creating a Music Library

    1 Answer

  • Shaun Kelly
    Shaun Kelly
    5,648 Points

    is self referring to the actual class itself. And super is referring to the NSObject ?

    Posted April 5, 2015 10:31pm by Shaun Kelly
    Shaun Kelly
    5,648 Points
    • iOS
    • Build a Playlist Browser with Objective-C
    • Building a Music Library Model
    • Creating a Music Library

    0 Answers

  • Tayyab Hanif
    Tayyab Hanif
    3,601 Points

    can't find the playlist code detail!!

    Posted February 12, 2015 6:01pm by Tayyab Hanif
    Tayyab Hanif
    3,601 Points
    • iOS
    • Build a Playlist Browser with Objective-C
    • Building a Music Library Model
    • Creating a Music Library

    1 Answer

  • Ornilo Santiago
    Ornilo Santiago
    6,773 Points

    Creating an app pulling data from server

    Posted January 22, 2015 5:35pm by Ornilo Santiago
    Ornilo Santiago
    6,773 Points
    • iOS
    • Build a Playlist Browser with Objective-C
    • Building a Music Library Model
    • 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.

    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.