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

Problem integration to UITableViewController #9

Open
OptTrader opened this issue Nov 3, 2015 · 6 comments
Open

Problem integration to UITableViewController #9

OptTrader opened this issue Nov 3, 2015 · 6 comments

Comments

@OptTrader
Copy link

Tried to apply this to a UITableViewController. Here are the codes:

override func viewDidLoad() {
super.viewDidLoad()

let bodyView = UIView()
bodyView.frame = self.view.frame
bodyView.frame.y += 20 + 44
self.view.addSubview(bodyView)

// pull to refresh usage
let tableViewWrapper = PullToBounceWrapper(scrollView: tableView)
bodyView.addSubview(tableViewWrapper)

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

// createHeader()

}

Terminating app due to uncaught exception 'CALayerInvalid', reason: 'layer <CALayer: 0x7fd501f5dc60> is a part of cycle in its layer tree'. Anyone else have this issue?

@Rizon87
Copy link

Rizon87 commented Nov 9, 2015

+1

@scottbyrns
Copy link

Likewise +1

@Brotakuu
Copy link

Brotakuu commented Mar 6, 2016

+1

@ghost
Copy link

ghost commented May 23, 2016

Same.. +1

@itsterry
Copy link

itsterry commented Jun 9, 2016

+1

1 similar comment
@zykis
Copy link

zykis commented Apr 12, 2017

+1

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

6 participants