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

autoLayout #19

Open
PlutusCat opened this issue Jun 13, 2017 · 0 comments
Open

autoLayout #19

PlutusCat opened this issue Jun 13, 2017 · 0 comments

Comments

@PlutusCat
Copy link

when i used snp layout llike
`
func createTableview() -> Void {
let changeCityTableView = ChangeCityTableView()
self.view.addSubview(changeCityTableView)
changeCityTableView.snp.makeConstraints { (make) in
make.edges.equalToSuperview()
}

    let tableViewWrapper = PullToBounceWrapper(scrollView: changeCityTableView)
    self.view.addSubview(tableViewWrapper)

    tableViewWrapper.didPullToRefresh = {
        Timer.schedule(delay: 2) { timer in
            tableViewWrapper.stopLoadingAnimation()
        }
    }
}

`
a crash open
assert(false, "Wow, scrollView.frame is CGRectZero. Please set frame size.")

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

1 participant