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 "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 (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com