1 | export declare function getter<T>(_this: any, property: T | {
|
2 | (): T;
|
3 | }): T;
|
4 | export declare namespace collections {
|
5 | function jsArrayToNSArray<T>(str: T[]): NSArray<T>;
|
6 | function nsArrayToJSArray<T>(a: NSArray<T>): Array<T>;
|
7 | }
|
8 | export declare function getRootViewController(): UIViewController;
|
9 | export declare function getWindow(): UIWindow;
|
10 | export declare function getMainScreen(): UIScreen;
|
11 | export declare function setWindowBackgroundColor(value: string): void;
|
12 | export declare function isLandscape(): boolean;
|
13 |
|
14 |
|
15 |
|
16 | export declare const MajorVersion: number;
|
17 | export declare function openFile(filePath: string): boolean;
|
18 | export declare function getCurrentAppPath(): string;
|
19 | export declare function joinPaths(...paths: string[]): string;
|
20 | export declare function getVisibleViewController(rootViewController: UIViewController): UIViewController;
|
21 | export declare function applyRotateTransform(transform: CATransform3D, x: number, y: number, z: number): CATransform3D;
|
22 | export declare function createUIDocumentInteractionControllerDelegate(): NSObject;
|
23 | export declare function isRealDevice(): boolean;
|
24 | export declare function printCGRect(rect: CGRect): string;
|
25 | export declare function snapshotView(view: UIView, scale: number): UIImage;
|
26 | export declare function copyLayerProperties(view: UIView, toView: UIView, customProperties?: {
|
27 | view?: Array<keyof UIView>;
|
28 | layer?: Array<keyof CALayer>;
|
29 | }): void;
|
30 | export declare function animateWithSpring(options?: {
|
31 | tension?: number;
|
32 | friction?: number;
|
33 | mass?: number;
|
34 | delay?: number;
|
35 | velocity?: number;
|
36 | animateOptions?: UIViewAnimationOptions;
|
37 | animations?: () => void;
|
38 | completion?: (finished?: boolean) => void;
|
39 | }): void;
|