AppleViewAnimationOption - UBogun/Xojo-iosLib GitHub Wiki
Inherits from ./.
Memory leak check: passed
Status: complete
This is a helper class for AppleView animations, not a native iOS object.
AppleView animation method calls demand an option value, basically just an UInteger. This class exists to make handling the options easier. There are some often used predefined class methods you can use to pass to an animation option, or create a new iOSLibViewAnimation instance and set its properties manually before passing it to the method.
Constructor
Constructor(): Creates a new AnimationOption.
Properties – all are Booleans except Option which is the UInteger representing the value.
AllowAnimatedContent: If true, the view properties are animated dynamically. If False, a bitmap representation is used for animating them.
AllowUserInteraction: Reacts on user events during animation if true.
AutoReverse: If True, plays the animation backwards after reaching the end.
BeginFromCurrentState: If another animation is running on the view and this property is true, the animation starts instanteneously and with the current animation representation. If False, it will start after the current animation has finished.
LayoutSubviews: If True, subviews are animated along with their parent.
OverrideInheritedCurve: If another animation is running, its curve is picked up if this value is false. If true, the iOSLibViewAnimationCurve that was sent with the new animation call is used.
OverrideInheritedDuration: Same as above but for the duration.
OverrideInheritedOptions: Same as above but for animation type and all options.
Repeat: Repeats the animation endlessly.
ShowHideTransitionViews: If true, causes views to be hidden or shown (instead of removed or added) when performing a view transition. Both views must already be present in the parent view’s hierarchy when using this key. If False, the to-view in a transition is added to, and the from-view is removed from, the parent view’s list of subviews.
Shared Properties – all are presets for frequently used options of type iOSLibViewAnimationoption
OptionAutoReverse: AutoReverse = True.
OptionNone: Just another way of creating an empty Option besied Constructor.
OptionRepeat: Repeat = True.
OptionRepeatAndReverse: You name it!