22#import <UIKit/UIKit.h>
36NS_ASSUME_NONNULL_BEGIN
49 UINavigationControllerDelegate,
51 UIPopoverPresentationControllerDelegate,
60- (instancetype)initWithFrame:(CGRect)frame;
68- (void)setInfo:(nullable
TuneInfo *)info score:(nullable
id)score;
76- (void)setExtendInfo:(nullable
TuneInfo *)info score:(nullable
id)score;
89- (void)loadContentFromDictionary:(nullable NSDictionary *)dict;
97- (void)loadContentFromPath:(nullable NSString *)path orData:(nullable NSData *)data;
104- (void)show:(BOOL)show;
118- (void)showDataProgress:(BOOL)show animated:(BOOL)animated;
125- (void)activateAnim:(BOOL)activate;
132- (void)pushLink:(nullable
id)sender;
140- (void)pushRecommend:(nullable
id)sender;
175- (void)socialSend:(nullable NSString *)service sendText:(nullable NSString *)text;
182- (void)sendTwitter:(nullable NSString *)text;
202- (void)putExtendScore:(nullable
ScoreRecord *)score;
268- (void)downloadEnd:(nullable
id)sender;
276- (void)moveStore:(nullable
id)store packID:(nullable NSString *)packID;
289- (void)dtpGesture:(nullable UITapGestureRecognizer *)gesture;
302- (void)lpGesture:(nullable UILongPressGestureRecognizer *)gesture;
316- (CGPoint)getDifficultyPos:(
int)difficulty;
324#pragma mark - Properties
329@property(nonatomic, strong, nullable) UIView *
coverView;
347@property(nonatomic, strong, nullable) UIImageView *
randView;
356@property(nonatomic, strong, nullable) UIScrollView *
scrollView;
361@property(nonatomic, strong, nullable) UIPopoverController *
pLoadList;
402@property(nonatomic, strong, nullable) NSData *
mbarBas;
404@property(nonatomic, strong, nullable) NSData *
mbarAdv;
406@property(nonatomic, strong, nullable) NSData *
mbarExt;
408@property(nonatomic, assign) BOOL
isPad;
456@property(nonatomic, strong, nullable) UIView *
topcover;
463@interface MusicDetailView (ThemeOverrides)
475- (void)infoChange:(
int)difficulty;
A popover listing the player's saved edit charts.
The modal board that looks up which purchasable pack contains a given tune.
A table of saved edit charts that supports deleting a chart by swiping a row.
Definition EditFileListViewDeleteController.h:50
A modal navigation controller that edits a custom sequence's metadata.
Definition EditModalView.h:56
Hosts the jubeatLab custom-sequence download web page in a navigation controller.
Definition JcfDownloadPageNavController.h:40
Hosts the downloaded custom-sequence management list in a navigation controller.
Definition JcfManageNavController.h:39
The music-selection detail card shown when a tune is picked.
Definition MusicDetailView.h:52
UIScrollView * scrollView
The edit-file list scroll view.
Definition MusicDetailView.h:356
NSData * mbarExt
The base-chart extreme music bar.
Definition MusicDetailView.h:406
JcfManageNavController * jcfMan
The jcf manage navigation controller.
Definition MusicDetailView.h:374
UIProgressView * shareDataProgress
The share-data progress bar.
Definition MusicDetailView.h:343
char levelExt
The base-chart extreme level.
Definition MusicDetailView.h:385
NSString * socialType
The selected social service type.
Definition MusicDetailView.h:454
UIButton * buttonHostSharePlay
The host-share-play button.
Definition MusicDetailView.h:339
UIImageView * randView
The random-select marker.
Definition MusicDetailView.h:347
EditFileListViewDeleteController * pFileListView
The edit-file delete list controller.
Definition MusicDetailView.h:359
void loadEditFile()
Loads the tune's last edit file into the shared edit data manager, or clears it.
Definition MusicDetailView.m:524
BOOL extendFullComboBas
The extend-chart basic full-combo flag.
Definition MusicDetailView.h:433
void editModalViewDelegateSaveEditFile()
Edit-modal delegate: forwards to -saveEditFile.
Definition MusicDetailView.m:544
NSString * customIndex
The share index string.
Definition MusicDetailView.h:376
NSData * extendMbarExt
The extend-chart extreme music bar.
Definition MusicDetailView.h:447
UIPopoverController * pLoadList
The edit-file list popover.
Definition MusicDetailView.h:361
char levelAdv
The base-chart advanced level.
Definition MusicDetailView.h:383
UIImageView * tuneNameView
The tune-name plate.
Definition MusicDetailView.h:335
BOOL isShared
Whether the card is in host-share mode.
Definition MusicDetailView.h:354
TuneInfo * info
The base-chart tune.
Definition MusicDetailView.h:327
MusicSelectViewController * controller
The owning music-select controller.
Definition MusicDetailView.h:450
NSData * mbarAdv
The base-chart advanced music bar.
Definition MusicDetailView.h:404
UIButton * buttonLink
The link-to-store button.
Definition MusicDetailView.h:345
UIButton * buttonStartPlay
The start-play button.
Definition MusicDetailView.h:337
int extendScoreAdv
The extend-chart advanced score.
Definition MusicDetailView.h:428
void hostShareCancelled()
Empty in this build.
Definition MusicDetailView.m:219
BOOL isStarted
Whether play has started.
Definition MusicDetailView.h:413
UIImageView * artworkView
The artwork image.
Definition MusicDetailView.h:331
BOOL isSharedStartable
Whether the host share is startable.
Definition MusicDetailView.h:416
BOOL extendFullComboExt
The extend-chart extreme full-combo flag.
Definition MusicDetailView.h:439
BOOL isRetina
Whether the device is a retina phone.
Definition MusicDetailView.h:411
char extendLevelExt
The extend-chart extreme level.
Definition MusicDetailView.h:424
UIImageView * reflectionArtworkView
The mirrored-artwork reflection.
Definition MusicDetailView.h:333
BOOL extendFullComboAdv
The extend-chart advanced full-combo flag.
Definition MusicDetailView.h:436
BOOL fullComboBas
The base-chart basic full-combo flag.
Definition MusicDetailView.h:394
SearchPackIDView * searchPackView
The pack-id search sheet.
Definition MusicDetailView.h:452
int editPage
The current edit page index.
Definition MusicDetailView.h:368
int scoreBas
The base-chart basic score.
Definition MusicDetailView.h:387
BOOL checkEnableInfoChange()
Whether the tune's info may be changed (no host share, a local last-edit file, iPad).
Definition MusicDetailView.m:549
int extendScoreBas
The extend-chart basic score.
Definition MusicDetailView.h:426
NSData * mbarBas
The base-chart basic music bar.
Definition MusicDetailView.h:402
int extendScoreExt
The extend-chart extreme score.
Definition MusicDetailView.h:430
void setStartButtonEnable()
Empty in this build.
Definition MusicDetailView.m:618
UIButton * btnRecommendTwitter
The Twitter recommend button.
Definition MusicDetailView.h:349
void changeExtendMode()
Empty in this build.
Definition MusicDetailView.m:640
nullable NSString * getRecommendString()
The recommend string from the pack-search view, or nil when none is installed.
Definition MusicDetailView.m:317
BOOL isEditInfoOpen
Whether the edit-info modal is open.
Definition MusicDetailView.h:379
UIView * coverView
The full-card dimming cover.
Definition MusicDetailView.h:329
nullable NSDictionary * infoDictForShare()
Builds the share dictionary by decrypting the tune's packed assets over its base dict.
Definition MusicDetailView.m:460
BOOL fullComboExt
The base-chart extreme full-combo flag.
Definition MusicDetailView.h:400
void refreshStartButton()
Empty in this build.
Definition MusicDetailView.m:627
void close()
Asks the controller to close the detail view.
Definition MusicDetailView.m:453
BOOL checkEnableUpload()
Whether the tune may be uploaded (as -checkEnableInfoChange plus a non-empty note count).
Definition MusicDetailView.m:564
BOOL checkEnableEdit()
Whether the tune's chart may be edited (no host share, a local last-edit file, iPad).
Definition MusicDetailView.m:580
void clearInfo()
Empty in this build.
Definition MusicDetailView.m:203
BOOL isFirstSelect
Whether this is the first selection.
Definition MusicDetailView.h:364
UIButton * btnRecommendFacebook
The Facebook recommend button.
Definition MusicDetailView.h:351
void closePopWindow()
Dismisses the edit popover or jcf download page and closes the detail view.
Definition MusicDetailView.m:442
BOOL isPad
Whether the device is an iPad.
Definition MusicDetailView.h:408
char levelBas
The base-chart basic level.
Definition MusicDetailView.h:381
void refreshInfo()
Empty in this build.
Definition MusicDetailView.m:649
TuneInfo * extendInfo
The extend-chart tune.
Definition MusicDetailView.h:418
BOOL fullComboAdv
The base-chart advanced full-combo flag.
Definition MusicDetailView.h:397
void searchViewDealloc()
Removes the pack-search view and the dimming cover, then releases both.
Definition MusicDetailView.m:325
void resetScore()
Resets every base and extend score to -1, clears full-combo flags, and drops music bars.
Definition MusicDetailView.m:356
UILabel * labelShareMessage
The share-status message label.
Definition MusicDetailView.h:341
int scoreExt
The base-chart extreme score.
Definition MusicDetailView.h:391
NSData * extendMbarBas
The extend-chart basic music bar.
Definition MusicDetailView.h:441
char extendLevelAdv
The extend-chart advanced level.
Definition MusicDetailView.h:422
EditModalView * pEditModalView
The edit modal.
Definition MusicDetailView.h:366
UIView * topcover
The recommend dimming cover.
Definition MusicDetailView.h:456
JcfDownloadPageNavController * jcfDownloadPage
The jcf download navigation controller.
Definition MusicDetailView.h:371
int scoreAdv
The base-chart advanced score.
Definition MusicDetailView.h:389
char extendLevelBas
The extend-chart basic level.
Definition MusicDetailView.h:420
void saveEditFile()
Saves the shared edit data back to the tune's last edit file, when one exists.
Definition MusicDetailView.m:535
NSData * extendMbarAdv
The extend-chart advanced music bar.
Definition MusicDetailView.h:444
The screen the player picks a song from.
Definition MusicSelectViewController.h:73
One tune's scores, as stored by Core Data: the per-difficulty best score, play-mode marker,...
Definition ScoreRecord.h:19
A gradient-backed board that resolves the pack owning a tune and reports the outcome.
Definition SearchPackIDView.h:55
A tune, its three difficulty levels, and how it sorts.
Definition TuneInfo.h:20
What an EditFileListViewController tells its owner.
Definition EditFileListViewController.h:26
What a SearchPackIDView tells its owner once the pack lookup settles.
Definition SearchPackIDView.h:33