CoolNaviDemo_Swift icon indicating copy to clipboard operation
CoolNaviDemo_Swift copied to clipboard

适配swift3.0

Open liupeng826 opened this issue 8 years ago • 2 comments

你好,在适配swift3.0的时候这句报错,请问如何修改? newOffset = change!["new"]?.CGPointValue

liupeng826 avatar Nov 07 '16 05:11 liupeng826

newOffset = (change![NSKeyValueChangeKey.newKey] as AnyObject).cgPointValue 好像是这样,对吗?

liupeng826 avatar Nov 07 '16 06:11 liupeng826

是的 我马上更新下适配swift3.0

ianisme avatar Nov 09 '16 11:11 ianisme