Upravit

Sdílet prostřednictvím


UICollisionBehaviorDelegate_Extensions Class

Definition

Extension methods to the IUICollisionBehaviorDelegate interface to support all the methods from the UICollisionBehaviorDelegate protocol.

public static class UICollisionBehaviorDelegate_Extensions
type UICollisionBehaviorDelegate_Extensions = class
Inheritance
UICollisionBehaviorDelegate_Extensions

Remarks

The extension methods for IUICollisionBehaviorDelegate allow developers to treat instances of the interface as having all the optional methods of the original UICollisionBehaviorDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

BeganBoundaryContact(IUICollisionBehaviorDelegate, UICollisionBehavior, IUIDynamicItem, NSObject, CGPoint)

Indicates that boundary contact has begun between the dynamicItem and the boundaryIdentifier.

BeganContact(IUICollisionBehaviorDelegate, UICollisionBehavior, IUIDynamicItem, IUIDynamicItem, CGPoint)

Indicates that contact between dynamic items has begun.

EndedBoundaryContact(IUICollisionBehaviorDelegate, UICollisionBehavior, IUIDynamicItem, NSObject)

Indicates that the dynamicItem has stopped contacting the boundary.

EndedContact(IUICollisionBehaviorDelegate, UICollisionBehavior, IUIDynamicItem, IUIDynamicItem)

Indicates that the two dynamic items have stopped contacting each other.

Applies to