|
JubeatPlus 3.9.11
|
A modal sheet shown once per day, carrying the remaining free-scratch count. More...
#include <ChallengeLoginMessageView.h>


Instance Methods | |
| (instancetype) | - initWithFrame:scratchNum: |
| Builds the whole sheet, sized from the background art and the device idiom. | |
| (void) | - closeMessage: |
Dismisses the sheet: plays the menu sound, then notifies aDelegate. | |
Properties | |
| id | aDelegate |
| The object told when the player dismisses the sheet. | |
A modal sheet shown once per day, carrying the remaining free-scratch count.
The whole view is built in the initialiser; there is no separate layout pass and no nib.
| - (void) closeMessage: | (id) | sender |
Dismisses the sheet: plays the menu sound, then notifies aDelegate.
Note that it does not remove itself from its superview — closing is entirely the delegate's job, and a delegate that does not answer closeLoginMessage leaves the sheet on screen.
| sender | The button that was tapped. Unused. |
| - (instancetype) initWithFrame: | (CGRect) | frame | |
| scratchNum: | (int) | scratchNum |
Builds the whole sheet, sized from the background art and the device idiom.
The phone enlarges the artwork by 1.3 while the pad uses it at its native size, and the two labels take larger point sizes on the pad.
| frame | The area to centre the sheet within. Only its size is used, to place the centre. |
| scratchNum | The number of free scratches left, substituted into the upper label. |
|
readwritenonatomicweak |
The object told when the player dismisses the sheet.
Weak, per the W attribute in the runtime metadata. Genuinely untyped: the metadata encodes it as a bare @ with no protocol, and -closeMessage: dispatches through -respondsToSelector: and -performSelector: rather than through a declared protocol. The expected selector is closeLoginMessage.