开发者

date validation in objective c

how do to date validation using objective c 开发者_高级运维


Have you read the "Date and Time Programming Guide"?

In short you have a bunch of options:

  1. NSDateFormatter
  2. General string handling (e.g., pick out the first four characters for the year)
  3. NSDateComponents

But without knowing more about your problem it's difficult to be very specific, hence my suggestion that you read the manual first.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜