CGGetMidX error?
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