标签: swift
运行代码时,出现此错误:
Could not cast value of type 'NSTaggedPointerString' to 'NSNumber'
这是我的代码:
reminders.sort(by: {($0["intDate"] as! Int) < ($1["intDate"] as! Int)})
任何想法:/