docs/docsets/DemoExpandingCollection.docset/Contents/Resources/Documents/Classes/BasePageCollectionCell.html
public class BasePageCollectionCell: UICollectionViewCell
Base class for UICollectionViewCell
`
yOffset
`
Animation oposition offset when cell is open
Swift
@IBInspectable public var yOffset: CGFloat = 40
[
](#/Vars)
`
frontContainerView
`
The view used as the face of the cell must connectid from xib or storyboard.
Swift
@IBOutlet public weak var frontContainerView: UIView!
`
backContainerView
`
The view used as the back of the cell must connectid from xib or storyboard.
Swift
@IBOutlet public weak var backContainerView: UIView!
`
backConstraintY
`
constraints for backContainerView must connectid from xib or storyboard
Swift
@IBOutlet public weak var backConstraintY: NSLayoutConstraint!
`
frontConstraintY
`
constraints for frontContainerView must connectid from xib or storyboard
Swift
@IBOutlet public weak var frontConstraintY: NSLayoutConstraint!
`
isOpened
`
A Boolean value that indicates whether the cell is opened.
Swift
public var isOpened = false
[
](#/inits)
`
init(coder:)
`
Initializes a UICollectionViewCell from data in a given unarchiver.
Swift
required public init?(coder aDecoder: NSCoder)
| aDecoder |
An unarchiver object.
|
An initialized UICollectionViewCell object.
`
cellIsOpen(_:animated:)
`
Open or close cell.
Swift
public func cellIsOpen(isOpen: Bool, animated: Bool = true)
| isOpen |
Contains the value true if the cell should display open state, if false should display close state.
|
| animated |
Set to true if the change in selection state is animated.
|
© 2016 AlexKalinkin. All rights reserved. (Last updated: 2016-06-10)
Generated by jazzy ♪♫ v0.5.0, a Realm project.