Interface UICollisionBehaviorDelegate


  • public interface UICollisionBehaviorDelegate
    • Method Detail

      • collisionBehaviorBeganContactForItemWithBoundaryIdentifierAtPoint

        default void collisionBehaviorBeganContactForItemWithBoundaryIdentifierAtPoint​(@NotNull
                                                                                       @NotNull UICollisionBehavior behavior,
                                                                                       @NotNull
                                                                                       @NotNull UIDynamicItem item,
                                                                                       @Nullable
                                                                                       @Nullable java.lang.Object identifier,
                                                                                       CGPoint p)
        The identifier of a boundary created with translatesReferenceBoundsIntoBoundary or setTranslatesReferenceBoundsIntoBoundaryWithInsets is nil
      • collisionBehaviorBeganContactForItemWithItemAtPoint

        default void collisionBehaviorBeganContactForItemWithItemAtPoint​(@NotNull
                                                                         @NotNull UICollisionBehavior behavior,
                                                                         @NotNull
                                                                         @NotNull UIDynamicItem item1,
                                                                         @NotNull
                                                                         @NotNull UIDynamicItem item2,
                                                                         CGPoint p)
      • collisionBehaviorEndedContactForItemWithBoundaryIdentifier

        default void collisionBehaviorEndedContactForItemWithBoundaryIdentifier​(@NotNull
                                                                                @NotNull UICollisionBehavior behavior,
                                                                                @NotNull
                                                                                @NotNull UIDynamicItem item,
                                                                                @Nullable
                                                                                @Nullable java.lang.Object identifier)
      • collisionBehaviorEndedContactForItemWithItem

        default void collisionBehaviorEndedContactForItemWithItem​(@NotNull
                                                                  @NotNull UICollisionBehavior behavior,
                                                                  @NotNull
                                                                  @NotNull UIDynamicItem item1,
                                                                  @NotNull
                                                                  @NotNull UIDynamicItem item2)