Re: Very, Very Simple iPhone SDK Question
Re: Very, Very Simple iPhone SDK Question
- Subject: Re: Very, Very Simple iPhone SDK Question
- From: Karolis Ramanauskas <email@hidden>
- Date: Fri, 6 Nov 2009 04:00:34 -0600
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 <
email@hidden> wrote:
> 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 NSBezierPaths
> as well.
>
>
> #import <Foundation/Foundation.h>
>
> @interface Member : NSObject {
> NSPoint a;
> }
>
> @end
>
>
> Thanks for any information.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden