LGViewControllers 1.0.0

LGViewControllers 1.0.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jun 2015

Maintained by Grigory Lutkov.



 
Depends on:
LGRefreshView~> 1.0.0
LGPlaceholderView~> 1.0.0
 

  • By
  • Grigory Lutkov

Classes extends abilities of UITableViewController, UICollectionViewController, and more.

  • LGScrollViewController is view controller with LGScrollView as root view, that has LGPlaceholderView and LGRefreshView by default. View controller can watch for show/hide keyboard actions and scroll to first responder view without any manipulation.
  • LGTableViewController can do everything like LGScrollViewController, more than that it can reload table view asynchronously, without freezing UI.
  • LGCollectionViewController can do everything like LGScrollViewController, more than that it has easy initialization methods, to faster setup layout.
  • LGWebViewController is view controller with LGWebView as root view, that has LGPlaceholderView by default. View controller has easy initialization methods, to use it without subclassing.
  • LGViewControllerAnimator is class that implement slide animation between view controllers.

Installation

With source code

Podfile

platform :ios, '6.0'
pod 'LGViewControllers', '~> 1.0.0'

Usage

In the source files where you need to use the library, import the header file:

#import "LGViewControllers.h"

Or you can use sublibraries separately, depend of your needs:

#import "LGScrollViewController.h"
#import "LGTableViewController.h"
#import "LGCollectionViewController.h"
#import "LGWebViewController.h"

#import "LGScrollView.h"
#import "LGTableView.h"
#import "LGCollectionView.h"
#import "LGWebView.h"

#import "LGViewControllerAnimator.h"

More

For more details try Xcode Demo project and see files:

License

LGViewControllers is released under the MIT license. See LICENSE for details.