2

如何转换NSIntegerNSTimeInterval

4

1 回答 1

9

NSInteger 通常定义为 int 或 long。NSTimeInterval 是一个普通的双精度值,因此您可以将一个值分配给另一个值。

于 2010-07-23T08:42:36.720 回答