Protocols
The following protocols are available globally.
-
A convenience generic wrapper (and thus, Swift only) around
SCKEventManaging
that provides better-typed methods for your event manager implementation.Conform to this protocol when working with a single event class in a Swift target. In any other case, conform to
See moreSCKEventManaging
directly. See theSCKViewController
class description to learn more.Declaration
Swift
public protocol SCKConcreteEventManaging: SCKEventManaging
-
A type that implements the required methods to provide events either synchronously or asynchronously to a
SCKViewController
; plus some methods related to the user interaction with the controller’s schedule view.If you use Swift, you may choose between implementing
See moreSCKEventManaging
or working in concrete mode by conforming toSCKConcreteEventManaging
and declaring an event type. Use the concrete mode when working with a single event class to benefit from Swift’s type safety and work with better-typed methods in your event manager implementation. In any other case, conform to this protocol directly. See theSCKViewController
class description to learn more.Declaration
Swift
public protocol SCKEventManaging: class
-
An object conforming to the
See moreSCKGridViewDelegate
protocol may implement a method to provide unavailable time ranges to a grid-style schedule view in addition to other methods defined inSCKViewDelegate
.Declaration
Swift
@objc public protocol SCKGridViewDelegate: SCKViewDelegate
-
An object conforming to the
See moreSCKViewDelegate
protocol must implement a method required to set a color schedule view events.Declaration
Swift
@objc public protocol SCKViewDelegate