日付の差 2012/05/05

Objective-Cです。日付の差です。
こんな感じ。

NSDateComponents *differenceHour = [calendar components:NSHourCalendarUnit fromDate:_dateGotobed toDate:_dateWakeup options:0];

参考
iphone - Number of days between two NSDates - Stack Overflow

: