SwiftGridReusableView
@MainActor
open class SwiftGridReusableView : UICollectionReusableView
SwiftGridReusableView
is the primary reusable view used for headers and footers in the SwiftGridView
-
Views become highlighted when the user touches them.
Declaration
Swift
@MainActor open var highlighted: Bool { get set }
-
Undocumented
Declaration
Swift
@MainActor open var selected: Bool { get set }
-
Add custom subviews to the reusable view’s content view.
Declaration
Swift
@MainActor open var contentView: UIView
-
The background view is a subview behind all other views.
Declaration
Swift
@IBOutlet @MainActor open var backgroundView: UIView? { get set }
-
The selectedBackgroundView will be placed above the background view and displayed on view selection.
Declaration
Swift
@IBOutlet @MainActor open var selectedBackgroundView: UIView? { get set }
-
Undocumented
Declaration
Swift
@MainActor required public init?(coder aDecoder: NSCoder)
-
Undocumented
Declaration
Swift
@MainActor public override init(frame: CGRect)
-
Returns the reuse identifier string to be used for the cell. Override to provide a custom identifier.
Declaration
Swift
@MainActor open class func reuseIdentifier() -> String
Return Value
String identifier for the cell.
-
Undocumented
Declaration
Swift
@MainActor override open func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?)
-
Undocumented
Declaration
Swift
@MainActor override open func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?)
-
Undocumented
Declaration
Swift
@MainActor override open func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?)
-
Called before instance is returned from the reuse queue. Subclasses must call super.
Declaration
Swift
@MainActor open override func prepareForReuse()