Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Very, Very Simple iPhone SDK Question



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Very, Very Simple iPhone SDK Question (From: Patrick William Walker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.