CPCWeekView
open class CPCWeekView : UIView, CPCViewContentAdjusting
A view that displays weekday names in order define by current user locale and calendar.
-
The font used to display weekday names.
Declaration
Swift
@IBInspectable open dynamic var font: UIFont { get set }
-
The color of rendered weekday symbols.
Declaration
Swift
@IBInspectable open dynamic var textColor: UIColor { get set }
-
The color of rendered weekday symbols that are considered weekends according to current user settings.
Declaration
Swift
@IBInspectable open dynamic var weekendColor: UIColor { get set }
-
Calendar to be used for weekday order & names.
Declaration
Swift
open var calendar: Calendar { get set }
-
Style of rendered symbols.
Declaration
Swift
@IBInspectable open dynamic var style: CPCDay.Weekday.Style { get set }
-
Undocumented
Declaration
Swift
open override var intrinsicContentSize: CGSize { get }
-
Undocumented
Declaration
Swift
open var adjustsFontForContentSizeCategory: Bool { get set }
-
Undocumented
Declaration
Swift
internal var contentSizeCategoryObserver: NSObjectProtocol?
-
Undocumented
Declaration
Swift
internal var calendarView: CPCCalendarView? { get set }
-
Undocumented
Declaration
Swift
public override init(frame: CGRect)
-
Undocumented
Declaration
Swift
public required init?(coder aDecoder: NSCoder)
-
Undocumented
Declaration
Swift
open override func sizeThatFits(_ size: CGSize) -> CGSize
-
Undocumented
Declaration
Swift
open override func layoutMarginsDidChange()
-
Undocumented
Declaration
Swift
open override func safeAreaInsetsDidChange()
-
Undocumented
Declaration
Swift
open override func draw(_ rect: CGRect)
-
Undocumented
Declaration
Swift
internal func adjustValues(for newCategory: UIContentSizeCategory)