JubeatPlus 3.9.11
Loading...
Searching...
No Matches
<MusicListViewDelegate> Protocol Reference

What the song list asks of, and reports to, its hosting controller. More...

#include <MusicListView.h>

Inheritance diagram for <MusicListViewDelegate>:
Collaboration diagram for <MusicListViewDelegate>:

Instance Methods

(unsigned int) - numberOfMusic
 The number of tunes in the list.
(nullable TuneInfo *) - musicInfoForIndex:
 The tune for a list index.
(nullable TuneInfo *) - extendMusicInfoForMusicID:
 The advertised-extend tune for a music identifier.
(nullable NSArray< NSIndexPath * > *) - removeMusicArray
 The index paths to delete on the next batch reload.
(nullable NSArray< NSIndexPath * > *) - addMusicArray
 The index paths to insert on the next batch reload.
(void) - scrollFromPageNum:bAnim:
 The list scrolled to a page.
(void) - musicListScrollBegin
 The list began scrolling.
(void) - changeMusicListView:musicID:
 A tile was chosen.
(void) - changeMusicListView:musicID:isFirst:
 A tile was chosen, noting whether it is the first change.
(void) - showCoverView:addGesture:
 Present a cover view hosting the given controls and gesture.
(void) - hiddenCoverView
 Dismiss the cover view.
(void) - btnTouchesBegan:
 A control's touch began.
(void) - btnTouchesCancel:
 A control's touch was cancelled or ended.

Detailed Description

What the song list asks of, and reports to, its hosting controller.

The protocol's name is the binary's own, taken from the _delegate ivar encoding @"<MusicListViewDelegate>" . The controller providing these is MusicSelectViewController .

Method Documentation

◆ addMusicArray

- (nullable NSArray< NSIndexPath * > *) addMusicArray
optionalrequired

The index paths to insert on the next batch reload.

Returns
An array of NSIndexPath.

Reimplemented in MusicSelectViewController.

◆ btnTouchesBegan:

- (void) btnTouchesBegan: (nullable id) sender
optionalrequired

A control's touch began.

Parameters
senderThe control.

Reimplemented in MusicSelectViewController.

◆ btnTouchesCancel:

- (void) btnTouchesCancel: (nullable id) sender
optionalrequired

A control's touch was cancelled or ended.

Parameters
senderThe control.

Reimplemented in MusicSelectViewController.

◆ changeMusicListView:musicID:

- (void) changeMusicListView: (NSInteger) index
musicID: (NSUInteger) musicID 
optionalrequired

A tile was chosen.

Parameters
indexThe tile's list index.
musicIDThe chosen tune's identifier.

Reimplemented in MusicSelectViewController.

◆ changeMusicListView:musicID:isFirst:

- (void) changeMusicListView: (NSInteger) index
musicID: (NSUInteger) musicID
isFirst: (BOOL) isFirst 
optionalrequired

A tile was chosen, noting whether it is the first change.

Parameters
indexThe tile's list index.
musicIDThe chosen tune's identifier.
isFirstWhether this is the first selection.

Reimplemented in MusicSelectViewController.

◆ extendMusicInfoForMusicID:

- (nullable TuneInfo *) extendMusicInfoForMusicID: (unsigned int) musicID
optionalrequired

The advertised-extend tune for a music identifier.

Parameters
musicIDThe music identifier.
Returns
The extend tune, or nil.

Reimplemented in MusicSelectViewController.

◆ hiddenCoverView

- (void) hiddenCoverView
optionalrequired

Dismiss the cover view.

Reimplemented in MusicSelectViewController.

◆ musicInfoForIndex:

- (nullable TuneInfo *) musicInfoForIndex: (NSUInteger) index
optionalrequired

The tune for a list index.

Parameters
indexThe list index.
Returns
The tune, or nil.

Reimplemented in MusicSelectViewController.

◆ musicListScrollBegin

- (void) musicListScrollBegin
optionalrequired

The list began scrolling.

Reimplemented in MusicSelectViewController.

◆ numberOfMusic

- (unsigned int) numberOfMusic
optional

The number of tunes in the list.

Returns
The tune count.

Reimplemented in MusicSelectViewController.

◆ removeMusicArray

- (nullable NSArray< NSIndexPath * > *) removeMusicArray
optionalrequired

The index paths to delete on the next batch reload.

Returns
An array of NSIndexPath.

Reimplemented in MusicSelectViewController.

◆ scrollFromPageNum:bAnim:

- (void) scrollFromPageNum: (int) pageNum
bAnim: (BOOL) bAnim 
optionalrequired

The list scrolled to a page.

Parameters
pageNumThe page scrolled to.
bAnimWhether the scroll animated.

Reimplemented in MusicSelectViewController.

◆ showCoverView:addGesture:

- (void) showCoverView: (nonnull NSArray *) views
addGesture: (nonnull UIGestureRecognizer *) gesture 
optionalrequired

Present a cover view hosting the given controls and gesture.

Parameters
viewsThe control views to host.
gestureThe dismissing gesture recogniser.

The documentation for this protocol was generated from the following file: