Vinodh-G / ParallaxTableViewHeader

Parallax scrolling effect on UITableView header view when a tableView is scrolled

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

observe tableview contentoffset

WenchaoD opened this issue · comments

This header needs to be layout on tableview delegate, why not just add observer for the contentOffset for the tableView inside this header?

@WenchaoD

I have used the ParallaxTableViewHeader as a plugin to UITableView, ParallaxTableViewHeader is not interested on the scrollView offset since it is plugin view, it knows only to update itself,
The UITableView as which much interested in updating its subview which is ParallaxTableViewHeader.

Thats why the offset is updated from UItableViewController or ViewController

Got that. Thanks.