Easily add a stationary footer image when you reach the bottom of your UIScrollView or UITableView.
Objective-C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CLTableWithFooterViewController.xcodeproj
Example
Src
.gitignore
CLTableWithFooterViewController.podspec
Example.gif
LICENSE
README.markdown

README.markdown

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 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

#import "CLTableWithFooterViewController.h"

@interface MyViewController : CLTableWithFooterViewController
@end

@implementation MyViewController

- (void)viewDidLoad {
    self.footerImage = [UIImage imageNamed:@"my_footer.png"];
}

@end

Example

image

Also, I included an example app. Just open the Xcode project, build, and run.

License

Released under the MIT license.