Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 17th, 2012  |  syntax: None  |  size: 0.38 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How would I convert an NSMutableArray filled of UNIX dates to standard dates?
  2. NSDate *fulltime = [NSDate dateWithTimeIntervalSince1970:[time objectAtIndex:indexPath.row]];
  3.        
  4. error: incompatible type for argument 1 of 'dateWithTimeIntervalSince1970:'
  5.        
  6. NSDate *fulltime = [NSDate dateWithTimeIntervalSince1970:
  7.                     [[time objectAtIndex:indexPath.row] doubleValue]];