如何用swift找到一年中的天数?有没有一种我没有看到的简单方法,或者我必须找到从1月1日到当前日期的秒数并除以一天中的秒数?
nsdate ios swift
ios ×1
nsdate ×1
swift ×1