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

Error in Xcode9 Swift 4 #29

Closed
helloniklas opened this issue Oct 10, 2017 · 1 comment
Closed

Error in Xcode9 Swift 4 #29

helloniklas opened this issue Oct 10, 2017 · 1 comment

Comments

@helloniklas
Copy link

helloniklas commented Oct 10, 2017

On line 163 in ReverseExtension.swift

            contentInsetObserver?.didChange = { [weak self] _ in
                DispatchQueue.main.async {
                    self?.configureTableViewInsets()
                }
            }

Gives a compile error.

Changing it to:

            contentInsetObserver?.didChange = { [weak self] (_, _) in
                DispatchQueue.main.async {
                    self?.configureTableViewInsets()
                }
            }

Works.

@marty-suzuki
Copy link
Owner

Hi, I've released swift4 support version!

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