addChildBehavior
TypeScriptaddChildBehavior(behavior: UIDynamicBehavior): Promise<void>Swift declarationfunc addChildBehavior(_ behavior: UIDynamicBehavior)class · iOS 7.0+ · SDK 27.1
@MainActor class UIDynamicBehavioraddChildBehavior(behavior: UIDynamicBehavior): Promise<void>Swift declarationfunc addChildBehavior(_ behavior: UIDynamicBehavior)static init(): Promise<UIDynamicBehavior>Swift declarationinit()removeChildBehavior(behavior: UIDynamicBehavior): Promise<void>Swift declarationfunc removeChildBehavior(_ behavior: UIDynamicBehavior)willMove(dynamicAnimator?: (UIDynamicAnimator) | null): Promise<void>Swift declarationfunc willMove(to dynamicAnimator: UIDynamicAnimator?)get action(): Promise<((() => Promise<void>)) | null>Swift declarationvar action: (() -> Void)? { get set }setAction(value?: ((() => void)) | null): Promise<void>Swift declarationvar action: (() -> Void)? { get set }get childBehaviors(): Promise<Array<UIDynamicBehavior>>Swift declarationvar childBehaviors: [UIDynamicBehavior] { get }get dynamicAnimator(): Promise<(UIDynamicAnimator) | null>Swift declarationvar dynamicAnimator: UIDynamicAnimator? { get }No declarations were skipped in this snapshot.