Classes
The following classes are available globally.
-
Base binding for mutable ViewModels
See moreSample usage: ``` struct ImageViewModel { let imageCaption: Observable<String> } ``` Then to observe changes to the view model from a view: ``` imageVewModel.imageCaption.observe { [unowned self] in self.captionLabel?.text = $0 } ```
Declaration
Swift
class Observable<T>
-
Global / Sticky / Stretchy Headers using UICollectionViewFlowLayout. Works for iOS8, iOS9 and above.
See moreDeclaration
Swift
class AKPCollectionViewFlowLayout: UICollectionViewFlowLayout
-
The App Delegate
See moreDeclaration
Swift
class AppDelegate: UIResponder, UIApplicationDelegate
-
Implements UICollectionViewDataSource and UICollectionViewDelegate methods for
See moreSampleImagesViewController
’s collectionViewDeclaration
Swift
class SampleImagesDataSourceDelegate: NSObject, UICollectionViewDataSource
-
Top level view controller for the project
See moreDeclaration
Swift
class SampleImagesViewController: UIViewController
-
A custom UICollectionViewCell that presents an image with caption, based on ovservable data from its ImageViewModel
See moreDeclaration
Swift
@IBDesignable class ImageCollectionViewCell: UICollectionViewCell
-
UIView with Rounded Corners
See moreDeclaration
Swift
class RoundedCornersView: UIView
-
A custom UICollectionReusableView section header
See moreDeclaration
Swift
class ImageCollectionViewHeader: UICollectionReusableView
-
Visual configuration of AKPCollectionViewFlowLayout’s LayoutConfigOptions
See moreDeclaration
Swift
class LayoutConfigController: UITableViewController
-
Custom UICollectionReusableView section header that serves as a Global Header
See moreDeclaration
Swift
class ImageCollectionViewGlobalHeader: UICollectionReusableView