|
JubeatPlus 3.9.11
|
Lists downloaded/purchased tunes with a per-row delete or re-download action. More...
#include <StoreManageViewController.h>


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. | |
Lists downloaded/purchased tunes with a per-row delete or re-download action.
| - (void) alertClose: | (NSDictionary *) | info |
An alert was dismissed; clears the working row.
| info | The dismissed alert's identity. |
| - (void) alertSelect: | (NSDictionary *) | info |
A confirmation alert's button was tapped; performs the delete when confirmed.
| info | The alert's result, carrying the tapped button. |
| - (void) dealloc |
Chains to super only; the strong ivars are torn down by the generated destructor.
| - (void) didReceiveMemoryWarning |
Handles a low-memory warning by chaining to super.
| - (void) downloaderError: | (id) | downloader |
The tune-info fetch failed: proceed to the pack download anyway.
| downloader | The downloader reporting the failure. |
Reimplemented from <DownloaderDelegate>.
| - (void) downloaderFinished: | (id) | downloader |
The tune-info fetch finished: register the tune(s), save the list, and start the pack download.
| downloader | The downloader reporting the result. |
Reimplemented from <DownloaderDelegate>.
| - (void) downloadManagerCompleted: | (StoreDownloadManager *) | manager |
The pack download queue completed: reload the table and dismiss the dialog.
| manager | The download manager reporting completion. |
| - (void) downloadManagerFailed: | (StoreDownloadManager *) | manager |
The pack download queue failed: show an error alert, reload, and dismiss.
| manager | The download manager reporting the failure. |
| - (void) downloadManagerProceed: | (StoreDownloadManager *) | manager |
A pack download task made progress: drive the dialog's progress bar.
| manager | The download manager reporting progress. |
| - (void) downloadManagerStartTask: | (StoreDownloadManager *) | manager |
Updates the modal dialog's message when a download task starts.
| manager | The download manager reporting the task. |
| - (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.
| parent | The owning StoreViewController ; held weakly. |
| - (void) loadView |
Builds the view: a full-bounds vertical gradient behind a non-selectable table.
| - (NSInteger) numberOfSectionsInTableView: | (UITableView *) | aTableView |
Always one section.
| aTableView | The table asking. |
| - (void) pushCellButton: | (nullable id) | sender |
The per-row action button's handler: delete an owned tune or start a re-download.
| sender | The row's button, whose tag is the row index. |
| - (BOOL) shouldAutorotate |
Whether the screen rotates.
| - (BOOL) shouldAutorotateToInterfaceOrientation: | (UIInterfaceOrientation) | interfaceOrientation |
Whether the screen may rotate to an orientation.
| interfaceOrientation | The orientation asked about. |
| - (void) startDownloadMusic |
Builds the download-task queue for the working row and starts the download manager.
| - (void) storeClose |
Closes any open alert.
| - (void) storeDialogCancel: | (id) | dialogView |
The modal dialog's abort button was pressed: cancel everything and dismiss.
| dialogView | The dialog whose abort button was pressed. |
Reimplemented from <StoreDialogViewDelegate>.
| - (UIInterfaceOrientationMask) supportedInterfaceOrientations |
The orientations the screen supports.
| - (UITableViewCell *) tableView: | (UITableView *) | aTableView | |
| cellForRowAtIndexPath: | (NSIndexPath *) | indexPath |
Vends and lays out a row for a purchased tune.
| aTableView | The table asking. |
| indexPath | The row's index path. |
| - (NSInteger) tableView: | (UITableView *) | aTableView | |
| numberOfRowsInSection: | (NSInteger) | section |
The number of purchased tunes.
| aTableView | The table asking. |
| section | The section asked about. |
| - (void) tableView: | (UITableView *) | aTableView | |
| willDisplayCell: | (UITableViewCell *) | cell | |
| forRowAtIndexPath: | (NSIndexPath *) | indexPath |
Tints alternating rows before display.
| aTableView | The table asking. |
| cell | The cell about to be drawn. |
| indexPath | The row's index path. |
| - (void) viewDidAppear: | (BOOL) | animated |
The view has appeared.
| animated | Whether the appearance was animated. |
| - (void) viewDidDisappear: | (BOOL) | animated |
The view has disappeared.
| animated | Whether the disappearance was animated. |
| - (void) viewDidUnload |
Releases the table when the view is unloaded.
| - (void) viewWillAppear: | (BOOL) | animated |
The view is about to appear.
| animated | Whether the appearance is animated. |
| - (void) viewWillDisappear: | (BOOL) | animated |
The view is about to disappear.
| animated | Whether the disappearance is animated. |