Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

适配swift3.0 #3

Open
liupeng826 opened this issue Nov 7, 2016 · 2 comments
Open

适配swift3.0 #3

liupeng826 opened this issue Nov 7, 2016 · 2 comments

Comments

@liupeng826
Copy link

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

@liupeng826
Copy link
Author

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

@ianisme
Copy link
Owner

ianisme commented Nov 9, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants