Very, Very Simple iPhone SDK Question

2009-11-06 Thread Patrick William Walker
Why do I get an Expected specified-qualifier-list before NSPoint when trying to port of my model classes from Cocoa to iPhone SDK? I've been reading through the documentation and haven't really found much to explain why I'm getting errors when using other things like NSRect and

Re: Very, Very Simple iPhone SDK Question

2009-11-06 Thread Karolis Ramanauskas
Hi, You need to use CG structs on iPhone. CGPoint, CGRect... Don't forget different make function naming conventions either: NSMakeRect - CGRectMake. Karolis, Cheers On Thu, Nov 5, 2009 at 4:56 AM, Patrick William Walker patrick.william.wal...@nb.sympatico.ca wrote: Why do I get an