https://github.com/RolandasRazma/RRTableHeaderView
https://github.com/RolandasRazma/RRTableHeaderView
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/RolandasRazma/RRTableHeaderView
- Owner: RolandasRazma
- License: mit
- Archived: true
- Created: 2012-07-03T22:20:07.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-11-02T20:57:38.000Z (over 11 years ago)
- Last Synced: 2024-11-05T11:52:50.818Z (5 months ago)
- Language: Objective-C
- Size: 98.6 KB
- Stars: 18
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ever wondered how Path (in path view) and foursquare (in check in view) did that parallax image effect (when you pulling down table view)?
I was wondering also and it's actually prety easy...RRTableHeaderView *tableHeaderView = [[RRTableHeaderView alloc] initWithFrame:CGRectMake(0, 0, self.tableView.frame.size.width, 80)];
[tableHeaderView setBackgroundImage:[UIImage imageNamed:@"sayounara.jpg"]];
[self.tableView setTableHeaderView:tableHeaderView];
[tableHeaderView release];