Other Functions
The following functions are available globally.
-
Checks if two DiagramItem-s are equal.
Declaration
Swift
public func == (lhs: DiagramItem, rhs: DiagramItem) -> BoolReturn Value
true if the DiagramItem-s are equal; otherwise false.
-
Attaches and detaches event handlers.
Declaration
Swift
@discardableResult public func +=<T>( event: Event<T>, handler: @escaping (AnyObject, T) -> Void) -> IntParameters
eventAn event that uses event arguments of type T.
handlerThe handler for this event, which can be sent by any object and uses event arguments of type T.
Return Value
An integer, which represents a unique id number for this event.
-
Compares two MeasureUnit-s.
Declaration
Swift
public func == (left: MeasureUnit, right: MeasureUnit) -> BoolParameters
leftThe first MeasureUnit to compare.
rightThe second MeasureUnit to compare.
Return Value
true if the MeasureUnit-s are euqal; otherwise false.
-
Undocumented
Declaration
Swift
public func == (lhs: TreeViewItem, rhs: TreeViewItem) -> Bool
Other Functions Reference