相亲神器calendar的操作报告错误
let now = NSData() let components = gregorian?.components(NSCalendarUnit.Year, fromDate: birthday.date, toDate: now, options: NSCalendarOptions(0)) 在toDate: now这里提示Cannot convert value of type 'NSData' to expected argument type 'NSDate' 啥意思?最新的xcode7,语言变化太快跟着教程都有错误