GridCellStyle
public struct GridCellStyle
extension GridCellStyle: Equatable
Style configuration for the GridCell
-
Default background color for the cell.
Declaration
Swift
public var backgroundColor: UIColor?
-
Default text color for the cell
Declaration
Swift
public var textColor: UIColor?
-
Default font for the cell
Declaration
Swift
public var font: UIFont?
-
Undocumented
Declaration
Swift
public var borderStyle: BorderStyle?
-
Undocumented
Declaration
Swift
public init( backgroundColor: UIColor? = nil, textColor: UIColor? = nil, font: UIFont? = nil, borderStyle: BorderStyle? = nil )
-
Creates a merged styles from given styles with precedence to the first style and any missing values used from the second style
Declaration
Swift
public static func merged(style: GridCellStyle, other: GridCellStyle) -> GridCellStyle
Parameters
style
Primary style
other
Secondary style
Return Value
Merged style
-
Declaration
Swift
public static func == (lhs: GridCellStyle, rhs: GridCellStyle) -> Bool