JubeatPlus 3.9.11
Loading...
Searching...
No Matches
UnsealViewController Class Reference

A flip-book over an array of artwork file names. More...

#include <UnsealViewController.h>

Inheritance diagram for UnsealViewController:
Collaboration diagram for UnsealViewController:

Instance Methods

(instancetype) - initWithNameArray:bounds:
 Records the artwork names to page through and the rectangle each page fills.

Properties

id< UnsealViewControllerDelegate > aDelegate
 The object told which artwork the viewer settled on.

Detailed Description

A flip-book over an array of artwork file names.

Construction records the names and the rectangle each page fills; -loadView then builds one UnsealDrawController page per name and installs a page-curl UIPageViewController as a child. Turning back a page picks a new random artwork, so the viewer never shows the same file twice in a row.

Method Documentation

◆ initWithNameArray:bounds:

- (instancetype) initWithNameArray: (nullable NSArray< NSString * > *) nameArray
bounds: (CGRect) bounds 

Records the artwork names to page through and the rectangle each page fills.

Chains to UIViewController's plain -init (no nib). The names are copied; neither the names nor the rectangle are used until -loadView.

Parameters
nameArrayThe artwork base names, one per page.
boundsThe rectangle each page's artwork fills, in the loaded view's coordinates.
Returns
The initialised controller.
Ghidra address:
0x15c094

Property Documentation

◆ aDelegate

- (id<UnsealViewControllerDelegate>) aDelegate
readwritenonatomicweak

The object told which artwork the viewer settled on.

Weak and non-atomic in the metadata; stored in the _aDelegate ivar.


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