Class UISnapBehavior

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class UISnapBehavior
extends UIDynamicBehavior
  • Constructor Details

    • UISnapBehavior

      public UISnapBehavior()
    • UISnapBehavior

      protected UISnapBehavior​(NSObject.Handle h, long handle)
    • UISnapBehavior

      protected UISnapBehavior​(NSObject.SkipInit skipInit)
    • UISnapBehavior

      public UISnapBehavior​(UIDynamicItem item, CGPoint point)
  • Method Details

    • getSnapPoint

      public CGPoint getSnapPoint()
      Since:
      Available in iOS 9.0 and later.
    • setSnapPoint

      public void setSnapPoint​(CGPoint v)
      Since:
      Available in iOS 9.0 and later.
    • getDamping

      public double getDamping()
    • setDamping

      public void setDamping​(double v)
    • init

      protected long init​(UIDynamicItem item, CGPoint point)