Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何转换NSInteger为NSTimeInterval?
NSInteger
NSTimeInterval
NSInteger 通常定义为 int 或 long。NSTimeInterval 是一个普通的双精度值,因此您可以将一个值分配给另一个值。