Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • All instance variables are initialized to nil. Although using a property is good practice here. Commented Oct 9, 2012 at 15:53
  • Yeah you're actually right. Every global class ivar are nil/0 when initialized. By the way if you need prices to be reAllocated lot of time, keep synthesized method. If you only need once, you can forget @synthetise but you need to retain explicitly the JSON data Commented Oct 9, 2012 at 16:14
  • I'm a little confused, am I suppose to put that in my .h file? Commented Oct 9, 2012 at 16:49
  • Yeah, or you can insert it into ur category Commented Oct 9, 2012 at 17:31
  • It's saying SELF is an unknown type. Commented Oct 9, 2012 at 20:35