JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StoreDetailMusicCell Class Reference

A non-selectable cell describing one downloadable music entry. More...

#include <StoreDetailMusicCell.h>

Inheritance diagram for StoreDetailMusicCell:
Collaboration diagram for StoreDetailMusicCell:

Instance Methods

(instancetype) - initWithStyle:reuseIdentifier:
 Designated initialiser; builds every subview.
(void) - setBgImage:
 Sets the background image behind the whole cell.
(void) - setLink:
 Sets the iTunes link from a URL string and shows or hides the link button accordingly.
(void) - sampleStop
 Hides the sample overlay and stops the download spinner.
(void) - sampleDownloading
 Shows the sample overlay spinning while the sample downloads.
(void) - samplePlaying
 Shows the sample overlay with the play badge while the sample plays.
(void) - handleLink:
 Presents the "Show in iTunes Store?" confirmation for the link button.
(void) - alertSelect:
 AlertViewManager delegate callback; opens the iTunes link when OK is tapped.
(void) - terminate
 No-op teardown hook retained from the original.
(void) - detailClose
 Closes any alert presented through AlertViewManager.
Instance Methods inherited from <AlertViewManagerDelegate>
(void) - alertClose:
 Sent when a UIAlertController -based alert finishes dismissing.

Class Methods

(CGFloat) + cellHeight
 The fixed row height for this cell.

Properties

UIImageView * artworkView
 The jacket artwork image view.
UILabel * labelName
 The music title label.
UILabel * labelArtist
 The artist label.
UILabel * labelLevels
 The difficulty-levels label.
UIImageView * extendImg
 The overlaid "extend" badge image, added directly to the cell.
UIViewController * viewController
 The controller used to open the iTunes link; held weakly.

Detailed Description

A non-selectable cell describing one downloadable music entry.

The cell forwards its iTunes prompt through AlertViewManager and conforms to that manager's delegate protocol so it can react to the button tap; the protocol is dispatched dynamically, so this header does not import it.

Method Documentation

◆ alertSelect:

- (void) alertSelect: (nonnull NSDictionary *) info

AlertViewManager delegate callback; opens the iTunes link when OK is tapped.

Parameters
infoThe alert result dictionary carrying the tapped button index under "btnMessage".
Ghidra address:
0xfd1b0

Reimplemented from <AlertViewManagerDelegate>.

◆ cellHeight

+ (CGFloat) cellHeight

The fixed row height for this cell.

Returns
The pooled height constant, 80.0.
Ghidra address:
0xfbebc
Ghidra address:
0xfbebc

◆ detailClose

- (void) detailClose

Closes any alert presented through AlertViewManager.

Ghidra address:
0xfd2bc

◆ handleLink:

- (void) handleLink: (nullable id) sender

Presents the "Show in iTunes Store?" confirmation for the link button.

Parameters
senderThe control that triggered the action.
Ghidra address:
0xfcd5c

◆ initWithStyle:reuseIdentifier:

- (instancetype) initWithStyle: (UITableViewCellStyle) style
reuseIdentifier: (nullable NSString *) reuseIdentifier 

Designated initialiser; builds every subview.

Parameters
styleThe cell style forwarded to UITableViewCell.
reuseIdentifierThe reuse identifier forwarded to UITableViewCell.
Returns
The initialised cell.
Ghidra address:
0xfbec8

◆ sampleDownloading

- (void) sampleDownloading

Shows the sample overlay spinning while the sample downloads.

Ghidra address:
0xfd0e0

◆ samplePlaying

- (void) samplePlaying

Shows the sample overlay with the play badge while the sample plays.

Ghidra address:
0xfd148

◆ sampleStop

- (void) sampleStop

Hides the sample overlay and stops the download spinner.

Ghidra address:
0xfd094

◆ setBgImage:

- (void) setBgImage: (nullable UIImage *) image

Sets the background image behind the whole cell.

Parameters
imageThe image to display, or nil to clear it.
Ghidra address:
0xfcfc0

◆ setLink:

- (void) setLink: (nullable NSString *) link

Sets the iTunes link from a URL string and shows or hides the link button accordingly.

Parameters
linkThe link URL string, or nil to clear the link and hide the button.
Ghidra address:
0xfcfd8

◆ terminate

- (void) terminate

No-op teardown hook retained from the original.

Ghidra address:
0xfd2b8

The documentation for this class was generated from the following files: