16#import <UIKit/UIKit.h>
18NS_ASSUME_NONNULL_BEGIN
26@interface MusicShareView : UIView <UITableViewDataSource, UITableViewDelegate>
53- (instancetype)initWithFrame:(CGRect)frame;
60- (void)pushCancel:(nullable id)sender;
89- (void)addHost:(nonnull MCPeerID *)host;
99- (void)removeHostTmp:(nonnull MCPeerID *)host;
108- (void)addHost:(nonnull MCPeerID *)host name:(nonnull NSString *)name;
118- (void)removeHost:(nonnull MCPeerID *)host;
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