|
JubeatPlus 3.9.11
|
The delegate a scratch card reports its progress to. More...
#include <ScratchView.h>


Instance Methods | |
| (BOOL) | - isScratchEnable |
| Whether the card may currently be scratched. | |
| (void) | - scratchEnable: |
| Enables or disables scratching across the host. | |
| (nullable StoreDialogView *) | - modalDialog |
The host's modal download dialog, or nil before it has been built. | |
| (void) | - showModalDialog: |
| Shows the modal download dialog over the given sender. | |
| (void) | - hideModalDialog |
| Hides the modal download dialog. | |
| (void) | - selectScratch: |
| Sent when this card is chosen. | |
| (void) | - scratchStart: |
| Sent once the scratch gesture crosses its start threshold. | |
| (void) | - scratchEnd: |
| Sent once the card is fully scratched open. | |
The delegate a scratch card reports its progress to.
The card sends -isScratchEnable and -scratchEnable: directly, reaches its host dialog through -modalDialog / -showModalDialog: / -hideModalDialog , and forwards the four scratch-lifecycle notifications through -performSelector:withObject: after a -respondsToSelector: guard, so those four are optional.
|
optionalrequired |
Hides the modal download dialog.
Reimplemented in ChallengeModeRootView.
|
required |
Whether the card may currently be scratched.
Reimplemented in ChallengeModeRootView.
|
optionalrequired |
The host's modal download dialog, or nil before it has been built.
|
optionalrequired |
Enables or disables scratching across the host.
| enable | YES to enable scratching, NO to disable it. |
Reimplemented in ChallengeModeRootView.
|
optionalrequired |
Sent once the card is fully scratched open.
| sender | The card that was scratched open. |
Reimplemented in ChallengeModeRootView.
|
optionalrequired |
Sent once the scratch gesture crosses its start threshold.
| sender | The card being scratched. |
Reimplemented in ChallengeModeRootView.
|
optional |
Sent when this card is chosen.
| sender | The card that was chosen. |
Reimplemented in ChallengeModeRootView.
|
optionalrequired |
Shows the modal download dialog over the given sender.
| sender | The view the dialog is shown over. |