摘要:
//设置公历日历,默认的是0时区 let gregorian = Calendar(identifier: .gregorian) //当前时间 let date = Date() // 设置为8时区 var components = DateComponents() components.hour 阅读全文
摘要:
let circle = UIBezierPath(arcCenter: CGPoint(x: 100, y: 100), radius: 30, startAngle: CGFloat(0), endAngle: CGFloat(Double.pi), clockwise: true) let s 阅读全文