SkillAgentSearch skills...

DBParallaxMapTableView

A TableView with a parallax style interactive MapView header

Install / Use

/learn @danielbowden/DBParallaxMapTableView
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

DBParallaxMapTableView

A TableView with a parallax style interactive MapView header. MapView can be independently panned and zoomed. The DemoViewController contains an example of usage.

To use:

  • Include the DBParallaxMapTableView.h and DBParallaxMapTableView.m
  • Create:
    self.paralaxMapTableView = [[DBParalaxMapTableView alloc] initWithFrame:self.view.frame];
    self.paralaxMapTableView.delegate = self;
    self.paralaxMapTableView.dataSource = self;
    
    [self.view addSubview:self.paralaxMapTableView];
  • Implement your desired TableViewDelegate and TableViewDataSource methods. Currently the following are supported, if more are required let me know or they should be simple to implement yourself.
	- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
	- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
	- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
	- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath
	- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
	- (NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath:(NSIndexPath *)indexPath
	- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath

Default Default

View on GitHub
GitHub Stars21
CategoryDevelopment
Updated8y ago
Forks3

Languages

Objective-C

Security Score

75/100

Audited on Feb 14, 2018

No findings