Skip to content

Commit 4646af9

Browse files
committed
stop generating metadata for NativeScript Core for now
1 parent e5aa581 commit 4646af9

File tree

12 files changed

+32
-159
lines changed

12 files changed

+32
-159
lines changed

metadata/metadata.ios.nsmd

-1.5 KB
Binary file not shown.

metadata/metadata.macos.nsmd

-1004 Bytes
Binary file not shown.

packages/ios/types/Foundation.d.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7093,10 +7093,6 @@ declare class NSData extends NSObject implements NSCopying, NSMutableCopying, NS
70937093

70947094
base64Encoding(): string;
70957095

7096-
static dataWithContentsOfFileCompletion(path: string, callback: (p1: NSData) => void): void;
7097-
7098-
writeToFileAtomicallyCompletion(path: string, atomically: boolean, callback: () => void): void;
7099-
71007096
copyWithZone(zone: interop.PointerConvertible): interop.Object;
71017097

71027098
mutableCopyWithZone(zone: interop.PointerConvertible): interop.Object;
@@ -9791,10 +9787,6 @@ declare class NSFileHandle extends NSObject implements NSSecureCoding {
97919787

97929788
closeFile(): void;
97939789

9794-
appendDataCompletion(data: NSData, callback: (p1: NSError) => void): void;
9795-
9796-
static fileHandleWithDataCompletion(path: string, data: NSData, callback: (p1: NSFileHandle, p2: NSError) => void): void;
9797-
97989790
static readonly supportsSecureCoding: boolean;
97999791

98009792
encodeWithCoder(coder: NSCoder): void;
@@ -11520,10 +11512,6 @@ declare class NSString extends NSObject implements NSCopying, NSMutableCopying,
1152011512

1152111513
static localizedUserNotificationStringForKeyArguments(key: string, arguments$: NSArray<interop.Object> | Array<interop.Object> | null): string;
1152211514

11523-
static stringWithContentsOfFileEncodingCompletion(path: string, enc: number, callback: (p1: string, p2: NSError) => void): void;
11524-
11525-
writeToFileAtomicallyEncodingCompletion(path: string, atomically: boolean, enc: number, callback: (p1: NSError) => void): void;
11526-
1152711515
copyWithZone(zone: interop.PointerConvertible): interop.Object;
1152811516

1152911517
mutableCopyWithZone(zone: interop.PointerConvertible): interop.Object;

packages/ios/types/Runtime.d.ts

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,6 @@ declare interface NSObjectProtocol {
132132
declare class NSObjectProtocol extends NativeObject implements NSObjectProtocol {
133133
}
134134

135-
declare interface NativeScriptEmbedderDelegate {
136-
presentNativeScriptApp(vc: UIViewController): interop.Object;
137-
}
138-
139-
declare class NativeScriptEmbedderDelegate extends NativeObject implements NativeScriptEmbedderDelegate {
140-
}
141-
142135
declare class NSObject extends NativeObject implements NSObjectProtocol {
143136
static load(): void;
144137

@@ -532,30 +525,10 @@ declare class NSObject extends NativeObject implements NSObjectProtocol {
532525
readonly debugDescription: string;
533526
}
534527

535-
declare class NativeScriptEmbedder extends NSObject {
536-
readonly delegate: NativeScriptEmbedderDelegate;
537-
538-
static sharedInstance(): NativeScriptEmbedder;
539-
}
540-
541528
declare class OS_object extends NSObject {
542529
init(): this;
543530
}
544531

545-
declare class NativeScriptUtils extends NSObject {
546-
static getSystemFontWeightItalicSymbolicTraits(size: number, weight: number, italic: boolean, symbolicTraits: interop.Enum<typeof UIFontDescriptorSymbolicTraits>): UIFont;
547-
548-
static createUIFont(font: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>): UIFont;
549-
550-
static createMutableStringWithDetails(details: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>): NSMutableAttributedString;
551-
552-
static createMutableStringForSpanFontColorBackgroundColorTextDecorationBaselineOffset(text: string, font: UIFont, color: UIColor, backgroundColor: UIColor, textDecoration: string, baselineOffset: number): NSMutableAttributedString;
553-
554-
static scaleImageWidthHeightScaleFactor(image: UIImage, width: number, height: number, scaleFactor: number): UIImage;
555-
556-
static getImageDataFormatQuality(image: UIImage, format: string, quality: number): NSData;
557-
}
558-
559532
declare class OS_os_workgroup extends OS_object {
560533
init(): this;
561534
}

packages/ios/types/TNSWidgets.d.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

packages/ios/types/UIKit.d.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7844,16 +7844,6 @@ declare class UIView extends UIResponder implements NSCoding, UIAppearance, UIAp
78447844

78457845
drawRectForViewPrintFormatter(rect: CGRect, formatter: UIViewPrintFormatter): void;
78467846

7847-
passThroughParent(): boolean;
7848-
7849-
setPassThroughParent(passThroughParent: boolean): void;
7850-
7851-
nativeScriptSetTextDecorationAndTransformTextDecorationLetterSpacingLineHeight(text: string, textDecoration: string, letterSpacing: number, lineHeight: number): void;
7852-
7853-
nativeScriptSetFormattedTextDecorationAndTransformLetterSpacingLineHeight(details: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>, letterSpacing: number, lineHeight: number): void;
7854-
7855-
nativeScriptSetFormattedTextStrokeColor(width: number, color: UIColor): void;
7856-
78577847
encodeWithCoder(coder: NSCoder): void;
78587848

78597849
static appearance<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>;
@@ -19526,14 +19516,6 @@ declare class UIImage extends NSObject implements NSSecureCoding {
1952619516

1952719517
readonly topCapHeight: number;
1952819518

19529-
static tns_safeDecodeImageNamedCompletion(name: string, callback: (p1: UIImage) => void): void;
19530-
19531-
static tns_safeImageNamed(name: string): UIImage;
19532-
19533-
static tns_decodeImageWithDataCompletion(data: NSData, callback: (p1: UIImage) => void): void;
19534-
19535-
static tns_decodeImageWidthContentsOfFileCompletion(file: string, callback: (p1: UIImage) => void): void;
19536-
1953719519
static readonly supportsSecureCoding: boolean;
1953819520

1953919521
encodeWithCoder(coder: NSCoder): void;

packages/ios/types/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
/// <reference path="./QuartzCore.d.ts" />
1818
/// <reference path="./ModelIO.d.ts" />
1919
/// <reference path="./MetalKit.d.ts" />
20-
/// <reference path="./TNSWidgets.d.ts" />
2120
/// <reference path="./WebKit.d.ts" />
2221
/// <reference path="./CoreServices.d.ts" />
2322
/// <reference path="./Security.d.ts" />

packages/macos/types/Foundation.d.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11410,10 +11410,6 @@ declare class NSData extends NSObject implements NSCopying, NSMutableCopying, NS
1141011410

1141111411
base64Encoding(): string;
1141211412

11413-
static dataWithContentsOfFileCompletion(path: string, callback: (p1: NSData) => void): void;
11414-
11415-
writeToFileAtomicallyCompletion(path: string, atomically: boolean, callback: () => void): void;
11416-
1141711413
copyWithZone(zone: interop.PointerConvertible): interop.Object;
1141811414

1141911415
mutableCopyWithZone(zone: interop.PointerConvertible): interop.Object;
@@ -12338,10 +12334,6 @@ declare class NSFileHandle extends NSObject implements NSSecureCoding {
1233812334

1233912335
closeFile(): void;
1234012336

12341-
appendDataCompletion(data: NSData, callback: (p1: NSError) => void): void;
12342-
12343-
static fileHandleWithDataCompletion(path: string, data: NSData, callback: (p1: NSFileHandle, p2: NSError) => void): void;
12344-
1234512337
static readonly supportsSecureCoding: boolean;
1234612338

1234712339
encodeWithCoder(coder: NSCoder): void;
@@ -14121,10 +14113,6 @@ declare class NSString extends NSObject implements NSCopying, NSMutableCopying,
1412114113

1412214114
static localizedUserNotificationStringForKeyArguments(key: string, arguments$: NSArray<interop.Object> | Array<interop.Object> | null): string;
1412314115

14124-
static stringWithContentsOfFileEncodingCompletion(path: string, enc: number, callback: (p1: string, p2: NSError) => void): void;
14125-
14126-
writeToFileAtomicallyEncodingCompletion(path: string, atomically: boolean, enc: number, callback: (p1: NSError) => void): void;
14127-
1412814116
copyWithZone(zone: interop.PointerConvertible): interop.Object;
1412914117

1413014118
mutableCopyWithZone(zone: interop.PointerConvertible): interop.Object;

packages/macos/types/Runtime.d.ts

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,6 @@ declare interface NSObjectProtocol {
186186
declare class NSObjectProtocol extends NativeObject implements NSObjectProtocol {
187187
}
188188

189-
declare interface NativeScriptEmbedderDelegate {
190-
presentNativeScriptApp(vc: interop.Object): interop.Object;
191-
}
192-
193-
declare class NativeScriptEmbedderDelegate extends NativeObject implements NativeScriptEmbedderDelegate {
194-
}
195-
196189
declare class NSObject extends NativeObject implements NSObjectProtocol {
197190
static load(): void;
198191

@@ -685,26 +678,6 @@ declare class NSObject extends NativeObject implements NSObjectProtocol {
685678
readonly debugDescription: string;
686679
}
687680

688-
declare class NativeScriptEmbedder extends NSObject {
689-
readonly delegate: NativeScriptEmbedderDelegate;
690-
691-
static sharedInstance(): NativeScriptEmbedder;
692-
}
693-
694-
declare class NativeScriptUtils extends NSObject {
695-
static getSystemFontWeightItalicSymbolicTraits(size: number, weight: interop.Object, italic: boolean, symbolicTraits: interop.Object): interop.Object;
696-
697-
static createUIFont(font: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>): interop.Object;
698-
699-
static createMutableStringWithDetails(details: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>): NSMutableAttributedString;
700-
701-
static createMutableStringForSpanFontColorBackgroundColorTextDecorationBaselineOffset(text: string, font: interop.Object, color: interop.Object, backgroundColor: interop.Object, textDecoration: string, baselineOffset: number): NSMutableAttributedString;
702-
703-
static scaleImageWidthHeightScaleFactor(image: interop.Object, width: number, height: number, scaleFactor: number): interop.Object;
704-
705-
static getImageDataFormatQuality(image: interop.Object, format: string, quality: number): NSData;
706-
}
707-
708681
declare class OS_os_workgroup extends OS_object {
709682
init(): this;
710683
}

packages/macos/types/TNSWidgets.d.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)