- 
                  
                  Adds the event listener of the given EventType.Remark When attaching a listener on the wrong object the application will crash. DeclarationSwift func addEventListener<E>(type: EventType<E>, listener: @escaping (E) -> ()) -> EventListener where E : EventProtocolParameterstypeEventTypeof the added event listener. SeeYospaceEventTypesfor possible values.listenerClosure called when event is dispatched. Return ValueThe newly added EventListener.
- 
                  
                  Removes the event listener for the given EventType.DeclarationSwift func removeEventListener<E>(type: EventType<E>, listener: EventListener) where E : EventProtocolParameterstypeEventTypeof the event listener to be removed. SeeYospaceEventTypesfor possible values.listenerEventListener which was added byaddEventListener(…)`.
 Yospace Protocol Reference
      Yospace Protocol Reference