32 lines
649 B
Objective-C
32 lines
649 B
Objective-C
//
|
||
// RoomAnimationProtocol.h
|
||
// YUMI
|
||
//
|
||
// Created by zu on 2022/1/13.
|
||
//
|
||
|
||
#import <Foundation/Foundation.h>
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
/** XPRoomAnimationView 用到的协议。
|
||
|
||
RoomVC 的子 View 之间的通信协议,通过 RoomHostDelegate 和 RoomGuestDelegate 继承实现。
|
||
|
||
调用方向:XPRoomAnimationView —> RoomHostDelegate —> RoomAnimationProtocol(RoomGuestDelegate继承)
|
||
|
||
*/
|
||
@protocol RoomAnimationProtocol <NSObject>
|
||
|
||
@optional
|
||
/**
|
||
* StageView 专用。
|
||
*/
|
||
- (CGPoint)animationPointAtStageViewByUid:(NSString *)uid;
|
||
|
||
- (CGPoint)animationPointAtStageViewByIndex:(NSInteger)index;
|
||
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|