https://github.com/chrisledet/cltablewithfooterviewcontroller
Easily add a stationary footer image when you reach the bottom of your UIScrollView or UITableView.
https://github.com/chrisledet/cltablewithfooterviewcontroller
ios library objective-c
Last synced: 9 months ago
JSON representation
Easily add a stationary footer image when you reach the bottom of your UIScrollView or UITableView.
- Host: GitHub
- URL: https://github.com/chrisledet/cltablewithfooterviewcontroller
- Owner: chrisledet
- License: mit
- Created: 2013-07-05T04:02:11.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-09-13T04:24:58.000Z (over 12 years ago)
- Last Synced: 2025-03-30T05:14:48.932Z (10 months ago)
- Topics: ios, library, objective-c
- Language: Objective-C
- Homepage:
- Size: 536 KB
- Stars: 103
- Watchers: 6
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
## CLTableWithFooterViewController
Easily add a stationary footer image when you reach the bottom of your UIScrollView or UITableView. It will remain put when the content bounces up and hide when scrolling up.
## Installation
Simply add all the files in the [Src](https://github.com/chrisledet/CLTableWithFooterViewController/tree/master/Src) directory to your project.
## Usage
* Just import the `CLTableWithFooterViewController.h` header file into your UIViewController class.
* Create a UIViewController that is a subclass of CLTableWithFooterViewController.
* Now just sent the footer image by calling the `footerImage` property.
Here's an example
```objective-c
#import "CLTableWithFooterViewController.h"
@interface MyViewController : CLTableWithFooterViewController
@end
@implementation MyViewController
- (void)viewDidLoad {
self.footerImage = [UIImage imageNamed:@"my_footer.png"];
}
@end
```
### Example

Also, I included an example app. Just open the Xcode project, build, and run.
### License
Released under the MIT license.