how to convert NSIntegerto NSTimeInterval?
NSInteger
NSTimeInterval
NSInteger is usually defined as int or long. NSTimeInterval is a simple double, so you can simply assign one value to another.