JubeatPlus 3.9.11
Loading...
Searching...
No Matches
LogoViewController.h
Go to the documentation of this file.
1
17
18#import <UIKit/UIKit.h>
19
20#import "Downloader.h"
21
22NS_ASSUME_NONNULL_BEGIN
23
27@interface LogoViewController : UIViewController <DownloaderDelegate>
28
37- (instancetype)init;
38
47- (void)loadView;
48
58- (void)fireAnimation;
59
67- (void)start;
68
75- (void)end:(nullable id)sender;
76
88- (void)handleTap:(nullable id)sender;
89
94- (void)viewDidUnload;
95
102- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
103
109- (UIInterfaceOrientationMask)supportedInterfaceOrientations;
110
116- (BOOL)shouldAutorotate;
117
128- (void)downloaderFinished:(nullable Downloader *)downloader;
129
138- (void)downloaderError:(nullable Downloader *)downloader;
139
147- (void)removeCampaignImage;
148
155- (nullable NSString *)getCampaignImageDirPath;
156
164- (nullable NSString *)getCampaignImagePath:(nullable NSString *)name;
165
175- (BOOL)checkCampaignImage:(nullable NSString *)name;
176
177@end
178
179NS_ASSUME_NONNULL_END
180
181// code: language=Objective-C
182// kate: hl Objective-C;
183// vim: set ft=objc :
The HTTP client.
A one-shot HTTP request that reports its result to a delegate.
Definition Downloader.h:52
The launch splash screen and its logo animation.
Definition LogoViewController.h:27
void loadView()
Builds the view hierarchy by hand rather than from a nib.
Definition LogoViewController.m:98
nullable NSString * getCampaignImageDirPath()
The directory the campaign image is cached in, creating it if absent.
Definition LogoViewController.m:475
void start()
Resets the splash to its opening frame and starts the animation.
Definition LogoViewController.m:133
void viewDidUnload()
Drops the views and cancels the downloads that are still in flight.
Definition LogoViewController.m:329
void removeCampaignImage()
Empties the campaign image cache.
Definition LogoViewController.m:464
void fireAnimation()
Runs one step of the logo animation and schedules the next.
Definition LogoViewController.m:144
UIInterfaceOrientationMask supportedInterfaceOrientations()
The orientations the splash allows.
Definition LogoViewController.m:374
BOOL shouldAutorotate()
Whether the splash rotates at all.
Definition LogoViewController.m:379
instancetype init()
Builds the controller.
Definition LogoViewController.m:92
Performs a single HTTP request.
Definition Downloader.h:30