SCKConcreteEventRequest
public final class SCKConcreteEventRequest<T>: SCKEventRequest
The SCKConcreteEventRequest is a convenience generic (thus, Swift-only)
SCKEventRequest subclass that replaces the base class when the owning
SCKViewController is working with a type-specific delegate, which allows
you work in a more type-safe way.
-
If not canceled or already completed, fulfills the request passing back the suitable
SCKEventobjects to the owningSCKViewController. In addition, the request will be released by its owningSCKViewControllerobject, so if you don’t own any other strong references to it, it will be also deallocated.Parameter
Parameter events: The asynchronously loaded events.Warning
This method must be called from the main thread.Declaration
Swift
public func complete<T:SCKEvent>(with events: [T])Parameters
eventsThe asynchronously loaded events.
View on GitHub
Install in Dash
SCKConcreteEventRequest Class Reference