• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Very, Very Simple iPhone SDK Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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

  • Prev by Date: NSPanel show/hide notifications
  • Next by Date: Re: NSTextView won't update via NSThread
  • Previous by thread: Very, Very Simple iPhone SDK Question
  • Next by thread: Re: Very, Very Simple iPhone SDK Question
  • Index(es):
    • Date
    • Thread