Re: Retaining and reading variable information
Re: Retaining and reading variable information
- Subject: Re: Retaining and reading variable information
- From: Daniel DeCovnick <email@hidden>
- Date: Thu, 15 Apr 2010 10:34:50 -0700
You're assigning a float (typedef'd as a CGFloat) to a CGFloat pointer. You can't do that. Don't do that. Get rid of the * in the line below. Also, not really the right list for this. CocoaDev would be more appropriate, or if you don't understand why it should be CGFloat and not CGFloat *, objc-language or a C usenet group.
-Daniel On Apr 15, 2010, at 10:20 AM, FDW Development wrote:
viewControler.h
CGFloat *finalDistance = [self
distanceBetweenTwoPoints:[touch1 locationInView:[self view]]
toPoint:[touch2 locationInView:[self view]]];
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden