|
JubeatPlus 3.9.11
|
The NTE themed title screen composed of a top flip-book and a bottom core controller. More...
#include <TitleViewControllerNte.h>


Instance Methods | |
| (instancetype) | - init |
| Initialises the controller and builds both child controllers sized to the device idiom. | |
| (void) | - loadView |
| Builds the base view hierarchy, then loads both child controllers' views. | |
| (void) | - start |
| Begins the base title network work, then starts the bottom controller. | |
| (void) | - showLogo |
| Forwards the logo reveal to the bottom controller. | |
| (void) | - stopAnimation |
| Tears down both child controllers and stops the bottom controller's animation. | |
| (void) | - changeSelectedImage:completed: |
| Delegate callback from the flip-book: swaps the bottom controller's background image. | |
| (void) | - suspend: |
| Notification handler for entering the background. | |
| (void) | - resume: |
| Notification handler for returning to the foreground. | |
| (void) | - viewDidLoad |
| Builds the top and bottom container views and installs each child controller's view. | |
| (void) | - viewDidUnload |
| Chains up to the base implementation. | |
| (void) | - willRotateToInterfaceOrientation:duration: |
| Rotation hook. | |
| (void) | - viewWillTransitionToSize:withTransitionCoordinator: |
| Size-transition hook. | |
| (BOOL) | - shouldAutorotateToInterfaceOrientation: |
| Permits rotation only to the two portrait orientations. | |
| (UIInterfaceOrientationMask) | - supportedInterfaceOrientations |
| The supported orientations: portrait and upside-down portrait. | |
| (BOOL) | - shouldAutorotate |
| Allows autorotation. | |
| (void) | - dealloc |
| Releases the container views and removes the notification observers. | |
| Instance Methods inherited from TitleViewController | |
| (void) | - tapExplain: |
| Opens the payment-services message overlay. | |
| (void) | - tapCorporateButton: |
| Opens the Konami corporate site in a Safari view controller. | |
| (void) | - closeMessage: |
| Dismisses the message overlay and re-enables tapping. | |
| (void) | - messageDownloadError:msgStr: |
| Shows a download-failure alert, then dismisses the message overlay and re-enables tapping. | |
| (void) | - jubeatLabAccessError: |
| Callback: the top-page licence check failed. | |
| (void) | - jubeatLabAccessFinished: |
| Callback: the top-page licence check finished. | |
| (void) | - downloaderFinished: |
| Callback: the news-list download finished. | |
| (void) | - switchController |
| Switches to the next controller. | |
| (void) | - setCorporateButton |
| Builds the corporate ("co_info") button, themed and anchored to the top-right corner. | |
| Instance Methods inherited from <DownloaderDelegate> | |
| (void) | - downloaderProceed: |
| Sent periodically as data arrives, and once more on completion. | |
| (void) | - downloaderFinished: |
| Sent when the request completes. | |
| (void) | - downloaderError: |
| Sent when the request fails. | |
Protected Attributes | |
| float | phoneRate |
| The layout scale for a non-iPad screen: the screen width divided by 320, or 1 on iPad. | |
| Protected Attributes inherited from TitleViewController | |
| UIButton * | explainBtn |
| The "explain" button opening the payment-services (資金決済法について) message overlay. | |
| UIButton * | coBtn |
The corporate ("co_info") button opening the Konami site; built in setCorporateButton. | |
| BOOL * | bEnableTap |
| Whether taps are currently accepted. | |
| jubeatLabAccess * | labAccess |
The top-page licence-URL fetch, live between -start and its completion. | |
| Downloader * | infoDownloader |
The news-list download, live between -start and its completion. | |
| MessageTextView * | textView |
The payment-services message overlay shown by -tapExplain: . | |
| UIView * | coverView |
The dimming backdrop behind textView . | |
Properties | |
| UIView * | topView |
| The container view for the top flip-book strip. | |
| UIView * | bottomView |
| The container view for the bottom core strip. | |
| UnsealViewController * | topController |
| The top flip-book controller. | |
| NteTitleCoreController * | bottomController |
| The bottom core controller. | |
The NTE themed title screen composed of a top flip-book and a bottom core controller.
Acts as the UnsealViewController flip-book's delegate, relaying its page changes into the bottom controller's background.
| - (void) changeSelectedImage: | (int) | index | |
| completed: | (BOOL) | completed |
Delegate callback from the flip-book: swaps the bottom controller's background image.
| index | The index of the newly shown artwork. |
| completed | Whether the page-turn animation ran to completion. |
Reimplemented from <UnsealViewControllerDelegate>.
| - (void) dealloc |
Releases the container views and removes the notification observers.
| - (instancetype) init |
Initialises the controller and builds both child controllers sized to the device idiom.
Reimplemented from TitleViewController.
| - (void) loadView |
Builds the base view hierarchy, then loads both child controllers' views.
Reimplemented from TitleViewController.
| - (void) resume: | (nullable NSNotification *) | notification |
Notification handler for returning to the foreground.
Does nothing.
| notification | The UIApplicationWillEnterForegroundNotification . |
| - (BOOL) shouldAutorotate |
Allows autorotation.
YES . | - (BOOL) shouldAutorotateToInterfaceOrientation: | (UIInterfaceOrientation) | interfaceOrientation |
Permits rotation only to the two portrait orientations.
| interfaceOrientation | The candidate orientation. |
YES for portrait or upside-down portrait. | - (void) showLogo |
Forwards the logo reveal to the bottom controller.
Reimplemented from TitleViewController.
| - (void) start |
Begins the base title network work, then starts the bottom controller.
Reimplemented from TitleViewController.
| - (void) stopAnimation |
Tears down both child controllers and stops the bottom controller's animation.
Reimplemented from TitleViewController.
| - (UIInterfaceOrientationMask) supportedInterfaceOrientations |
The supported orientations: portrait and upside-down portrait.
UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown . | - (void) suspend: | (nullable NSNotification *) | notification |
Notification handler for entering the background.
Does nothing.
| notification | The UIApplicationDidEnterBackgroundNotification . |
| - (void) viewDidLoad |
Builds the top and bottom container views and installs each child controller's view.
| - (void) viewDidUnload |
Chains up to the base implementation.
Adds nothing.
| - (void) viewWillTransitionToSize: | (CGSize) | size | |
| withTransitionCoordinator: | (id<UIViewControllerTransitionCoordinator>) | coordinator |
Size-transition hook.
Does nothing.
| size | The size being transitioned to. |
| coordinator | The transition coordinator. |
| - (void) willRotateToInterfaceOrientation: | (UIInterfaceOrientation) | toInterfaceOrientation | |
| duration: | (NSTimeInterval) | duration |
Rotation hook.
Does nothing.
| toInterfaceOrientation | The orientation being rotated to. |
| duration | The rotation animation duration. |
|
protected |
The layout scale for a non-iPad screen: the screen width divided by 320, or 1 on iPad.
Encoded f in the runtime metadata.