Package apple.uikit

Class UISpringTimingParameters

    • Constructor Detail

      • UISpringTimingParameters

        protected UISpringTimingParameters​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • initWithDampingRatio

        public UISpringTimingParameters initWithDampingRatio​(double ratio)
        Equivalent to initWithDampingRatio:initialVelocity: where the velocity is the zero-vector.
      • initWithDampingRatioInitialVelocity

        public UISpringTimingParameters initWithDampingRatioInitialVelocity​(double ratio,
                                                                            CGVector velocity)
        Performs `animations` using a timing curve described by the motion of a spring. When `dampingRatio` is 1, the animation will smoothly decelerate to its final model values without oscillating. Damping ratios less than 1 will oscillate more and more before coming to a complete stop. You can use the initial spring velocity to specify how fast the object at the end of the simulated spring was moving before it was attached. It's a unit coordinate system, where 1 is defined as traveling the total animation distance in a second. So if you're changing an object's position by 200pt in this animation, and you want the animation to behave as if the object was moving at 100pt/s before the animation started, you'd pass 0.5. You'll typically want to pass 0 for the velocity. Velocity is specified as a vector for the convenience of animating position changes. For 1-dimensional properties the x-coordinate of the velocity vector is used.
      • initWithMassStiffnessDampingInitialVelocity

        public UISpringTimingParameters initWithMassStiffnessDampingInitialVelocity​(double mass,
                                                                                    double stiffness,
                                                                                    double damping,
                                                                                    CGVector velocity)
        Similar to initWithDampingRatio:initialVelocity: except this allows you to specify the spring constants for the underlying CASpringAnimation directly. The duration is computed assuming a small settling oscillation.
      • initialVelocity

        public CGVector initialVelocity()
      • initWithDurationBounce

        public UISpringTimingParameters initWithDurationBounce​(double duration,
                                                               double bounce)
        Equivalent to initWithDuration:bounce:initialVelocity: where the velocity is the zero-vector. API-Since: 17.0
      • initWithDurationBounceInitialVelocity

        public UISpringTimingParameters initWithDurationBounceInitialVelocity​(double duration,
                                                                              double bounce,
                                                                              CGVector velocity)
        Similar to initWithMass:stiffness:damping:initialVelocity: except this creates a set of parameters that is specified by perceptual duration and bounce. The `duration` specified here is a perceptual duration that defines the pace of the spring. This is approximately equal to the settling duration, but for very bouncy springs, will be the duration of the period of oscillation for the spring. When `bounce` is 0, there are no bounces, positive values indicate increasing amounts of bounciness up to a maximum of 1.0 (corresponding to undamped oscillation), and negative values indicate overdamped springs with a minimum value of -1.0. API-Since: 17.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.