Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - h.3
Search - h.3 - List
ZGParallelView ParallelView** is the easiest way to add a Parallax effect to a `UITableView`. It works perfectly with `UITableViewController` and is completely compatable with both `UITableViewStyle`.-ZGParallelView ============== ####ParallelView For UITableView **ParallelView** is the easiest way to add a Parallax effect to a `UITableView`. It works perfectly with `UITableViewController` and is completely compatable with both `UITableViewStyle`. **Most importantly** The head view will be a full featured UIView, it can handle touch event or even put a scrollView inside it as well. ####Install 1. Drag and Copy the `UITableView+ZGParallelView.h` and `UITableView+ZGParallelView.m` into your project. 2. Import those two files into your VC. 3. In `ViewDidLoad`. Initialate the parallelView: - (void)addParallelViewWithUIView:(UIView*)aViewToAdd withDisplayRadio:(CGFloat )displayRadio cutOffAtMax:(BOOL)cutOffAtMax //By default, displayRadio is 0.5 //By default, cutOffAtMax is set to NO //Set cutOffAtMax to YES to stop the scrolling when it hits the top. 4. Thx to**awesome** [fengjian0106](https://github.com/fengjian0106), this is all you need to do.
Date : 2025-12-16 Size : 105kb User : gaofengduan
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.