开发者

UIDatePicker storing only time in core data

开发者 https://www.devze.com 2022-12-24 04:57 出处:网络
I am using a UIDatePicker with ti开发者_运维知识库me only.How can I store this type in the core data, would it be date:S?You should store it as a date object in Core Data and then you can display it h

I am using a UIDatePicker with ti开发者_运维知识库me only. How can I store this type in the core data, would it be date:S?


You should store it as a date object in Core Data and then you can display it however you want using a NSDateFormatter.

0

精彩评论

暂无评论...
验证码 换一张
取 消