Files
NativeScript/tns-core-modules/ios/objc-i386/objc!NewsstandKit.d.ts
Panayot Cankov 1236f66f44 Add npm script that generates ios .d.ts-es from the tests app
Less than 30 erros left, let's hope it still works

Added lib.*.d.ts from typescript, removed lib and dom stuff, added by hand XHR, alert etc. .d.ts-es for polyfills

Roll back some changes involved in separating UIEvent for dom and ios

Test combined dts-es will now use lib, while internally we will not to avoid UIEvent conflict with dom stuff
2016-08-29 09:58:17 +03:00

69 lines
1.4 KiB
TypeScript

declare class NKAssetDownload extends NSObject {
static alloc(): NKAssetDownload; // inherited from NSObject
static new(): NKAssetDownload; // inherited from NSObject
/* readonly */ URLRequest: NSURLRequest;
/* readonly */ identifier: string;
/* readonly */ issue: NKIssue;
userInfo: NSDictionary<any, any>;
downloadWithDelegate(delegate: NSURLConnectionDownloadDelegate): NSURLConnection;
}
declare class NKIssue extends NSObject {
static alloc(): NKIssue; // inherited from NSObject
static new(): NKIssue; // inherited from NSObject
/* readonly */ contentURL: NSURL;
/* readonly */ date: Date;
/* readonly */ downloadingAssets: NSArray<NKAssetDownload>;
/* readonly */ name: string;
/* readonly */ status: NKIssueContentStatus;
addAssetWithRequest(request: NSURLRequest): NKAssetDownload;
}
declare const enum NKIssueContentStatus {
None = 0,
Downloading = 1,
Available = 2
}
declare var NKIssueDownloadCompletedNotification: string;
declare class NKLibrary extends NSObject {
static alloc(): NKLibrary; // inherited from NSObject
static new(): NKLibrary; // inherited from NSObject
static sharedLibrary(): NKLibrary;
currentlyReadingIssue: NKIssue;
/* readonly */ downloadingAssets: NSArray<NKAssetDownload>;
/* readonly */ issues: NSArray<NKIssue>;
addIssueWithNameDate(name: string, date: Date): NKIssue;
issueWithName(name: string): NKIssue;
removeIssue(issue: NKIssue): void;
}