public interface UISpringLoadedInteractionContext
| Modifier and Type | Method and Description |
|---|---|
CGPoint |
locationInView(UIView view)
Returns the point computed as the location of the current drag in a given view.
|
void |
setTargetItem(java.lang.Object value)
The `targetItem` allows to distinguish a region of the view on which the interaction is installed.
|
void |
setTargetView(UIView value)
The view to which the interaction effect is applied.
|
long |
state()
The state that describes the current springloading style.
|
java.lang.Object |
targetItem()
The `targetItem` allows to distinguish a region of the view on which the interaction is installed.
|
UIView |
targetView()
The view to which the interaction effect is applied.
|
CGPoint locationInView(UIView view)
view - A view on which the drag is taking place. Specify nil to indicate the window.void setTargetItem(java.lang.Object value)
void setTargetView(UIView value)
long state()
java.lang.Object targetItem()
UIView targetView()