UIDatePicker storing only time in core data
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
.
精彩评论