|
JubeatPlus 3.9.11
|
The music-selection detail card shown when a tune is picked. More...
#include <MusicDetailView.h>


Instance Methods | |
| (instancetype) | - initWithFrame: |
| Designated initialiser; builds every subview at the origin and hides the modal chrome. | |
| (void) | - setInfo:score: |
| Stores the base-chart tune; the score argument is ignored. | |
| (void) | - setExtendInfo:score: |
| Stores the extend-chart tune; the score argument is ignored. | |
| (void) | - clearInfo |
| Empty in this build. | |
| (void) | - loadContentFromDictionary: |
| Empty in this build. | |
| (void) | - loadContentFromPath:orData: |
| Empty in this build. | |
| (void) | - show: |
| Empty in this build. | |
| (void) | - hostShareCancelled |
| Empty in this build. | |
| (void) | - showDataProgress:animated: |
| Empty in this build. | |
| (void) | - activateAnim: |
| Empty in this build. | |
| (void) | - pushLink: |
| Opens the tune's iTunes URL in the browser, when it has one. | |
| (void) | - pushRecommend: |
| Starts the recommend flow: picks the social network from the sender's tag, dims the card, installs the pack-search sheet, and animates it in. | |
| (void) | - packIDSearchEnd: |
| Pack-search delegate: the search resolved; fades the sheet out and posts the share text. | |
| (void) | - packIDSearchCancel: |
| Pack-search delegate: the search was cancelled; fades the sheet and scrim out. | |
| (nullable NSString *) | - getRecommendString |
The recommend string from the pack-search view, or nil when none is installed. | |
| (void) | - searchViewDealloc |
| Removes the pack-search view and the dimming cover, then releases both. | |
| (void) | - socialSend:sendText: |
Presents an SLComposeViewController for the given service, seeded with the text. | |
| (void) | - sendTwitter: |
| Presents the Twitter composer with the given text. | |
| (void) | - resetScore |
| Resets every base and extend score to -1, clears full-combo flags, and drops music bars. | |
| (void) | - putScore: |
| Populates the base-chart score, full-combo flags, and music bars from a score record. | |
| (void) | - putExtendScore: |
| Populates the extend-chart score, full-combo flags, and music bars from a score record. | |
| (void) | - closePopWindow |
| Dismisses the edit popover or jcf download page and closes the detail view. | |
| (void) | - close |
| Asks the controller to close the detail view. | |
| (nullable NSDictionary *) | - infoDictForShare |
| Builds the share dictionary by decrypting the tune's packed assets over its base dict. | |
| (void) | - loadEditFile |
| Loads the tune's last edit file into the shared edit data manager, or clears it. | |
| (void) | - saveEditFile |
| Saves the shared edit data back to the tune's last edit file, when one exists. | |
| (void) | - editModalViewDelegateSaveEditFile |
Edit-modal delegate: forwards to -saveEditFile. | |
| (BOOL) | - checkEnableInfoChange |
| Whether the tune's info may be changed (no host share, a local last-edit file, iPad). | |
| (BOOL) | - checkEnableUpload |
Whether the tune may be uploaded (as -checkEnableInfoChange plus a non-empty note count). | |
| (BOOL) | - checkEnableEdit |
| Whether the tune's chart may be edited (no host share, a local last-edit file, iPad). | |
| (void) | - downloadEnd: |
| Jcf download-end delegate: on non-iPad, reloads the manage list from the tune's files. | |
| (void) | - moveStore:packID: |
| Dismisses the presented controller and turns the parent to the pack-purchase store page. | |
| (void) | - setStartButtonEnable |
| Empty in this build. | |
| (void) | - dtpGesture: |
| Double-tap gesture on the artwork: asks the controller to select a random tune. | |
| (void) | - refreshStartButton |
| Empty in this build. | |
| (void) | - lpGesture: |
| Long-press gesture on the artwork: toggles the app's random flag on the began state. | |
| (void) | - changeExtendMode |
| Empty in this build. | |
| (CGPoint) | - getDifficultyPos: |
The on-screen position for a difficulty; always CGPointZero in this build. | |
| (void) | - refreshInfo |
| Empty in this build. | |
| (void) | - infoChange: |
| Declared, never implemented on the base: the concrete theme subclasses supply the body. | |
| Instance Methods inherited from <EditFileListViewDelegate> | |
| (void) | - editFileListViewSelectItem: |
| Sent when a chart is chosen. | |
| Instance Methods inherited from <SearchPackIDViewDelegate> | |
| (void) | - packIDSearchFailed: |
| Sent when the lookup completed but no pack contains the tune. | |
Properties | |
| TuneInfo * | info |
| The base-chart tune. | |
| UIView * | coverView |
| The full-card dimming cover. | |
| UIImageView * | artworkView |
| The artwork image. | |
| UIImageView * | reflectionArtworkView |
| The mirrored-artwork reflection. | |
| UIImageView * | tuneNameView |
| The tune-name plate. | |
| UIButton * | buttonStartPlay |
| The start-play button. | |
| UIButton * | buttonHostSharePlay |
| The host-share-play button. | |
| UILabel * | labelShareMessage |
| The share-status message label. | |
| UIProgressView * | shareDataProgress |
| The share-data progress bar. | |
| UIButton * | buttonLink |
| The link-to-store button. | |
| UIImageView * | randView |
| The random-select marker. | |
| UIButton * | btnRecommendTwitter |
| The Twitter recommend button. | |
| UIButton * | btnRecommendFacebook |
| The Facebook recommend button. | |
| BOOL | isShared |
| Whether the card is in host-share mode. | |
| UIScrollView * | scrollView |
| The edit-file list scroll view. | |
| EditFileListViewDeleteController * | pFileListView |
| The edit-file delete list controller. | |
| UIPopoverController * | pLoadList |
| The edit-file list popover. | |
| BOOL | isFirstSelect |
| Whether this is the first selection. | |
| EditModalView * | pEditModalView |
| The edit modal. | |
| int | editPage |
| The current edit page index. | |
| JcfDownloadPageNavController * | jcfDownloadPage |
| The jcf download navigation controller. | |
| JcfManageNavController * | jcfMan |
| The jcf manage navigation controller. | |
| NSString * | customIndex |
| The share index string. | |
| BOOL | isEditInfoOpen |
| Whether the edit-info modal is open. | |
| char | levelBas |
| The base-chart basic level. | |
| char | levelAdv |
| The base-chart advanced level. | |
| char | levelExt |
| The base-chart extreme level. | |
| int | scoreBas |
| The base-chart basic score. | |
| int | scoreAdv |
| The base-chart advanced score. | |
| int | scoreExt |
| The base-chart extreme score. | |
| BOOL | fullComboBas |
| The base-chart basic full-combo flag. | |
| BOOL | fullComboAdv |
| The base-chart advanced full-combo flag. | |
| BOOL | fullComboExt |
| The base-chart extreme full-combo flag. | |
| NSData * | mbarBas |
| The base-chart basic music bar. | |
| NSData * | mbarAdv |
| The base-chart advanced music bar. | |
| NSData * | mbarExt |
| The base-chart extreme music bar. | |
| BOOL | isPad |
| Whether the device is an iPad. | |
| BOOL | isRetina |
| Whether the device is a retina phone. | |
| BOOL | isStarted |
| Whether play has started. | |
| BOOL | isSharedStartable |
| Whether the host share is startable. | |
| TuneInfo * | extendInfo |
| The extend-chart tune. | |
| char | extendLevelBas |
| The extend-chart basic level. | |
| char | extendLevelAdv |
| The extend-chart advanced level. | |
| char | extendLevelExt |
| The extend-chart extreme level. | |
| int | extendScoreBas |
| The extend-chart basic score. | |
| int | extendScoreAdv |
| The extend-chart advanced score. | |
| int | extendScoreExt |
| The extend-chart extreme score. | |
| BOOL | extendFullComboBas |
| The extend-chart basic full-combo flag. | |
| BOOL | extendFullComboAdv |
| The extend-chart advanced full-combo flag. | |
| BOOL | extendFullComboExt |
| The extend-chart extreme full-combo flag. | |
| NSData * | extendMbarBas |
| The extend-chart basic music bar. | |
| NSData * | extendMbarAdv |
| The extend-chart advanced music bar. | |
| NSData * | extendMbarExt |
| The extend-chart extreme music bar. | |
| MusicSelectViewController * | controller |
| The owning music-select controller. | |
| SearchPackIDView * | searchPackView |
| The pack-id search sheet. | |
| NSString * | socialType |
| The selected social service type. | |
| UIView * | topcover |
| The recommend dimming cover. | |
The music-selection detail card shown when a tune is picked.
The class declares five delegate protocols in its runtime metadata: UIScrollViewDelegate, UITextFieldDelegate, UINavigationControllerDelegate, EditFileListViewDelegate, and UIPopoverPresentationControllerDelegate. It additionally fills informal (respondsToSelector-checked) delegate roles for the pack-id search view, the edit-modal save callback, the jcf download-end callback, and the host-share cancellation.
| - (void) activateAnim: | (BOOL) | activate |
Empty in this build.
| activate | Whether to activate the animation. |
Reimplemented in MusicDetailViewOrg.
| - (void) changeExtendMode |
Empty in this build.
Reimplemented in MusicDetailViewKnt, MusicDetailViewOrg, and MusicDetailViewRpl.
| - (BOOL) checkEnableEdit |
Whether the tune's chart may be edited (no host share, a local last-edit file, iPad).
YES when editing is allowed. | - (BOOL) checkEnableInfoChange |
Whether the tune's info may be changed (no host share, a local last-edit file, iPad).
YES when editing the info is allowed. | - (BOOL) checkEnableUpload |
Whether the tune may be uploaded (as -checkEnableInfoChange plus a non-empty note count).
YES when uploading is allowed. | - (void) clearInfo |
Empty in this build.
Reimplemented in MusicDetailViewKnt, MusicDetailViewOrg, MusicDetailViewRpl, and ScratchMusicDetailView.
| - (void) close |
Asks the controller to close the detail view.
| - (void) closePopWindow |
Dismisses the edit popover or jcf download page and closes the detail view.
| - (void) downloadEnd: | (nullable id) | sender |
Jcf download-end delegate: on non-iPad, reloads the manage list from the tune's files.
| sender | The download page. |
Reimplemented in MusicDetailViewKnt, MusicDetailViewOrg, and MusicDetailViewRpl.
| - (void) dtpGesture: | (nullable UITapGestureRecognizer *) | gesture |
Double-tap gesture on the artwork: asks the controller to select a random tune.
| gesture | The tap recogniser. |
| - (void) editModalViewDelegateSaveEditFile |
Edit-modal delegate: forwards to -saveEditFile.
| - (CGPoint) getDifficultyPos: | (int) | difficulty |
The on-screen position for a difficulty; always CGPointZero in this build.
| difficulty | The difficulty index. |
CGPointZero. Reimplemented in MusicDetailViewKnt, MusicDetailViewOrg, MusicDetailViewRpl, and ScratchMusicDetailView.
| - (NSString *) getRecommendString |
The recommend string from the pack-search view, or nil when none is installed.
| - (void) hostShareCancelled |
Empty in this build.
Reimplemented in MusicDetailViewKnt, MusicDetailViewOrg, and MusicDetailViewRpl.
| - (void) infoChange: | (int) | difficulty |
Declared, never implemented on the base: the concrete theme subclasses supply the body.
infoChange: (there is no category adding it either). The binary implements this selector only on MusicDetailViewOrg (0x551d4), MusicDetailViewRpl (0x12f538), MusicDetailViewKnt (0x199e88), and ScratchMusicDetailView (0x161f30). The declaration is required because MusicSelectViewController holds the card in a base-typed ivar and sends this selector to it; no subclass calls super, so the base needs no body. | difficulty | The difficulty index to show. |
Reimplemented in MusicDetailViewKnt, MusicDetailViewOrg, MusicDetailViewRpl, and ScratchMusicDetailView.
Provided by category MusicDetailView(ThemeOverrides).
| - (NSDictionary *) infoDictForShare |
Builds the share dictionary by decrypting the tune's packed assets over its base dict.
| - (instancetype) initWithFrame: | (CGRect) | frame |
Designated initialiser; builds every subview at the origin and hides the modal chrome.
| frame | The card's frame. |
nil. Reimplemented in MusicDetailViewKnt, MusicDetailViewOrg, MusicDetailViewRpl, and ScratchMusicDetailView.
| - (void) loadContentFromDictionary: | (nullable NSDictionary *) | dict |
Empty in this build.
| dict | The content dictionary. |
Reimplemented in MusicDetailViewKnt, MusicDetailViewOrg, MusicDetailViewRpl, and ScratchMusicDetailView.
| - (void) loadContentFromPath: | (nullable NSString *) | path | |
| orData: | (nullable NSData *) | data |
Empty in this build.
| path | A file path. |
| data | In-memory data. |
Reimplemented in MusicDetailViewKnt, MusicDetailViewOrg, MusicDetailViewRpl, and ScratchMusicDetailView.
| - (void) loadEditFile |
Loads the tune's last edit file into the shared edit data manager, or clears it.
| - (void) lpGesture: | (nullable UILongPressGestureRecognizer *) | gesture |
Long-press gesture on the artwork: toggles the app's random flag on the began state.
| gesture | The long-press recogniser. |
| - (void) moveStore: | (nullable id) | store | |
| packID: | (nullable NSString *) | packID |
Dismisses the presented controller and turns the parent to the pack-purchase store page.
| store | The store (unused pass-through). |
| packID | The pack id to purchase. |
| - (void) packIDSearchCancel: | (nullable SearchPackIDView *) | view |
Pack-search delegate: the search was cancelled; fades the sheet and scrim out.
| view | The pack-search view. |
Reimplemented from <SearchPackIDViewDelegate>.
| - (void) packIDSearchEnd: | (nullable SearchPackIDView *) | view |
Pack-search delegate: the search resolved; fades the sheet out and posts the share text.
| view | The pack-search view. |
Reimplemented from <SearchPackIDViewDelegate>.
| - (void) pushLink: | (nullable id) | sender |
Opens the tune's iTunes URL in the browser, when it has one.
| sender | The link button. |
| - (void) pushRecommend: | (nullable id) | sender |
Starts the recommend flow: picks the social network from the sender's tag, dims the card, installs the pack-search sheet, and animates it in.
| sender | The tapped recommend button (tag 0 chooses Twitter, otherwise Facebook). |
| - (void) putExtendScore: | (nullable ScoreRecord *) | score |
Populates the extend-chart score, full-combo flags, and music bars from a score record.
| score | The score record, or nil. |
| - (void) putScore: | (nullable ScoreRecord *) | score |
Populates the base-chart score, full-combo flags, and music bars from a score record.
| score | The score record, or nil. |
| - (void) refreshInfo |
Empty in this build.
| - (void) refreshStartButton |
Empty in this build.
Reimplemented in MusicDetailViewKnt, MusicDetailViewOrg, and MusicDetailViewRpl.
| - (void) resetScore |
Resets every base and extend score to -1, clears full-combo flags, and drops music bars.
| - (void) saveEditFile |
Saves the shared edit data back to the tune's last edit file, when one exists.
| - (void) searchViewDealloc |
Removes the pack-search view and the dimming cover, then releases both.
| - (void) sendTwitter: | (nullable NSString *) | text |
Presents the Twitter composer with the given text.
| text | The initial post text. |
| - (void) setExtendInfo: | (nullable TuneInfo *) | info | |
| score: | (nullable id) | score |
Stores the extend-chart tune; the score argument is ignored.
| info | The extend-chart tune. |
| score | The score record (discarded in this build). |
| - (void) setInfo: | (nullable TuneInfo *) | info | |
| score: | (nullable id) | score |
Stores the base-chart tune; the score argument is ignored.
| info | The base-chart tune. |
| score | The score record (discarded in this build). |
Reimplemented in ScratchMusicDetailView.
| - (void) setStartButtonEnable |
Empty in this build.
Reimplemented in MusicDetailViewKnt, MusicDetailViewOrg, and MusicDetailViewRpl.
| - (void) show: | (BOOL) | show |
Empty in this build.
| show | Whether to show the card. |
Reimplemented in MusicDetailViewKnt, MusicDetailViewOrg, and MusicDetailViewRpl.
| - (void) showDataProgress: | (BOOL) | show | |
| animated: | (BOOL) | animated |
Empty in this build.
| show | Whether to show the progress bar. |
| animated | Whether the change is animated. |
Reimplemented in MusicDetailViewKnt, MusicDetailViewOrg, and MusicDetailViewRpl.
| - (void) socialSend: | (nullable NSString *) | service | |
| sendText: | (nullable NSString *) | text |
Presents an SLComposeViewController for the given service, seeded with the text.
| service | The social service type. |
| text | The initial post text; an empty string when nil. |
|
readwritenonatomicstrong |
The artwork image.
|
readwritenonatomicstrong |
The Facebook recommend button.
|
readwritenonatomicstrong |
The Twitter recommend button.
|
readwritenonatomicstrong |
The host-share-play button.
|
readwritenonatomicstrong |
The link-to-store button.
|
readwritenonatomicstrong |
The start-play button.
|
readwritenonatomicweak |
The owning music-select controller.
|
readwritenonatomicstrong |
The full-card dimming cover.
|
readwritenonatomicstrong |
The share index string.
|
readwritenonatomicassign |
The current edit page index.
|
readwritenonatomicassign |
The extend-chart advanced full-combo flag.
|
readwritenonatomicassign |
The extend-chart basic full-combo flag.
|
readwritenonatomicassign |
The extend-chart extreme full-combo flag.
|
readwritenonatomicstrong |
The extend-chart tune.
|
readwritenonatomicassign |
The extend-chart advanced level.
|
readwritenonatomicassign |
The extend-chart basic level.
|
readwritenonatomicassign |
The extend-chart extreme level.
|
readwritenonatomicstrong |
The extend-chart advanced music bar.
|
readwritenonatomicstrong |
The extend-chart basic music bar.
|
readwritenonatomicstrong |
The extend-chart extreme music bar.
|
readwritenonatomicassign |
The extend-chart advanced score.
|
readwritenonatomicassign |
The extend-chart basic score.
|
readwritenonatomicassign |
The extend-chart extreme score.
|
readwritenonatomicassign |
The base-chart advanced full-combo flag.
|
readwritenonatomicassign |
The base-chart basic full-combo flag.
|
readwritenonatomicassign |
The base-chart extreme full-combo flag.
|
readwritenonatomicstrong |
The base-chart tune.
|
readwritenonatomicassign |
Whether the edit-info modal is open.
|
readwritenonatomicassign |
Whether this is the first selection.
|
readwritenonatomicassign |
Whether the device is an iPad.
|
readwritenonatomicassign |
Whether the device is a retina phone.
|
readwritenonatomicassign |
Whether the card is in host-share mode.
|
readwritenonatomicassign |
Whether the host share is startable.
|
readwritenonatomicassign |
Whether play has started.
|
readwritenonatomicstrong |
The jcf download navigation controller.
|
readwritenonatomicstrong |
The jcf manage navigation controller.
|
readwritenonatomicstrong |
The share-status message label.
|
readwritenonatomicassign |
The base-chart advanced level.
|
readwritenonatomicassign |
The base-chart basic level.
|
readwritenonatomicassign |
The base-chart extreme level.
|
readwritenonatomicstrong |
The base-chart advanced music bar.
|
readwritenonatomicstrong |
The base-chart basic music bar.
|
readwritenonatomicstrong |
The base-chart extreme music bar.
|
readwritenonatomicstrong |
The edit modal.
|
readwritenonatomicstrong |
The edit-file delete list controller.
|
readwritenonatomicstrong |
The edit-file list popover.
|
readwritenonatomicstrong |
The random-select marker.
|
readwritenonatomicstrong |
The mirrored-artwork reflection.
|
readwritenonatomicassign |
The base-chart advanced score.
|
readwritenonatomicassign |
The base-chart basic score.
|
readwritenonatomicassign |
The base-chart extreme score.
|
readwritenonatomicstrong |
The edit-file list scroll view.
|
readwritenonatomicstrong |
The pack-id search sheet.
|
readwritenonatomicstrong |
The share-data progress bar.
|
readwritenonatomicassign |
The selected social service type.
|
readwritenonatomicstrong |
The recommend dimming cover.
|
readwritenonatomicstrong |
The tune-name plate.