daily pastebin goal
57%
SHARE
TWEET

Untitled

a guest Jan 20th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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];
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top