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.
在 Obj-c/iOS 中,最好将秒存储为 int 还是 NSNumber?不幸的是,我无法使用 NSTime,因为我将它存储在服务器上,而且他们不使用 NSTime。
感谢您的任何建议。
我认为这并不重要,所以为了简单起见,我会说一个 int 只是因为它不需要初始化。