Re: getting a point from an array of NSValue CGPoints

2009-05-23 Thread Jeff Decker
do I get PolygonView to "know" about the PolygonShape instance that all the other classes know about? Jeff Decker Accountable Tree Service On May 22, 2009, at 3:54 PM, David Duncan wrote: On May 22, 2009, at 12:45 PM, Jeff Decker wrote: Thank you for your help. I have a mutabl

getting a point from an array of NSValue CGPoints

2009-05-22 Thread Jeff Decker
Hello, Thank you for your help. I have a mutable array filled with NSValues which are CGPoints. I want to unpack them one by one while adding them to a CGContextAddLineToPoint rect. Here is my terrible attempt (most of the code is from the Stanford class on iTunes - which I'm really en

isKindOfClass returns null instead of YES or NO

2009-05-20 Thread Jeff Decker
Hello, I am working through the Stanford iPhone Dev assignments along with the videos on iTunes. And I'm stuck on the assignment for the first week. Shoot! My goal is inspect each object of an array. When I use isKindOfClass or isMemberOrClass, I do not get an expected YES or NO but rathe