Slide 24
Slide 24 text
iOSͷچྐྵͷܭࢉํ๏
let calendar = Calendar(identifier: .chinese)
let components =
calendar.dateComponents([.day, .month], from: Date())
let date =
components.isLeapMonth! ? "閏" : "" +
"\(components.month!)月" +
"\(components.day!)日" // 5月11日
→᠘͕͋ͬͨ