Event

public final class Event
extension Event: CustomDebugStringConvertible

The Event interface is used to provide information.

  • A structure that defines the name of an event.

    See more

    Declaration

    Swift

    public struct Name : RawRepresentable, ExpressibleByStringLiteral
  • Undocumented

    Declaration

    Swift

    public static func from(_ notification: Notification) -> Event
  • The type represents the event name.

    Declaration

    Swift

    public fileprivate(set) var type: Name { get }
  • The isBubbles indicates whether ot not an event is a bubbling event.

    Declaration

    Swift

    public fileprivate(set) var bubbles: Bool { get }
  • The data indicates the to provide information.

    Declaration

    Swift

    public fileprivate(set) var data: Any? { get }
  • The target indicates the [IEventDispatcher].

    Declaration

    Swift

    public fileprivate(set) var target: AnyObject? { get }
  • Creates a new event.

    Declaration

    Swift

    public init(type: Name, bubbles: Bool = false, data: Any? = nil)

CustomDebugStringConvertible

  • Declaration

    Swift

    public var debugDescription: String { get }