Guest User

Untitled

a guest
Jan 20th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. double distanceFormat = [self.runsArray[indexPath.row] valueForKey:@"runDistance"];
  2.  
  3. Initialising 'double' with an expression of incompatible type 'id'
  4.  
  5. double distanceFormat = [[self.runsArray[indexPath.row] valueForKey:@"runDistance"] doubleValue];
  6.  
  7. NSNumber *mynumber = [somedictionary valueForKey:@"runDistance"];
  8.  
  9. int i = [mynumber intValue];
Add Comment
Please, Sign In to add comment