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
  • Alan Ramos
    Alan Ramos
    6,617 Points

    Dot Notation

    Posted November 5, 2014 2:41am by Alan Ramos
    Alan Ramos
    6,617 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    2 Answers

  • Andrew Nguyen
    Andrew Nguyen
    2,470 Points

    Why do we use _prediction in the nil check instead of self.prediction?

    Posted September 21, 2014 8:07pm by Andrew Nguyen
    Andrew Nguyen
    2,470 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    1 Answer

  • Christopher Dyer
    Christopher Dyer
    3,634 Points

    In xcode6 beta, "_predictions" is an undeclared identifier, while self.predictions is ok. Could you please consider why?

    Posted September 18, 2014 3:27pm by Christopher Dyer
    Christopher Dyer
    3,634 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    1 Answer

  • Ben Myhre
    Ben Myhre
    28,726 Points

    How can I avoid "Implicit conversion loses integer precision" warning following Treehouse steps?

    Posted July 21, 2014 2:51pm by Ben Myhre
    Ben Myhre
    28,726 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    1 Answer

  • Joaquin Beltran
    PLUS
    Joaquin Beltran
    Courses Plus Student 6,784 Points

    _ vs. self

    Posted July 14, 2014 7:32am by Joaquin Beltran
    Joaquin Beltran
    Courses Plus Student 6,784 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    1 Answer

  • Lex Lawless
    Lex Lawless
    1,773 Points

    The instance variable _predictions is not recognized

    Posted July 10, 2014 3:53am by Lex Lawless
    Lex Lawless
    1,773 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    2 Answers

  • bronnyreinhardt
    bronnyreinhardt
    1,007 Points

    Defining (customising) a @property's getter method

    Posted June 24, 2014 7:52am by bronnyreinhardt
    bronnyreinhardt
    1,007 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    2 Answers

  • Jesse Reichenstein
    PLUS
    Jesse Reichenstein
    Courses Plus Student 1,595 Points

    Underscore used with variables

    Posted May 17, 2014 9:28pm by Jesse Reichenstein
    Jesse Reichenstein
    Courses Plus Student 1,595 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    2 Answers

  • Henry Ngan
    Henry Ngan
    3,592 Points

    About property, literals, instance and local variables

    Posted May 7, 2014 4:33pm by Henry Ngan
    Henry Ngan
    3,592 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    1 Answer

  • Aaron Eckhart
    Aaron Eckhart
    3,341 Points

    Invisible?

    Posted April 7, 2014 9:27pm by Aaron Eckhart
    Aaron Eckhart
    3,341 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    6 Answers

  • ivan akulov
    ivan akulov
    4,174 Points

    Clearly don't understand in what cases we use self.predictions and when _predictions

    Posted April 2, 2014 3:43am by ivan akulov
    ivan akulov
    4,174 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    7 Answers

  • tiago goncalves
    tiago goncalves
    1,912 Points

    Is it only me or.....

    Posted March 19, 2014 1:59am by tiago goncalves
    tiago goncalves
    1,912 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    7 Answers

  • Daniel Brooking
    Daniel Brooking
    5,164 Points

    Custom getter for @property vs init

    Posted March 13, 2014 9:11pm by Daniel Brooking
    Daniel Brooking
    5,164 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    2 Answers

  • Adrian Catuna
    Adrian Catuna
    2,092 Points

    MVC

    Posted March 10, 2014 7:25pm by Adrian Catuna
    Adrian Catuna
    2,092 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    1 Answer

  • Rosario Rascuna
    Rosario Rascuna
    363 Points

    getter method and self

    Posted March 2, 2014 7:06pm by Rosario Rascuna
    Rosario Rascuna
    363 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    1 Answer

  • Dustin Mordica
    Dustin Mordica
    7,871 Points

    Ivars using _ vs self

    Posted February 19, 2014 5:56pm by Dustin Mordica
    Dustin Mordica
    7,871 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    2 Answers

  • Shaun Johnson
    Shaun Johnson
    1,214 Points

    NSArray *_predictions;

    Posted February 14, 2014 3:51am by Shaun Johnson
    Shaun Johnson
    1,214 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Understanding @property

    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