• 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
CGGetMidX error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CGGetMidX error?


  • Subject: CGGetMidX error?
  • From: Chunk 1978 <email@hidden>
  • Date: Wed, 10 Jun 2009 17:11:17 -0400

i don't understand why i'm getting an error "invalid initializer" when
just declaring some variables in a method:

-=-=-=-
CGRect fullScreenRect = [[UIScreen mainScreen] bounds];
CGPoint screenCenterPoint = (CGRectGetMidX(fullScreenRect),
CGRectGetMidY(fullScreenRect));
-=-=-=-
_______________________________________________

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

  • Follow-Ups:
    • Re: CGGetMidX error?
      • From: Greg Parker <email@hidden>
    • Re: CGGetMidX error?
      • From: Clark Cox <email@hidden>
  • Prev by Date: Re: NSColorWell and bindings
  • Next by Date: Re: CGGetMidX error?
  • Previous by thread: NSWindow curved shape antialiasing + shadow
  • Next by thread: Re: CGGetMidX error?
  • Index(es):
    • Date
    • Thread