Parallax heading for tableview and uiview under heading

So, I want to create a table view that will have a parallax heading with an image view inside the heading and a uiview under the parallax heading, which will be fixed over the table view as if it had a uiview view over the table view.

--NavBar--
----Parallax header -----
----UIView------
---Tableview-cells----

Now the scroll will become like this when I scroll down (for more cells).

--Navbar---
----UIView----
----TableviewCells scrolling---

Scrolling the table up will decrease the title, since the parallax title should do, but the limit will be higher than uiview, after which the y of the view table will not decrease, and normal scrolling will begin (of course, the height of the table will increase as the beginning of y decreases.)

Any idea how to achieve this? I got a sample code from cocoacontrols, but the desired effect occurs when the tableview rises, uiview appears.

Here is a link to github sample code

+4
source share

All Articles