JubeatPlus 3.9.11
Loading...
Searching...
No Matches
MusicShareView.h
Go to the documentation of this file.
1
15
16#import <UIKit/UIKit.h>
17
18NS_ASSUME_NONNULL_BEGIN
19
20@class MCPeerID;
22
26@interface MusicShareView : UIView <UITableViewDataSource, UITableViewDelegate>
27
33@property(nonatomic, weak, nullable) MusicSelectViewController *controller;
34
40+ (Class)layerClass;
41
53- (instancetype)initWithFrame:(CGRect)frame;
54
60- (void)pushCancel:(nullable id)sender;
61
68
75
82
89- (void)addHost:(nonnull MCPeerID *)host;
90
99- (void)removeHostTmp:(nonnull MCPeerID *)host;
100
108- (void)addHost:(nonnull MCPeerID *)host name:(nonnull NSString *)name;
109
118- (void)removeHost:(nonnull MCPeerID *)host;
119
120@end
121
122NS_ASSUME_NONNULL_END
123
124// code: language=Objective-C
125// kate: hl Objective-C;
126// vim: set ft=objc :
The screen the player picks a song from.
Definition MusicSelectViewController.h:73
A modal peer-host picker for sharing music, laid over a dimmed gradient board.
Definition MusicShareView.h:26
MusicSelectViewController * controller
The owning controller, told which host to connect to and when the panel is cancelled.
Definition MusicShareView.h:33
void changeClientModeConnecting()
Enters the connecting state: locks the host table against selection and shows "Connecting".
Definition MusicShareView.m:234
void changeClientModeConnected()
Enters the connected state: detaches the host table as data source and delegate, fades it and its sha...
Definition MusicShareView.m:242
Class layerClass()
Backs the view with a CAGradientLayer .
Definition MusicShareView.m:105
void changeClientModeSearch()
Enters the searching state: shows "Searching hosts", makes the host table selectable,...
Definition MusicShareView.m:222