AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or Python. 🚀

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
      • • Vibe Coding
  • Mrunal Kharod
    Mrunal Kharod
    10,657 Points

    Labels disappear when button is pressed....

    Posted July 20, 2016 4:51am by Mrunal Kharod
    Mrunal Kharod
    10,657 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    2 Answers

  • Pierre-Emmanuel Turcotte
    Pierre-Emmanuel Turcotte
    13,670 Points

    Isn't it considered "implementing" when declaring the *_predictions variable inside the header file?

    Posted December 29, 2014 7:19pm by Pierre-Emmanuel Turcotte
    Pierre-Emmanuel Turcotte
    13,670 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    1 Answer

  • Caleb Kleveter
    MOD
    Caleb Kleveter
    Treehouse Moderator 37,862 Points

    Can't I just import the crystal ball class even though it is not considered good practice?

    Posted December 9, 2014 10:49pm by Caleb Kleveter
    Caleb Kleveter
    Treehouse Moderator 37,862 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    0 Answers

  • Gautier Gédoux
    Gautier Gédoux
    5,006 Points

    why is it better to @class than #import in that case

    Posted November 1, 2014 2:50pm by Gautier Gédoux
    Gautier Gédoux
    5,006 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    1 Answer

  • Shawn Bramhill
    Shawn Bramhill
    1,417 Points

    read only

    Posted October 6, 2014 12:34am by Shawn Bramhill
    Shawn Bramhill
    1,417 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    2 Answers

  • Shawn Bramhill
    Shawn Bramhill
    1,417 Points

    read only

    Posted October 6, 2014 12:00am by Shawn Bramhill
    Shawn Bramhill
    1,417 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    0 Answers

  • Eduardo Rojas
    Eduardo Rojas
    4,084 Points

    Problem When Trying To Add The Random Text Color To THViewController.m

    Posted August 10, 2014 7:34am by Eduardo Rojas
    Eduardo Rojas
    4,084 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    1 Answer

  • Liang Jin
    Liang Jin
    1,080 Points

    When set the array property to be ready only, error occurred in .m file

    Posted August 4, 2014 12:31am by Liang Jin
    Liang Jin
    1,080 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    1 Answer

  • ryanlee4
    ryanlee4
    1,984 Points

    when the simulator is iPhone 4 inch with 64bit, the Xcode shows this error: implicit conversion loses integer precision

    Posted July 30, 2014 8:19pm by ryanlee4
    ryanlee4
    1,984 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    2 Answers

  • David Lunn
    David Lunn
    1,326 Points

    Error

    Posted July 25, 2014 9:32pm by David Lunn
    David Lunn
    1,326 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    1 Answer

  • Ben Junya
    Ben Junya
    12,365 Points

    Text label is blank when you press the button

    Posted July 21, 2014 2:25am by Ben Junya
    Ben Junya
    12,365 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    3 Answers

  • Lex Lawless
    Lex Lawless
    1,773 Points

    THCrystalBall.m when Predictions button is pressed, Breakpoint message

    Posted July 10, 2014 8:09pm by Lex Lawless
    Lex Lawless
    1,773 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    2 Answers

  • Mike Gilroy
    Mike Gilroy
    7,411 Points

    Readonly Attributes: 'randomPrediction' bug

    Posted July 2, 2014 3:04pm by Mike Gilroy
    Mike Gilroy
    7,411 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    4 Answers

  • Nuri Amari
    Nuri Amari
    8,212 Points

    The Predictions Getter & _Predictions Instance Variable

    Posted June 25, 2014 9:52pm by Nuri Amari
    Nuri Amari
    8,212 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    2 Answers

  • Marlon Pleitez
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Marlon Pleitez
    Full Stack JavaScript Techdegree Student 9,563 Points

    Making a method to return NSColor?

    Posted June 5, 2014 9:45pm by Marlon Pleitez
    .a{fill-rule:evenodd;}techdegree
    Marlon Pleitez
    Full Stack JavaScript Techdegree Student 9,563 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    3 Answers

  • João Henrique
    João Henrique
    110 Points

    Underscore on predictions

    Posted May 4, 2014 3:59am by João Henrique
    João Henrique
    110 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    2 Answers

  • James Hughes
    James Hughes
    1,366 Points

    Crystal Ball - after changing classes, get compile error.

    Posted May 2, 2014 8:53am by James Hughes
    James Hughes
    1,366 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    3 Answers

  • Joannie Huang
    Joannie Huang
    6,195 Points

    When I execute the code, it will have a thread regarding the memory thrown.

    Posted April 17, 2014 3:16pm by Joannie Huang
    Joannie Huang
    6,195 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    4 Answers

  • Soojin Ro
    Soojin Ro
    13,331 Points

    Why do we use @class?

    Posted April 10, 2014 9:23am by Soojin Ro
    Soojin Ro
    13,331 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    1 Answer

  • Demetrios Tsakiris
    PLUS
    Demetrios Tsakiris
    Courses Plus Student 1,935 Points

    Custom Class not working as shown in video on my end

    Posted April 3, 2014 11:34pm by Demetrios Tsakiris
    Demetrios Tsakiris
    Courses Plus Student 1,935 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    1 Answer

  • filibertoheiras
    filibertoheiras
    3,211 Points

    #import vs @class

    Posted April 3, 2014 7:56pm by filibertoheiras
    filibertoheiras
    3,211 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    3 Answers

  • Ludwing Najera
    Ludwing Najera
    4,596 Points

    please help! readonly attribute rejecting prewritten code!

    Posted March 21, 2014 8:22pm by Ludwing Najera
    Ludwing Najera
    4,596 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    4 Answers

  • Jeff Benusa
    Jeff Benusa
    22,004 Points

    Getter method not called when @CrystalBall created

    Posted March 15, 2014 11:05pm by Jeff Benusa
    Jeff Benusa
    22,004 Points
    • iOS
    • Build a Simple iPhone App (iOS7)
    • Refactoring into a Model
    • Readonly Attribute

    4 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.