MonoTouch.UIKit.UIDynamicBehavior Class
The base class for items that describe the physics-like behaviors of UIKit Dynamics, introduced in iOS 7.

See Also: UIDynamicBehavior Members

Syntax

[MonoTouch.Foundation.Register("UIDynamicBehavior", true)]
[MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.iOS_7_0)]
public class UIDynamicBehavior : MonoTouch.Foundation.NSObject

Remarks

A number of MonoTouch.UIKit.UIDynamicBehaviors are associated with a MonoTouch.UIKit.UIDynamicAnimator, which is responsible for the overall context. Any given MonoTouch.UIKit.UIDynamicBehavior is associated with some amount of MonoTouch.UIKit.IUIDynamicItems (such as MonoTouch.UIKit.UIViews and MonoTouch.UIKit.UICollectionViewLayoutAttributes); most subclasses of MonoTouch.UIKit.UIDynamicBehavior expose these in an Items property or application developers can retrieve them with UIDynamicAnimator.GetDynamicItems.

There are a number of predefined subclasses of MonoTouch.UIKit.UIDynamicBehavior:

SubclassBehavior
MonoTouch.UIKit.UIAttachmentBehavior Attachment: Specifies a dynamic connection between two MonoTouch.UIKit.IUIDynamicItems or between a MonoTouch.UIKit.IUIDynamicItem and a fixed point.
MonoTouch.UIKit.UICollisionBehavior Collision: Detects when the boundaries of a MonoTouch.UIKit.IUIDynamicItem meet another boundary.
MonoTouch.UIKit.UIGravityBehavior Gravity: Accelerates the MonoTouch.UIKit.IUIDynamicItem towards the bottom of the screen.
MonoTouch.UIKit.UIDynamicItemBehavior Animation: Specifies an animation configuration to apply to one or more MonoTouch.UIKit.IUIDynamicItems.
MonoTouch.UIKit.UIPushBehavior Pushing: Applies a continuous or instantaneous force vector to a MonoTouch.UIKit.IUIDynamicItem.
MonoTouch.UIKit.UISnapBehavior Snapping: Specifies a magnetism-like attraction between a MonoTouch.UIKit.IUIDynamicItem and a fixed point. Includes a rebounding effect.

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0