房间vc添加启动方法
This commit is contained in:
@@ -11,9 +11,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@class XPRoomBackContainerView,RoomHeaderView,XPRoomMessageContainerView,XPRoomMenuContainerView,XPRoomActivityContainerView, XPRoomPositionContainView, RoomInfoModel, UserInfoModel, SocialStageView;
|
||||
@interface XPRoomViewController : MvpViewController
|
||||
|
||||
///房间的Uid
|
||||
@property (nonatomic,copy) NSString * roomUid;
|
||||
|
||||
///背景
|
||||
@property (nonatomic,strong, readonly) XPRoomBackContainerView *backContainerView;
|
||||
///房间信息
|
||||
@@ -31,6 +28,17 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
///用户信息
|
||||
@property (nonatomic,strong, readonly) UserInfoModel *userInfo;
|
||||
|
||||
/** XPRoomViewController 不允许外部 init ,请通过该方法启动房间。
|
||||
* @params roomUid 房主uid
|
||||
* @params viewController 启动方
|
||||
*/
|
||||
+ (BOOL)openRoom:(NSString*)roomUid viewController:(UIViewController*)viewController;
|
||||
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
+ (instancetype)new NS_UNAVAILABLE;
|
||||
- (id)copy NS_UNAVAILABLE;
|
||||
- (id)mutableCopy NS_UNAVAILABLE;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
Reference in New Issue
Block a user