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

Lists downloaded/purchased tunes with a per-row delete or re-download action. More...

#include <StoreManageViewController.h>

Inheritance diagram for StoreManageViewController:
Collaboration diagram for StoreManageViewController:

Instance Methods

(instancetype) - initWithParent:
 Builds the controller for a parent store view.
(void) - loadView
 Builds the view: a full-bounds vertical gradient behind a non-selectable table.
(UITableViewCell *) - tableView:cellForRowAtIndexPath:
 Vends and lays out a row for a purchased tune.
(NSInteger) - tableView:numberOfRowsInSection:
 The number of purchased tunes.
(void) - tableView:willDisplayCell:forRowAtIndexPath:
 Tints alternating rows before display.
(NSInteger) - numberOfSectionsInTableView:
 Always one section.
(void) - pushCellButton:
 The per-row action button's handler: delete an owned tune or start a re-download.
(void) - startDownloadMusic
 Builds the download-task queue for the working row and starts the download manager.
(void) - downloadManagerStartTask:
 Updates the modal dialog's message when a download task starts.
(void) - downloaderFinished:
 The tune-info fetch finished: register the tune(s), save the list, and start the pack download.
(void) - downloaderError:
 The tune-info fetch failed: proceed to the pack download anyway.
(void) - storeDialogCancel:
 The modal dialog's abort button was pressed: cancel everything and dismiss.
(void) - alertSelect:
 A confirmation alert's button was tapped; performs the delete when confirmed.
(void) - alertClose:
 An alert was dismissed; clears the working row.
(void) - downloadManagerCompleted:
 The pack download queue completed: reload the table and dismiss the dialog.
(void) - downloadManagerFailed:
 The pack download queue failed: show an error alert, reload, and dismiss.
(void) - downloadManagerProceed:
 A pack download task made progress: drive the dialog's progress bar.
(void) - storeClose
 Closes any open alert.
(void) - didReceiveMemoryWarning
 Handles a low-memory warning by chaining to super.
(void) - viewDidUnload
 Releases the table when the view is unloaded.
(void) - viewWillAppear:
 The view is about to appear.
(void) - viewDidAppear:
 The view has appeared.
(void) - viewWillDisappear:
 The view is about to disappear.
(void) - viewDidDisappear:
 The view has disappeared.
(BOOL) - shouldAutorotateToInterfaceOrientation:
 Whether the screen may rotate to an orientation.
(UIInterfaceOrientationMask) - supportedInterfaceOrientations
 The orientations the screen supports.
(BOOL) - shouldAutorotate
 Whether the screen rotates.
(void) - dealloc
 Chains to super only; the strong ivars are torn down by the generated destructor.
Instance Methods inherited from <DownloaderDelegate>
(void) - downloaderProceed:
 Sent periodically as data arrives, and once more on completion.
Instance Methods inherited from <StoreDownloadManagerDelegate>
(void) - downloadManagerStartTask:
 A task has started.
(void) - downloadManagerProceed:
 The current task made progress.
(void) - downloadManagerCompleted:
 All tasks completed.
(void) - downloadManagerFailed:
 A task failed.
Instance Methods inherited from <AlertViewManagerDelegate>
(void) - alertSelect:
 Sent when the user taps a button in an alert built with makeAlert:.
(void) - alertClose:
 Sent when a UIAlertController -based alert finishes dismissing.

Detailed Description

Lists downloaded/purchased tunes with a per-row delete or re-download action.

Method Documentation

◆ alertClose:

- (void) alertClose: (NSDictionary *) info

An alert was dismissed; clears the working row.

Parameters
infoThe dismissed alert's identity.
Ghidra address:
0x92e84
Ghidra address:
0x92e84

◆ alertSelect:

- (void) alertSelect: (NSDictionary *) info

A confirmation alert's button was tapped; performs the delete when confirmed.

Parameters
infoThe alert's result, carrying the tapped button.
Ghidra address:
0x92b68
Ghidra address:
0x92b68

◆ dealloc

- (void) dealloc

Chains to super only; the strong ivars are torn down by the generated destructor.

Ghidra address:
0x93420

◆ didReceiveMemoryWarning

- (void) didReceiveMemoryWarning

Handles a low-memory warning by chaining to super.

Ghidra address:
0x9320c

◆ downloaderError:

- (void) downloaderError: (id) downloader

The tune-info fetch failed: proceed to the pack download anyway.

Parameters
downloaderThe downloader reporting the failure.
Ghidra address:
0x92a38
Ghidra address:
0x92a38

Reimplemented from <DownloaderDelegate>.

◆ downloaderFinished:

- (void) downloaderFinished: (id) downloader

The tune-info fetch finished: register the tune(s), save the list, and start the pack download.

Parameters
downloaderThe downloader reporting the result.
Ghidra address:
0x92824
Ghidra address:
0x92824

Reimplemented from <DownloaderDelegate>.

◆ downloadManagerCompleted:

- (void) downloadManagerCompleted: (StoreDownloadManager *) manager

The pack download queue completed: reload the table and dismiss the dialog.

Parameters
managerThe download manager reporting completion.
Ghidra address:
0x92e98
Ghidra address:
0x92e98

◆ downloadManagerFailed:

- (void) downloadManagerFailed: (StoreDownloadManager *) manager

The pack download queue failed: show an error alert, reload, and dismiss.

Parameters
managerThe download manager reporting the failure.
Ghidra address:
0x92f18
Ghidra address:
0x92f18

◆ downloadManagerProceed:

- (void) downloadManagerProceed: (StoreDownloadManager *) manager

A pack download task made progress: drive the dialog's progress bar.

Parameters
managerThe download manager reporting progress.
Ghidra address:
0x9311c
Ghidra address:
0x9311c

◆ downloadManagerStartTask:

- (void) downloadManagerStartTask: (StoreDownloadManager *) manager

Updates the modal dialog's message when a download task starts.

Parameters
managerThe download manager reporting the task.
Ghidra address:
0x9260c
Ghidra address:
0x9260c

◆ initWithParent:

- (instancetype) initWithParent: (nullable id< StoreParentViewController >) parent

Builds the controller for a parent store view.

Sets the navigation and tab-bar titles, loads the tab image and the two per-row action icons, installs a back button targeting the parent, and caches the device idiom.

Parameters
parentThe owning StoreViewController ; held weakly.
Returns
The initialised controller.
Ghidra address:
0x90c58

◆ loadView

- (void) loadView

Builds the view: a full-bounds vertical gradient behind a non-selectable table.

Ghidra address:
0x90f28

◆ numberOfSectionsInTableView:

- (NSInteger) numberOfSectionsInTableView: (UITableView *) aTableView

Always one section.

Parameters
aTableViewThe table asking.
Returns
Always 1.
Ghidra address:
0x91ca8
Ghidra address:
0x91ca8

◆ pushCellButton:

- (void) pushCellButton: (nullable id) sender

The per-row action button's handler: delete an owned tune or start a re-download.

Parameters
senderThe row's button, whose tag is the row index.
Ghidra address:
0x91cb0

◆ shouldAutorotate

- (BOOL) shouldAutorotate

Whether the screen rotates.

Returns
Always YES.
Ghidra address:
0x93418
Ghidra address:
0x93418

◆ shouldAutorotateToInterfaceOrientation:

- (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation) interfaceOrientation

Whether the screen may rotate to an orientation.

Parameters
interfaceOrientationThe orientation asked about.
Returns
YES for the two portrait orientations, NO otherwise.
Ghidra address:
0x93400
Ghidra address:
0x93400

◆ startDownloadMusic

- (void) startDownloadMusic

Builds the download-task queue for the working row and starts the download manager.

Ghidra address:
0x922f4

◆ storeClose

- (void) storeClose

Closes any open alert.

Ghidra address:
0x931c4

◆ storeDialogCancel:

- (void) storeDialogCancel: (id) dialogView

The modal dialog's abort button was pressed: cancel everything and dismiss.

Parameters
dialogViewThe dialog whose abort button was pressed.
Ghidra address:
0x92a94
Ghidra address:
0x92a94

Reimplemented from <StoreDialogViewDelegate>.

◆ supportedInterfaceOrientations

- (UIInterfaceOrientationMask) supportedInterfaceOrientations

The orientations the screen supports.

Returns
Both portrait orientations.
Ghidra address:
0x93410
Ghidra address:
0x93410

◆ tableView:cellForRowAtIndexPath:

- (UITableViewCell *) tableView: (UITableView *) aTableView
cellForRowAtIndexPath: (NSIndexPath *) indexPath 

Vends and lays out a row for a purchased tune.

Parameters
aTableViewThe table asking.
indexPathThe row's index path.
Returns
The cell for the tune, carrying its title and per-row action button.
Ghidra address:
0x91358
Ghidra address:
0x91358
Ghidra address:
0x28f248
Ghidra address:
0x28fb08

◆ tableView:numberOfRowsInSection:

- (NSInteger) tableView: (UITableView *) aTableView
numberOfRowsInSection: (NSInteger) section 

The number of purchased tunes.

Parameters
aTableViewThe table asking.
sectionThe section asked about.
Returns
The purchased-music count held by the shared store music-list manager.
Ghidra address:
0x91b84
Ghidra address:
0x91b84

◆ tableView:willDisplayCell:forRowAtIndexPath:

- (void) tableView: (UITableView *) aTableView
willDisplayCell: (UITableViewCell *) cell
forRowAtIndexPath: (NSIndexPath *) indexPath 

Tints alternating rows before display.

Parameters
aTableViewThe table asking.
cellThe cell about to be drawn.
indexPathThe row's index path.
Ghidra address:
0x91bfc
Ghidra address:
0x91bfc
Ghidra address:
0x28e080

◆ viewDidAppear:

- (void) viewDidAppear: (BOOL) animated

The view has appeared.

Parameters
animatedWhether the appearance was animated.
Ghidra address:
0x932d4
Ghidra address:
0x932d4

◆ viewDidDisappear:

- (void) viewDidDisappear: (BOOL) animated

The view has disappeared.

Parameters
animatedWhether the disappearance was animated.
Ghidra address:
0x933c8
Ghidra address:
0x933c8

◆ viewDidUnload

- (void) viewDidUnload

Releases the table when the view is unloaded.

Ghidra address:
0x93244

◆ viewWillAppear:

- (void) viewWillAppear: (BOOL) animated

The view is about to appear.

Parameters
animatedWhether the appearance is animated.
Ghidra address:
0x9329c
Ghidra address:
0x9329c

◆ viewWillDisappear:

- (void) viewWillDisappear: (BOOL) animated

The view is about to disappear.

Parameters
animatedWhether the disappearance is animated.
Ghidra address:
0x93340
Ghidra address:
0x93340

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