Repository: EddyVerbruggen/nativescript-pluginshowcase
Branch: master
Commit: ca8e70230382
Files: 129
Total size: 4.8 MB
Directory structure:
gitextract_uwg3j6uc/
├── .gitignore
├── .travis.yml
├── LICENSE
├── README.md
├── TelerikUI.d.ts
├── app/
│ ├── App_Resources/
│ │ ├── Android/
│ │ │ ├── app.gradle
│ │ │ ├── google-services.json
│ │ │ └── src/
│ │ │ └── main/
│ │ │ ├── AndroidManifest.xml
│ │ │ └── res/
│ │ │ ├── drawable-nodpi/
│ │ │ │ └── splash_screen.xml
│ │ │ ├── values/
│ │ │ │ ├── colors.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ ├── values-v21/
│ │ │ │ ├── colors.xml
│ │ │ │ └── styles.xml
│ │ │ └── xml/
│ │ │ └── shortcuts.xml
│ │ └── iOS/
│ │ ├── Assets.xcassets/
│ │ │ ├── AppIcon.appiconset/
│ │ │ │ └── Contents.json
│ │ │ ├── Contents.json
│ │ │ ├── LaunchImage.launchimage/
│ │ │ │ └── Contents.json
│ │ │ ├── LaunchScreen.AspectFill.imageset/
│ │ │ │ └── Contents.json
│ │ │ └── LaunchScreen.Center.imageset/
│ │ │ └── Contents.json
│ │ ├── GoogleService-Info.plist
│ │ ├── Info.plist
│ │ ├── LaunchScreen.storyboard
│ │ ├── Models.scnassets/
│ │ │ ├── Ball.dae
│ │ │ ├── Car.dae
│ │ │ └── Tree.dae
│ │ └── build.xcconfig
│ ├── abstract-menu-page-component.ts
│ ├── app.component.html
│ ├── app.component.ts
│ ├── app.css
│ ├── app.module.ngfactory.d.ts
│ ├── app.module.ts
│ ├── app.routing.ts
│ ├── app.tablet.css
│ ├── appicon/
│ │ ├── README.md
│ │ ├── appicon-common.css
│ │ ├── appicon-routing.module.ts
│ │ ├── appicon.component.html
│ │ ├── appicon.component.ts
│ │ └── appicon.module.ts
│ ├── ar/
│ │ ├── README.md
│ │ ├── ar-common.css
│ │ ├── ar-routing.module.ts
│ │ ├── ar.component.html
│ │ ├── ar.component.ts
│ │ └── ar.module.ts
│ ├── feedback/
│ │ ├── README.md
│ │ ├── feedback-common.css
│ │ ├── feedback-routing.module.ts
│ │ ├── feedback.component.html
│ │ ├── feedback.component.ts
│ │ ├── feedback.module.ts
│ │ └── helpers/
│ │ ├── cfalertdialog-helper.ts
│ │ ├── fancyalert-helper.ts
│ │ ├── feedback-helper.ts
│ │ ├── localnotifications-helper.ts
│ │ ├── snackbar-helper.ts
│ │ └── toast-helper.ts
│ ├── firebase/
│ │ ├── README.md
│ │ ├── firebase-common.css
│ │ ├── firebase-routing.module.ts
│ │ ├── firebase.component.html
│ │ ├── firebase.component.ts
│ │ └── firebase.module.ts
│ ├── fonts/
│ │ ├── SourceSansPro-Bold.otf
│ │ ├── SourceSansPro-Light.otf
│ │ ├── SourceSansPro-Regular.otf
│ │ ├── SourceSansPro-Semibold.otf
│ │ └── materialdesignicons.css
│ ├── home/
│ │ ├── home-common.css
│ │ ├── home.component.html
│ │ └── home.component.ts
│ ├── info-modal/
│ │ ├── info-modal-common.css
│ │ ├── info-modal.html
│ │ ├── info-modal.tablet.css
│ │ ├── info-modal.ts
│ │ ├── info-routing.module.ts
│ │ └── info.module.ts
│ ├── input/
│ │ ├── README.md
│ │ ├── helpers/
│ │ │ ├── checkbox-helper.ts
│ │ │ └── iqkeyboard-helper.ts
│ │ ├── input-common.css
│ │ ├── input-routing.module.ts
│ │ ├── input.android.css
│ │ ├── input.component.html
│ │ ├── input.component.ts
│ │ ├── input.ios.css
│ │ └── input.module.ts
│ ├── main.aot.ts
│ ├── main.ts
│ ├── mapping/
│ │ ├── README.md
│ │ ├── mapping-common.css
│ │ ├── mapping-routing.module.ts
│ │ ├── mapping.component.html
│ │ ├── mapping.component.ts
│ │ └── mapping.module.ts
│ ├── modules/
│ │ └── debounce/
│ │ ├── debounce.directive.ts
│ │ └── debounce.module.ts
│ ├── package.json
│ ├── platform.android.css
│ ├── platform.ios.css
│ ├── services/
│ │ └── toast.service.ts
│ ├── shared/
│ │ ├── config.ts
│ │ ├── plugin-info-wrapper.ts
│ │ └── plugin-info.ts
│ ├── speech/
│ │ ├── README.md
│ │ ├── speech-common.css
│ │ ├── speech-routing.module.ts
│ │ ├── speech.android.css
│ │ ├── speech.component.html
│ │ ├── speech.component.ts
│ │ ├── speech.ios.css
│ │ └── speech.module.ts
│ └── utils/
│ ├── status-bar-util.ts
│ └── tablet-util.ts
├── e2e/
│ ├── config/
│ │ ├── appium.capabilities.json
│ │ └── mocha.opts
│ ├── sample-test.e2e.ts
│ ├── setup.ts
│ └── tsconfig.json
├── firebase.nativescript.json
├── package.json
├── references.d.ts
├── tsconfig.esm.json
├── tsconfig.json
├── tsconfig.tns.json
├── tslint.json
└── webpack.config.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
.idea
tmp
node_modules
platforms
report
*.js
!webpack.config.js
*.log
instrumentscli0.trace
*.keystore
================================================
FILE: .travis.yml
================================================
android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-28
- extra-android-m2repository
- sys-img-armeabi-v7a-android-21
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- .nvm
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
install:
- echo no | npm install -g nativescript
- tns usage-reporting disable
- tns error-reporting disable
- echo no | npm run build
script:
matrix:
include:
- stage: "Lint"
language: node_js
os: linux
node_js: "10"
script: "npm run tslint"
- stage: "WebPack"
os: osx
env:
- Webpack="iOS"
osx_image: xcode10.2
language: node_js
node_js: "10"
jdk: oraclejdk8
script:
- pod repo update
- npm run build-ios-bundle
- language: android
os: linux
env:
- Webpack="Android"
dist: trusty
jdk: oraclejdk8
before_install: nvm install 10
script: npm run build-android-bundle
- stage: "Build"
env:
- BuildAndroid="28"
language: android
os: linux
jdk: oraclejdk8
dist: trusty
before_install: nvm install 10
script:
- tns build android
- os: osx
osx_image: xcode10.2
language: node_js
node_js: "10"
jdk: oraclejdk8
script:
- pod repo update
- tns build ios
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2017 - now, Eddy Verbruggen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
NativeScript plugin showcase
----------------------------
[![Appstore download][appstore-image]][appstore-url]
[![Playtore download][playstore-image]][playstore-url]


[![Twitter Follow][twitter-image]][twitter-url]
[appstore-image]:screenshots/apple-appstore-badge.svg
[appstore-url]:https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=1281334006
[playstore-image]:screenshots/google-playstore-badge.svg
[playstore-url]:https://play.google.com/store/apps/details?id=org.nativescript.pluginshowcase
[build-status]:https://travis-ci.org/EddyVerbruggen/nativescript-pluginshowcase.svg?branch=master
[build-url]:https://travis-ci.org/EddyVerbruggen/nativescript-pluginshowcase
[build-status]:https://travis-ci.org/EddyVerbruggen/nativescript-pluginshowcase.svg?branch=master
[build-url]:https://travis-ci.org/EddyVerbruggen/nativescript-pluginshowcase
[twitter-image]:https://img.shields.io/twitter/follow/eddyverbruggen.svg?style=social&label=Follow%20me
[twitter-url]:https://twitter.com/eddyverbruggen
> [Watch me demo this app during my plugins talk at {N} dev day EU (YouTube) 🗣](https://www.youtube.com/watch?v=WqhHorPcnyo)
### What's this?
Glad you asked 😄.. I need it to demo a few plugins and wanted to play a bit more with NativeScript & Angular.
This was also a great opportunity for me to properly play with Webpack, AoT, Uglify, and (even) Appium.
### Plugin themes included
- [Feedback](app/feedback/)
- [Mapping](app/mapping/)
- [Speech](app/speech/)
- [Input](app/input/)
- [App Icon](app/appicon/)
- [Firebase](app/firebase/)
- [Augmented Reality](app/ar/)
### CanIUse?
Sure, you can either download it from the [AppStore](https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=1281334006) or [Play store](https://play.google.com/store/apps/details?id=org.nativescript.pluginshowcase), or build it yourself.
```bash
git clone https://github.com/EddyVerbruggen/nativescript-pluginshowcase
cd nativescript-pluginshowcase
npm install
npm run ios
# or: npm run android
# or: npm run ios.emulator
# or even: npm run start-ios-bundle (for a much faster startup experience because of Webpack with Uglify)
```
================================================
FILE: TelerikUI.d.ts
================================================
declare class TKAlert extends NSObject implements UIGestureRecognizerDelegate {
static alloc(): TKAlert; // inherited from NSObject
static new(): TKAlert; // inherited from NSObject
readonly actions: NSArray;
actionsLayout: TKAlertActionsLayout;
readonly alertView: TKAlertView;
allowParallaxEffect: boolean;
animationDuration: number;
attributedMessage: NSAttributedString;
attributedTitle: NSAttributedString;
readonly buttonsView: TKAlertButtonsView;
readonly contentView: TKAlertContentView;
customFrame: CGRect;
delegate: TKAlertDelegate;
dismissMode: TKAlertDismissMode;
dismissTimeout: number;
readonly headerView: TKAlertContentView;
message: string;
readonly style: TKAlertStyle;
swipeDismissDirection: TKAlertSwipeDismissDirection;
tintColor: UIColor;
title: string;
visible: boolean;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
actionAtIndex(index: number): TKAlertAction;
addAction(action: TKAlertAction): void;
addActionWithTitleHandler(title: string, handler: (p1: TKAlert, p2: TKAlertAction) => boolean): TKAlertAction;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
dismiss(animated: boolean): void;
gestureRecognizerShouldBeRequiredToFailByGestureRecognizer(gestureRecognizer: UIGestureRecognizer, otherGestureRecognizer: UIGestureRecognizer): boolean;
gestureRecognizerShouldBegin(gestureRecognizer: UIGestureRecognizer): boolean;
gestureRecognizerShouldReceivePress(gestureRecognizer: UIGestureRecognizer, press: UIPress): boolean;
gestureRecognizerShouldReceiveTouch(gestureRecognizer: UIGestureRecognizer, touch: UITouch): boolean;
gestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer(gestureRecognizer: UIGestureRecognizer, otherGestureRecognizer: UIGestureRecognizer): boolean;
gestureRecognizerShouldRequireFailureOfGestureRecognizer(gestureRecognizer: UIGestureRecognizer, otherGestureRecognizer: UIGestureRecognizer): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
removeAction(action: TKAlertAction): void;
removeActionAtIndex(index: number): void;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
shake(): void;
show(animated: boolean): void;
}
declare class TKAlertAction extends NSObject {
static actionWithTitleHandler(title: string, handler: (p1: TKAlert, p2: TKAlertAction) => boolean): TKAlertAction;
static alloc(): TKAlertAction; // inherited from NSObject
static new(): TKAlertAction; // inherited from NSObject
backgroundColor: UIColor;
cornerRadius: number;
font: UIFont;
handler: (p1: TKAlert, p2: TKAlertAction) => boolean;
tag: number;
title: string;
titleColor: UIColor;
constructor(o: { title: string; handler: (p1: TKAlert, p2: TKAlertAction) => boolean; });
initWithTitleHandler(title: string, handler: (p1: TKAlert, p2: TKAlertAction) => boolean): this;
}
declare const enum TKAlertActionsLayout {
Horizontal = 0,
Vertical = 1
}
declare const enum TKAlertAnimation {
Scale = 0,
Fade = 1,
SlideFromLeft = 2,
SlideFromTop = 3,
SlideFromRight = 4,
SlideFromBottom = 5
}
declare const enum TKAlertBackgroundStyle {
Blur = 0,
Dim = 1,
None = 2
}
declare class TKAlertButtonsView extends TKView {
static alloc(): TKAlertButtonsView; // inherited from NSObject
static appearance(): TKAlertButtonsView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKAlertButtonsView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKAlertButtonsView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKAlertButtonsView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKAlertButtonsView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKAlertButtonsView; // inherited from UIAppearance
static new(): TKAlertButtonsView; // inherited from NSObject
}
declare class TKAlertContentView extends TKView {
static alloc(): TKAlertContentView; // inherited from NSObject
static appearance(): TKAlertContentView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKAlertContentView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKAlertContentView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKAlertContentView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKAlertContentView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKAlertContentView; // inherited from UIAppearance
static new(): TKAlertContentView; // inherited from NSObject
alert: TKAlert;
readonly imageView: UIImageView;
readonly textLabel: UILabel;
}
interface TKAlertDelegate extends NSObjectProtocol {
alertButtonForAction?(alert: TKAlert, action: TKAlertAction): UIButton;
alertDidDismiss?(alert: TKAlert): void;
alertDidDismissWithAction?(alert: TKAlert, action: TKAlertAction): void;
alertDidShow?(alert: TKAlert): void;
alertWillDismiss?(alert: TKAlert): void;
alertWillShow?(alert: TKAlert): void;
}
declare var TKAlertDelegate: {
prototype: TKAlertDelegate;
};
declare const enum TKAlertDismissMode {
None = 0,
Tap = 1,
Swipe = 2
}
declare class TKAlertStyle extends TKStyleNode {
static alloc(): TKAlertStyle; // inherited from NSObject
static new(): TKAlertStyle; // inherited from NSObject
backgroundColor: UIColor;
backgroundDimAlpha: number;
backgroundStyle: TKAlertBackgroundStyle;
backgroundTintColor: UIColor;
buttonHeight: number;
buttonSpacing: number;
buttonsInset: UIEdgeInsets;
centerFrame: boolean;
contentHeight: number;
contentInset: UIEdgeInsets;
contentSeparatorWidth: number;
cornerRadius: number;
dismissAnimation: TKAlertAnimation;
headerHeight: number;
maxWidth: number;
messageColor: UIColor;
showAnimation: TKAlertAnimation;
titleColor: UIColor;
titleSeparatorWidth: number;
}
declare const enum TKAlertSwipeDismissDirection {
Horizontal = 0,
Vertical = 1
}
declare class TKAlertView extends TKView {
static alloc(): TKAlertView; // inherited from NSObject
static appearance(): TKAlertView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKAlertView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKAlertView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKAlertView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKAlertView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKAlertView; // inherited from UIAppearance
static new(): TKAlertView; // inherited from NSObject
alert: TKAlert;
readonly buttonsView: TKAlertButtonsView;
readonly contentView: TKAlertContentView;
readonly headerView: TKAlertContentView;
}
declare const enum TKAutoCompleteCompletionMode {
StartsWith = 0,
Contains = 1
}
declare class TKAutoCompleteController extends UIViewController {
static alloc(): TKAutoCompleteController; // inherited from NSObject
static new(): TKAutoCompleteController; // inherited from NSObject
autocomplete: TKAutoCompleteTextView;
}
interface TKAutoCompleteDataSource extends NSObjectProtocol {
autoCompleteCompletionForPrefix?(autocomplete: TKAutoCompleteTextView, prefix: string): NSArray;
autoCompleteCompletionsForString?(autocomplete: TKAutoCompleteTextView, input: string): void;
}
declare var TKAutoCompleteDataSource: {
prototype: TKAutoCompleteDataSource;
};
interface TKAutoCompleteDelegate extends NSObjectProtocol {
autoCompleteDidAddToken?(autocomplete: TKAutoCompleteTextView, token: TKAutoCompleteToken): void;
autoCompleteDidAutoComplete?(autocomplete: TKAutoCompleteTextView, completion: string): void;
autoCompleteDidRemoveToken?(autocomplete: TKAutoCompleteTextView, token: TKAutoCompleteToken): void;
autoCompleteDidSelectToken?(autocomplete: TKAutoCompleteTextView, token: TKAutoCompleteToken): void;
autoCompleteDidStartEditing?(autocomplete: TKAutoCompleteTextView): void;
autoCompleteShouldAddToken?(autocomplete: TKAutoCompleteTextView, token: TKAutoCompleteToken): boolean;
autoCompleteShouldRemoveToken?(autocomplete: TKAutoCompleteTextView, token: TKAutoCompleteToken): boolean;
autoCompleteSuggestionListUpdated?(autocomplete: TKAutoCompleteTextView, suggestionList: NSArray): void;
autoCompleteViewForToken?(autocomplete: TKAutoCompleteTextView, token: TKAutoCompleteToken): TKAutoCompleteTokenView;
autoCompleteWillShowSuggestionList?(autocomplete: TKAutoCompleteTextView, suggestionList: NSArray): void;
}
declare var TKAutoCompleteDelegate: {
prototype: TKAutoCompleteDelegate;
};
declare const enum TKAutoCompleteDisplayMode {
Plain = 0,
Tokens = 1
}
declare const enum TKAutoCompleteLayoutMode {
Horizontal = 0,
Wrap = 1
}
declare const enum TKAutoCompleteSuggestMode {
Suggest = 0,
Append = 1,
SuggestAppend = 2
}
interface TKAutoCompleteSuggestViewDelegate extends NSObjectProtocol {
selectedItem: TKAutoCompleteToken;
hide(): void;
populateWithItems(items: NSArray): void;
reloadSuggestions(): void;
shouldAlwaysHideSuggestionView(): boolean;
show(): void;
}
declare var TKAutoCompleteSuggestViewDelegate: {
prototype: TKAutoCompleteSuggestViewDelegate;
};
declare class TKAutoCompleteSuggestionCell extends TKListViewCell {
static alloc(): TKAutoCompleteSuggestionCell; // inherited from NSObject
static appearance(): TKAutoCompleteSuggestionCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKAutoCompleteSuggestionCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKAutoCompleteSuggestionCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKAutoCompleteSuggestionCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKAutoCompleteSuggestionCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKAutoCompleteSuggestionCell; // inherited from UIAppearance
static new(): TKAutoCompleteSuggestionCell; // inherited from NSObject
}
declare class TKAutoCompleteTextView extends TKView {
static alloc(): TKAutoCompleteTextView; // inherited from NSObject
static appearance(): TKAutoCompleteTextView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKAutoCompleteTextView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKAutoCompleteTextView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKAutoCompleteTextView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKAutoCompleteTextView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKAutoCompleteTextView; // inherited from UIAppearance
static new(): TKAutoCompleteTextView; // inherited from NSObject
allowCustomTokens: boolean;
allowTokenHighlighting: boolean;
autocompleteInset: number;
readonly closeButton: UIButton;
readonly contentView: TKView;
readonly currentWrapHeight: number;
dataSource: TKAutoCompleteDataSource;
delegate: TKAutoCompleteDelegate;
displayMode: TKAutoCompleteDisplayMode;
readonly imageView: UIImageView;
layoutMode: TKAutoCompleteLayoutMode;
maximumTokensCount: number;
maximumWrapHeight: number;
minimumCharactersToSearch: number;
readonly noResultsLabel: UILabel;
readOnly: boolean;
showAllItemsInitially: boolean;
suggestMode: TKAutoCompleteSuggestMode;
suggestionView: UIView;
suggestionViewHeight: number;
suggestionViewOutOfFrame: boolean;
readonly textField: UITextField;
readonly titleLabel: UILabel;
tokenInset: number;
tokeninzingSymbols: NSArray;
addToken(token: TKAutoCompleteToken): void;
completeSuggestionViewPopulation(suggestions: NSArray): void;
insertTokenAtIndex(token: TKAutoCompleteToken, index: number): void;
removeAllTokens(): void;
removeToken(token: TKAutoCompleteToken): void;
removeTokenAtIndex(index: number): void;
resetAutocomplete(): void;
resetAutocompleteState(): void;
tokenAtIndex(index: number): TKAutoCompleteToken;
tokens(): NSArray;
}
declare class TKAutoCompleteToken extends NSObject {
static alloc(): TKAutoCompleteToken; // inherited from NSObject
static new(): TKAutoCompleteToken; // inherited from NSObject
attributedText: NSAttributedString;
image: UIImage;
text: string;
constructor(o: { text: string; });
initWithText(text: string): this;
}
declare class TKAutoCompleteTokenRemoveButton extends UIButton {
static alloc(): TKAutoCompleteTokenRemoveButton; // inherited from NSObject
static appearance(): TKAutoCompleteTokenRemoveButton; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKAutoCompleteTokenRemoveButton; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKAutoCompleteTokenRemoveButton; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKAutoCompleteTokenRemoveButton; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKAutoCompleteTokenRemoveButton; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKAutoCompleteTokenRemoveButton; // inherited from UIAppearance
static buttonWithType(buttonType: UIButtonType): TKAutoCompleteTokenRemoveButton; // inherited from UIButton
static new(): TKAutoCompleteTokenRemoveButton; // inherited from NSObject
}
declare class TKAutoCompleteTokenView extends TKView implements UIKeyInput {
static alloc(): TKAutoCompleteTokenView; // inherited from NSObject
static appearance(): TKAutoCompleteTokenView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKAutoCompleteTokenView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKAutoCompleteTokenView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKAutoCompleteTokenView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKAutoCompleteTokenView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKAutoCompleteTokenView; // inherited from UIAppearance
static new(): TKAutoCompleteTokenView; // inherited from NSObject
highlightedView: UIView;
readonly imageView: UIImageView;
isHighlighted: boolean;
owner: TKAutoCompleteTextView;
removeButton: UIButton;
readonly textLabel: UILabel;
token: TKAutoCompleteToken;
tokenInset: number;
autocapitalizationType: UITextAutocapitalizationType; // inherited from UITextInputTraits
autocorrectionType: UITextAutocorrectionType; // inherited from UITextInputTraits
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
enablesReturnKeyAutomatically: boolean; // inherited from UITextInputTraits
readonly hasText: boolean; // inherited from UIKeyInput
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
keyboardAppearance: UIKeyboardAppearance; // inherited from UITextInputTraits
keyboardType: UIKeyboardType; // inherited from UITextInputTraits
returnKeyType: UIReturnKeyType; // inherited from UITextInputTraits
secureTextEntry: boolean; // inherited from UITextInputTraits
spellCheckingType: UITextSpellCheckingType; // inherited from UITextInputTraits
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
textContentType: string; // inherited from UITextInputTraits
readonly // inherited from NSObjectProtocol
constructor(o: { token: TKAutoCompleteToken; });
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
deleteBackward(): void;
initWithToken(token: TKAutoCompleteToken): this;
insertText(text: string): void;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class TKBalloonShape extends TKShape {
static alloc(): TKBalloonShape; // inherited from NSObject
static new(): TKBalloonShape; // inherited from NSObject
arrowOffset: number;
arrowPosition: TKBalloonShapeArrowPosition;
arrowSize: CGSize;
cornerRadius: number;
useStrictArrowPosition: boolean;
constructor(o: { arrowPosition: TKBalloonShapeArrowPosition; size: CGSize; });
initWithArrowPositionSize(arrowPosition: TKBalloonShapeArrowPosition, size: CGSize): this;
}
declare const enum TKBalloonShapeArrowPosition {
None = 0,
Left = 1,
Right = 2,
Top = 3,
Bottom = 4,
LeftTop = 5,
LeftBottom = 6,
RightTop = 7,
RightBottom = 8,
TopLeft = 9,
TopRight = 10,
BottomLeft = 11,
BottomRight = 12
}
declare class TKCalendar extends TKView {
static alloc(): TKCalendar; // inherited from NSObject
static appearance(): TKCalendar; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendar; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendar; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendar; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendar; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendar; // inherited from UIAppearance
static dateWithYearMonthDayWithCalendar(year: number, month: number, day: number, calendar: NSCalendar): Date;
static isDateEqualToDateWithComponentsWithCalendar(date1: Date, date2: Date, components: NSCalendarUnit, calendar: NSCalendar): boolean;
static new(): TKCalendar; // inherited from NSObject
allowPinchZoom: boolean;
calendar: NSCalendar;
dataSource: TKCalendarDataSource;
delegate: TKCalendarDelegate;
readonly displayedDate: Date;
locale: NSLocale;
maxDate: Date;
minDate: Date;
readonly presenter: TKCalendarPresenter;
selectedDate: Date;
selectedDates: NSArray;
selectedDatesRange: TKDateRange;
selectionMode: TKCalendarSelectionMode;
theme: TKTheme;
viewMode: TKCalendarViewMode;
clearSelection(): void;
eventsForDate(date: Date): NSArray;
navigateBack(animated: boolean): void;
navigateForward(animated: boolean): void;
navigateToDateAnimated(date: Date, animated: boolean): void;
reloadData(): void;
}
declare class TKCalendarCell extends UIView {
static alloc(): TKCalendarCell; // inherited from NSObject
static appearance(): TKCalendarCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarCell; // inherited from UIAppearance
static new(): TKCalendarCell; // inherited from NSObject
readonly label: UILabel;
owner: TKCalendar;
applyStyleForState(state: number): void;
style(): TKCalendarCellStyle;
updateVisuals(): void;
}
declare const enum TKCalendarCellAlignment {
Left = 1,
Right = 2,
Top = 4,
Bottom = 8,
HorizontalCenter = 16,
VerticalCenter = 32
}
declare class TKCalendarCellStyle extends TKStyleNode {
static alloc(): TKCalendarCellStyle; // inherited from NSObject
static new(): TKCalendarCellStyle; // inherited from NSObject
backgroundColor: UIColor;
bottomBorderColor: UIColor;
bottomBorderWidth: number;
leftBorderColor: UIColor;
leftBorderWidth: number;
rightBorderColor: UIColor;
rightBorderWidth: number;
shape: TKShape;
shapeFill: TKFill;
shapeStroke: TKStroke;
textAlignment: TKCalendarCellAlignment;
textColor: UIColor;
textFont: UIFont;
textInsets: UIEdgeInsets;
topBorderColor: UIColor;
topBorderWidth: number;
}
declare const enum TKCalendarCellType {
Day = 0,
DayName = 1,
WeekNumber = 2,
Title = 3,
MonthName = 4,
YearNumber = 5
}
interface TKCalendarDataSource extends NSObjectProtocol {
calendarEventsForDate?(calendar: TKCalendar, date: Date): NSArray;
calendarEventsFromDateToDateWithCallback?(calendar: TKCalendar, startDate: Date, endDate: Date, eventsCallback: (p1: NSArray) => void): void;
}
declare var TKCalendarDataSource: {
prototype: TKCalendarDataSource;
};
declare class TKCalendarDayCell extends TKCalendarCell {
static alloc(): TKCalendarDayCell; // inherited from NSObject
static appearance(): TKCalendarDayCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarDayCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarDayCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarDayCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarDayCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarDayCell; // inherited from UIAppearance
static new(): TKCalendarDayCell; // inherited from NSObject
readonly date: Date;
readonly events: NSArray;
state: TKCalendarDayState;
attachWithCalendarWithDate(owner: TKCalendar, date: Date): void;
drawEventsRect(context: any, rect: CGRect): void;
stateForDate(date: Date): TKCalendarDayState;
style(): TKCalendarDayCellStyle;
textAttributesForEvent(event: TKCalendarEventProtocol): NSDictionary;
textForEvent(event: TKCalendarEventProtocol): string;
}
declare const enum TKCalendarDayCellEventOrientation {
Horizontal = 1,
Vertical = 2
}
declare class TKCalendarDayCellStyle extends TKCalendarCellStyle {
static alloc(): TKCalendarDayCellStyle; // inherited from NSObject
static new(): TKCalendarDayCellStyle; // inherited from NSObject
allDayEventTextColor: UIColor;
defaultSelectionColor: UIColor;
displayEventsAsText: boolean;
eventAlignment: TKCalendarCellAlignment;
eventFont: UIFont;
eventInsets: UIEdgeInsets;
eventOrientation: TKCalendarDayCellEventOrientation;
eventShape: TKShape;
eventSpacing: number;
eventTextColor: UIColor;
maxEventsCount: number;
stretchEvents: boolean;
useDefaultSelectionStyle: boolean;
wrapEventText: boolean;
}
declare class TKCalendarDayNameCell extends TKCalendarCell {
static alloc(): TKCalendarDayNameCell; // inherited from NSObject
static appearance(): TKCalendarDayNameCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarDayNameCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarDayNameCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarDayNameCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarDayNameCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarDayNameCell; // inherited from UIAppearance
static new(): TKCalendarDayNameCell; // inherited from NSObject
attachWithCalendarWithDayOffset(owner: TKCalendar, index: number): void;
}
declare const enum TKCalendarDayState {
Today = 1,
Weekend = 2,
CurrentMonth = 4,
CurrentYear = 8,
Selected = 16,
FirstInSelection = 32,
LastInSelection = 64,
MidInSelection = 128,
Disabled = 256
}
declare class TKCalendarDayView extends UIView implements UICollectionViewDataSource, UICollectionViewDelegateFlowLayout {
static alloc(): TKCalendarDayView; // inherited from NSObject
static appearance(): TKCalendarDayView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarDayView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarDayView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarDayView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarDayView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarDayView; // inherited from UIAppearance
static new(): TKCalendarDayView; // inherited from NSObject
readonly allDayEvents: NSArray;
readonly allDayEventsView: TKCalendarDayViewAllDayEventsView;
readonly calendar: NSCalendar;
dataSource: TKCalendarDayViewDataSource;
readonly date: Date;
delegate: TKCalendarDayViewDelegate;
readonly emptyView: UIView;
readonly events: NSArray;
readonly eventsView: TKCalendarDayViewEventsView;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
attachWithEventsForDateWithCalendar(events: NSArray, date: Date, calendar: NSCalendar): void;
class(): typeof NSObject;
collectionViewCanFocusItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
collectionViewCanMoveItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
collectionViewCanPerformActionForItemAtIndexPathWithSender(collectionView: UICollectionView, action: string, indexPath: NSIndexPath, sender: any): boolean;
collectionViewCellForItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): UICollectionViewCell;
collectionViewDidDeselectItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): void;
collectionViewDidEndDisplayingCellForItemAtIndexPath(collectionView: UICollectionView, cell: UICollectionViewCell, indexPath: NSIndexPath): void;
collectionViewDidEndDisplayingSupplementaryViewForElementOfKindAtIndexPath(collectionView: UICollectionView, view: UICollectionReusableView, elementKind: string, indexPath: NSIndexPath): void;
collectionViewDidHighlightItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): void;
collectionViewDidSelectItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): void;
collectionViewDidUnhighlightItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): void;
collectionViewDidUpdateFocusInContextWithAnimationCoordinator(collectionView: UICollectionView, context: UICollectionViewFocusUpdateContext, coordinator: UIFocusAnimationCoordinator): void;
collectionViewIndexPathForIndexTitleAtIndex(collectionView: UICollectionView, title: string, index: number): NSIndexPath;
collectionViewLayoutInsetForSectionAtIndex(collectionView: UICollectionView, collectionViewLayout: UICollectionViewLayout, section: number): UIEdgeInsets;
collectionViewLayoutMinimumInteritemSpacingForSectionAtIndex(collectionView: UICollectionView, collectionViewLayout: UICollectionViewLayout, section: number): number;
collectionViewLayoutMinimumLineSpacingForSectionAtIndex(collectionView: UICollectionView, collectionViewLayout: UICollectionViewLayout, section: number): number;
collectionViewLayoutReferenceSizeForFooterInSection(collectionView: UICollectionView, collectionViewLayout: UICollectionViewLayout, section: number): CGSize;
collectionViewLayoutReferenceSizeForHeaderInSection(collectionView: UICollectionView, collectionViewLayout: UICollectionViewLayout, section: number): CGSize;
collectionViewLayoutSizeForItemAtIndexPath(collectionView: UICollectionView, collectionViewLayout: UICollectionViewLayout, indexPath: NSIndexPath): CGSize;
collectionViewMoveItemAtIndexPathToIndexPath(collectionView: UICollectionView, sourceIndexPath: NSIndexPath, destinationIndexPath: NSIndexPath): void;
collectionViewNumberOfItemsInSection(collectionView: UICollectionView, section: number): number;
collectionViewPerformActionForItemAtIndexPathWithSender(collectionView: UICollectionView, action: string, indexPath: NSIndexPath, sender: any): void;
collectionViewShouldDeselectItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
collectionViewShouldHighlightItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
collectionViewShouldSelectItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
collectionViewShouldShowMenuForItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
collectionViewShouldUpdateFocusInContext(collectionView: UICollectionView, context: UICollectionViewFocusUpdateContext): boolean;
collectionViewTargetContentOffsetForProposedContentOffset(collectionView: UICollectionView, proposedContentOffset: CGPoint): CGPoint;
collectionViewTargetIndexPathForMoveFromItemAtIndexPathToProposedIndexPath(collectionView: UICollectionView, originalIndexPath: NSIndexPath, proposedIndexPath: NSIndexPath): NSIndexPath;
collectionViewTransitionLayoutForOldLayoutNewLayout(collectionView: UICollectionView, fromLayout: UICollectionViewLayout, toLayout: UICollectionViewLayout): UICollectionViewTransitionLayout;
collectionViewViewForSupplementaryElementOfKindAtIndexPath(collectionView: UICollectionView, kind: string, indexPath: NSIndexPath): UICollectionReusableView;
collectionViewWillDisplayCellForItemAtIndexPath(collectionView: UICollectionView, cell: UICollectionViewCell, indexPath: NSIndexPath): void;
collectionViewWillDisplaySupplementaryViewForElementKindAtIndexPath(collectionView: UICollectionView, view: UICollectionReusableView, elementKind: string, indexPath: NSIndexPath): void;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
indexPathForPreferredFocusedViewInCollectionView(collectionView: UICollectionView): NSIndexPath;
indexTitlesForCollectionView(collectionView: UICollectionView): NSArray;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
numberOfSectionsInCollectionView(collectionView: UICollectionView): number;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
scrollViewDidEndDecelerating(scrollView: UIScrollView): void;
scrollViewDidEndDraggingWillDecelerate(scrollView: UIScrollView, decelerate: boolean): void;
scrollViewDidEndScrollingAnimation(scrollView: UIScrollView): void;
scrollViewDidEndZoomingWithViewAtScale(scrollView: UIScrollView, view: UIView, scale: number): void;
scrollViewDidScroll(scrollView: UIScrollView): void;
scrollViewDidScrollToTop(scrollView: UIScrollView): void;
scrollViewDidZoom(scrollView: UIScrollView): void;
scrollViewShouldScrollToTop(scrollView: UIScrollView): boolean;
scrollViewWillBeginDecelerating(scrollView: UIScrollView): void;
scrollViewWillBeginDragging(scrollView: UIScrollView): void;
scrollViewWillBeginZoomingWithView(scrollView: UIScrollView, view: UIView): void;
scrollViewWillEndDraggingWithVelocityTargetContentOffset(scrollView: UIScrollView, velocity: CGPoint, targetContentOffset: interop.Pointer | interop.Reference): void;
self(): this;
viewForZoomingInScrollView(scrollView: UIScrollView): UIView;
}
declare class TKCalendarDayViewAllDayEventCell extends UICollectionViewCell implements TKCalendarDayViewEventCellProtocol {
static alloc(): TKCalendarDayViewAllDayEventCell; // inherited from NSObject
static appearance(): TKCalendarDayViewAllDayEventCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarDayViewAllDayEventCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarDayViewAllDayEventCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarDayViewAllDayEventCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarDayViewAllDayEventCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarDayViewAllDayEventCell; // inherited from UIAppearance
static new(): TKCalendarDayViewAllDayEventCell; // inherited from NSObject
readonly label: UILabel;
readonly style: TKCalendarDayViewAllDayEventCellStyle;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly event: TKCalendarEventProtocol; // inherited from TKCalendarDayViewEventCellProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
attachWithEvent(event: TKCalendarEventProtocol): void;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class TKCalendarDayViewAllDayEventCellStyle extends TKStyleNode {
static alloc(): TKCalendarDayViewAllDayEventCellStyle; // inherited from NSObject
static new(): TKCalendarDayViewAllDayEventCellStyle; // inherited from NSObject
backgroundColor: UIColor;
textColor: UIColor;
textFont: UIFont;
textInsets: UIEdgeInsets;
}
declare class TKCalendarDayViewAllDayEventsView extends UIView {
static alloc(): TKCalendarDayViewAllDayEventsView; // inherited from NSObject
static appearance(): TKCalendarDayViewAllDayEventsView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarDayViewAllDayEventsView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarDayViewAllDayEventsView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarDayViewAllDayEventsView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarDayViewAllDayEventsView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarDayViewAllDayEventsView; // inherited from UIAppearance
static new(): TKCalendarDayViewAllDayEventsView; // inherited from NSObject
readonly date: Date;
readonly events: NSArray;
readonly eventsView: UICollectionView;
readonly labelView: UIView;
readonly style: TKCalendarDayViewAllDayEventsViewStyle;
attachWithEventsForDate(events: NSArray, date: Date): void;
createEventsView(): UICollectionView;
createLabelView(): UIView;
updateLayout(): void;
}
declare class TKCalendarDayViewAllDayEventsViewStyle extends TKStyleNode {
static alloc(): TKCalendarDayViewAllDayEventsViewStyle; // inherited from NSObject
static new(): TKCalendarDayViewAllDayEventsViewStyle; // inherited from NSObject
eventHeight: number;
eventsPerRow: number;
eventsViewInsets: UIEdgeInsets;
itemSpacing: number;
labelInsets: UIEdgeInsets;
labelWidth: number;
lineSpacing: number;
maxVisibleLines: number;
}
interface TKCalendarDayViewDataSource extends NSObjectProtocol {
createAllDayEventsViewInDayView(dayView: TKCalendarDayView): TKCalendarDayViewAllDayEventsView;
createEventsViewInDayView(dayView: TKCalendarDayView): TKCalendarDayViewEventsView;
dayViewAllDayEventCellForItemAtIndexPath(dayView: TKCalendarDayView, indexPath: NSIndexPath): UICollectionViewCell;
dayViewEventCellForItemAtIndexPath(dayView: TKCalendarDayView, indexPath: NSIndexPath): UICollectionViewCell;
dayViewNumberOfAllDayEventsInSection(dayView: TKCalendarDayView, section: number): number;
dayViewNumberOfEventsInSection(dayView: TKCalendarDayView, section: number): number;
dayViewUpdateCell(dayView: TKCalendarDayView, cell: UICollectionViewCell): void;
}
declare var TKCalendarDayViewDataSource: {
prototype: TKCalendarDayViewDataSource;
};
interface TKCalendarDayViewDelegate extends NSObjectProtocol {
allDayViewSizeInDayView(dayView: TKCalendarDayView): CGSize;
dayViewAllDaylayoutInsetForSectionAtIndex(dayView: TKCalendarDayView, layout: UICollectionViewLayout, section: number): UIEdgeInsets;
dayViewAllDaylayoutMinimumInteritemSpacingForSectionAtIndex(dayView: TKCalendarDayView, layout: UICollectionViewLayout, section: number): number;
dayViewAllDaylayoutMinimumLineSpacingForSectionAtIndex(dayView: TKCalendarDayView, layout: UICollectionViewLayout, section: number): number;
dayViewAllDaylayoutSizeForItemAtIndexPath(dayView: TKCalendarDayView, layout: UICollectionViewLayout, indexPath: NSIndexPath): CGSize;
dayViewDidSelectEvent(dayView: TKCalendarDayView, event: TKCalendarEventProtocol): void;
}
declare var TKCalendarDayViewDelegate: {
prototype: TKCalendarDayViewDelegate;
};
declare class TKCalendarDayViewEventCell extends UICollectionViewCell implements TKCalendarDayViewEventCellProtocol {
static alloc(): TKCalendarDayViewEventCell; // inherited from NSObject
static appearance(): TKCalendarDayViewEventCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarDayViewEventCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarDayViewEventCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarDayViewEventCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarDayViewEventCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarDayViewEventCell; // inherited from UIAppearance
static new(): TKCalendarDayViewEventCell; // inherited from NSObject
readonly style: TKCalendarDayViewEventCellStyle;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly event: TKCalendarEventProtocol; // inherited from TKCalendarDayViewEventCellProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
attachWithEvent(event: TKCalendarEventProtocol): void;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
interface TKCalendarDayViewEventCellProtocol extends NSObjectProtocol {
event: TKCalendarEventProtocol;
attachWithEvent(event: TKCalendarEventProtocol): void;
}
declare var TKCalendarDayViewEventCellProtocol: {
prototype: TKCalendarDayViewEventCellProtocol;
};
declare class TKCalendarDayViewEventCellStyle extends TKStyleNode {
static alloc(): TKCalendarDayViewEventCellStyle; // inherited from NSObject
static new(): TKCalendarDayViewEventCellStyle; // inherited from NSObject
decorationWidth: number;
detailFont: UIFont;
detailInsets: UIEdgeInsets;
detailNumberOfLines: number;
insets: UIEdgeInsets;
textColor: UIColor;
titleFont: UIFont;
titleInsets: UIEdgeInsets;
titleNumberOfLines: number;
transparency: number;
}
declare class TKCalendarDayViewEventsLayout extends UICollectionViewLayout {
static alloc(): TKCalendarDayViewEventsLayout; // inherited from NSObject
static new(): TKCalendarDayViewEventsLayout; // inherited from NSObject
}
declare class TKCalendarDayViewEventsView extends UICollectionView {
static alloc(): TKCalendarDayViewEventsView; // inherited from NSObject
static appearance(): TKCalendarDayViewEventsView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarDayViewEventsView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarDayViewEventsView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarDayViewEventsView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarDayViewEventsView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarDayViewEventsView; // inherited from UIAppearance
static new(): TKCalendarDayViewEventsView; // inherited from NSObject
allowZoom: boolean;
readonly calendar: NSCalendar;
readonly date: Date;
endTime: number;
readonly events: NSArray;
interval: number;
maxZoom: number;
minZoom: number;
startTime: number;
readonly style: TKCalendarDayViewEventsViewStyle;
zoom: number;
attachWithEventsForDateWithCalendar(events: NSArray, date: Date, calendar: NSCalendar): void;
labelForTimeInterval(interval: number): string;
labelSize(): CGSize;
labels(): NSArray;
offsetForComponents(components: NSDateComponents): number;
offsetForHourMinuteSecond(hour: number, minute: number, second: number): number;
slotsCount(): number;
timeLineHeight(): number;
updateLayout(): void;
}
declare class TKCalendarDayViewEventsViewStyle extends TKStyleNode {
static alloc(): TKCalendarDayViewEventsViewStyle; // inherited from NSObject
static new(): TKCalendarDayViewEventsViewStyle; // inherited from NSObject
bottomOffset: number;
eventsLeadingOffset: number;
eventsSpacing: number;
eventsTrailingOffset: number;
labelFormatter: NSDateFormatter;
labelOffset: number;
labelTextAlignment: NSTextAlignment;
labelTextColor: UIColor;
labelTextSize: number;
minEventHeight: number;
separatorColor: UIColor;
separatorLeadingOffset: number;
separatorSpacing: number;
separatorTrailingOffset: number;
separatorWidth: number;
topOffset: number;
}
declare class TKCalendarDayViewPresenter extends TKCalendarPresenterBase {
static alloc(): TKCalendarDayViewPresenter; // inherited from NSObject
static appearance(): TKCalendarDayViewPresenter; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarDayViewPresenter; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarDayViewPresenter; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarDayViewPresenter; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarDayViewPresenter; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarDayViewPresenter; // inherited from UIAppearance
static new(): TKCalendarDayViewPresenter; // inherited from NSObject
dayNamesHidden: boolean;
readonly dayNamesView: UIView;
readonly dayView: TKCalendarDayView;
readonly owner: TKCalendar;
readonly style: TKCalendarDayViewPresenterStyle;
titleHidden: boolean;
readonly titleView: UIView;
weekHidden: boolean;
weekNumbersHidden: boolean;
readonly weekView: UIView;
weekendsHidden: boolean;
cellForDate(date: Date): TKCalendarDayCell;
createCellWithType(cellType: TKCalendarCellType): TKCalendarCell;
}
declare class TKCalendarDayViewPresenterStyle extends TKStyleNode {
static alloc(): TKCalendarDayViewPresenterStyle; // inherited from NSObject
static new(): TKCalendarDayViewPresenterStyle; // inherited from NSObject
backgroundColor: UIColor;
columnSpacing: number;
dayCellHeight: number;
dayNameCellHeight: number;
dayNameTextEffect: TKCalendarTextEffect;
titleCellHeight: number;
weekNumberCellWidth: number;
}
declare class TKCalendarDayViewTimeLine extends UICollectionReusableView {
static alloc(): TKCalendarDayViewTimeLine; // inherited from NSObject
static appearance(): TKCalendarDayViewTimeLine; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarDayViewTimeLine; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarDayViewTimeLine; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarDayViewTimeLine; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarDayViewTimeLine; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarDayViewTimeLine; // inherited from UIAppearance
static new(): TKCalendarDayViewTimeLine; // inherited from NSObject
readonly owner: TKCalendarDayViewEventsView;
}
declare class TKCalendarDayViewTimeLineLayoutAttributes extends UICollectionViewLayoutAttributes {
static alloc(): TKCalendarDayViewTimeLineLayoutAttributes; // inherited from NSObject
static layoutAttributesForCellWithIndexPath(indexPath: NSIndexPath): TKCalendarDayViewTimeLineLayoutAttributes; // inherited from UICollectionViewLayoutAttributes
static layoutAttributesForDecorationViewOfKindWithIndexPath(decorationViewKind: string, indexPath: NSIndexPath): TKCalendarDayViewTimeLineLayoutAttributes; // inherited from UICollectionViewLayoutAttributes
static layoutAttributesForDecorationViewOfKindWithIndexPathWithOwner(decorationViewKind: string, indexPath: NSIndexPath, owner: TKCalendarDayViewEventsView): TKCalendarDayViewTimeLineLayoutAttributes;
static layoutAttributesForSupplementaryViewOfKindWithIndexPath(elementKind: string, indexPath: NSIndexPath): TKCalendarDayViewTimeLineLayoutAttributes; // inherited from UICollectionViewLayoutAttributes
static new(): TKCalendarDayViewTimeLineLayoutAttributes; // inherited from NSObject
readonly owner: TKCalendarDayViewEventsView;
}
declare class TKCalendarDefaultTheme extends TKTheme {
static alloc(): TKCalendarDefaultTheme; // inherited from NSObject
static new(): TKCalendarDefaultTheme; // inherited from NSObject
}
interface TKCalendarDelegate extends NSObjectProtocol {
calendarDidChangedViewModeFromTo?(calendar: TKCalendar, previousViewMode: TKCalendarViewMode, viewMode: TKCalendarViewMode): void;
calendarDidDeselectedDate?(calendar: TKCalendar, date: Date): void;
calendarDidNavigateToDate?(calendar: TKCalendar, date: Date): void;
calendarDidSelectDate?(calendar: TKCalendar, date: Date): void;
calendarDidTapCell?(calendar: TKCalendar, cell: TKCalendarDayCell): void;
calendarShapeForEvent?(calendar: TKCalendar, event: TKCalendarEventProtocol): TKShape;
calendarShouldSelectDate?(calendar: TKCalendar, date: Date): boolean;
calendarTextForEvent?(calendar: TKCalendar, event: TKCalendarEventProtocol): string;
calendarUpdateVisualsForCell?(calendar: TKCalendar, cell: TKCalendarCell): void;
calendarViewForCellOfKind?(calendar: TKCalendar, cellType: TKCalendarCellType): TKCalendarCell;
calendarWillNavigateToDate?(calendar: TKCalendar, date: Date): void;
}
declare var TKCalendarDelegate: {
prototype: TKCalendarDelegate;
};
declare class TKCalendarEvent extends NSObject implements TKCalendarEventProtocol {
static alloc(): TKCalendarEvent; // inherited from NSObject
static new(): TKCalendarEvent; // inherited from NSObject
content: string;
location: string;
allDay: boolean; // inherited from TKCalendarEventProtocol
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
detail: string; // inherited from TKCalendarEventProtocol
endDate: Date; // inherited from TKCalendarEventProtocol
eventColor: UIColor; // inherited from TKCalendarEventProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
startDate: Date; // inherited from TKCalendarEventProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
title: string; // inherited from TKCalendarEventProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class TKCalendarEventKitDataSource extends NSObject implements TKCalendarDataSource {
static alloc(): TKCalendarEventKitDataSource; // inherited from NSObject
static new(): TKCalendarEventKitDataSource; // inherited from NSObject
readonly calendars: NSArray;
delegate: TKCalendarEventKitDataSourceDelegate;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
calendarEventsForDate(calendar: TKCalendar, date: Date): NSArray;
calendarEventsFromDateToDateWithCallback(calendar: TKCalendar, startDate: Date, endDate: Date, eventsCallback: (p1: NSArray) => void): void;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
createCalendarEventInCalendar(event: EKEvent, calendar: EKCalendar): TKCalendarEventProtocol;
getCalendarsWithBlock(callbackBlock: (p1: NSArray) => void): void;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
interface TKCalendarEventKitDataSourceDelegate extends NSObjectProtocol {
shouldImportEvent?(event: EKEvent): boolean;
shouldImportEventsFromCalendar?(calendar: EKCalendar): boolean;
}
declare var TKCalendarEventKitDataSourceDelegate: {
prototype: TKCalendarEventKitDataSourceDelegate;
};
interface TKCalendarEventProtocol extends NSObjectProtocol {
allDay: boolean;
detail: string;
endDate: Date;
eventColor: UIColor;
startDate: Date;
title: string;
}
declare var TKCalendarEventProtocol: {
prototype: TKCalendarEventProtocol;
};
declare class TKCalendarFlowPresenter extends UIView implements TKCalendarPresenter {
static alloc(): TKCalendarFlowPresenter; // inherited from NSObject
static appearance(): TKCalendarFlowPresenter; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarFlowPresenter; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarFlowPresenter; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarFlowPresenter; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarFlowPresenter; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarFlowPresenter; // inherited from UIAppearance
static new(): TKCalendarFlowPresenter; // inherited from NSObject
readonly collectionView: UICollectionView;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
dateFromPoint(pt: CGPoint): Date;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
navigateBack(animated: boolean): boolean;
navigateForward(animated: boolean): boolean;
navigateToDateAnimated(date: Date, animated: boolean): void;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
update(reset: boolean): void;
updateState(lastSelected: Date): void;
}
declare class TKCalendarIPadTheme extends TKTheme {
static alloc(): TKCalendarIPadTheme; // inherited from NSObject
static new(): TKCalendarIPadTheme; // inherited from NSObject
}
declare const enum TKCalendarInlineEventsViewMode {
None = 0,
Inline = 1,
Popover = 2
}
declare class TKCalendarInlineView extends TKView implements UITableViewDataSource, UITableViewDelegate {
static alloc(): TKCalendarInlineView; // inherited from NSObject
static appearance(): TKCalendarInlineView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarInlineView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarInlineView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarInlineView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarInlineView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarInlineView; // inherited from UIAppearance
static new(): TKCalendarInlineView; // inherited from NSObject
dayCell: TKCalendarDayCell;
desiredWidthInPopoverMode: number;
fixedHeight: boolean;
maxHeight: number;
owner: TKCalendarMonthPresenter;
rowHeight: number;
readonly tableView: UITableView;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
indexPathForPreferredFocusedViewInTableView(tableView: UITableView): NSIndexPath;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
numberOfSectionsInTableView(tableView: UITableView): number;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
scrollViewDidEndDecelerating(scrollView: UIScrollView): void;
scrollViewDidEndDraggingWillDecelerate(scrollView: UIScrollView, decelerate: boolean): void;
scrollViewDidEndScrollingAnimation(scrollView: UIScrollView): void;
scrollViewDidEndZoomingWithViewAtScale(scrollView: UIScrollView, view: UIView, scale: number): void;
scrollViewDidScroll(scrollView: UIScrollView): void;
scrollViewDidScrollToTop(scrollView: UIScrollView): void;
scrollViewDidZoom(scrollView: UIScrollView): void;
scrollViewShouldScrollToTop(scrollView: UIScrollView): boolean;
scrollViewWillBeginDecelerating(scrollView: UIScrollView): void;
scrollViewWillBeginDragging(scrollView: UIScrollView): void;
scrollViewWillBeginZoomingWithView(scrollView: UIScrollView, view: UIView): void;
scrollViewWillEndDraggingWithVelocityTargetContentOffset(scrollView: UIScrollView, velocity: CGPoint, targetContentOffset: interop.Pointer | interop.Reference): void;
sectionIndexTitlesForTableView(tableView: UITableView): NSArray;
self(): this;
tableViewAccessoryButtonTappedForRowWithIndexPath(tableView: UITableView, indexPath: NSIndexPath): void;
tableViewAccessoryTypeForRowWithIndexPath(tableView: UITableView, indexPath: NSIndexPath): UITableViewCellAccessoryType;
tableViewCanEditRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): boolean;
tableViewCanFocusRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): boolean;
tableViewCanMoveRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): boolean;
tableViewCanPerformActionForRowAtIndexPathWithSender(tableView: UITableView, action: string, indexPath: NSIndexPath, sender: any): boolean;
tableViewCellForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): UITableViewCell;
tableViewCommitEditingStyleForRowAtIndexPath(tableView: UITableView, editingStyle: UITableViewCellEditingStyle, indexPath: NSIndexPath): void;
tableViewDidDeselectRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): void;
tableViewDidEndDisplayingCellForRowAtIndexPath(tableView: UITableView, cell: UITableViewCell, indexPath: NSIndexPath): void;
tableViewDidEndDisplayingFooterViewForSection(tableView: UITableView, view: UIView, section: number): void;
tableViewDidEndDisplayingHeaderViewForSection(tableView: UITableView, view: UIView, section: number): void;
tableViewDidEndEditingRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): void;
tableViewDidHighlightRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): void;
tableViewDidSelectRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): void;
tableViewDidUnhighlightRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): void;
tableViewDidUpdateFocusInContextWithAnimationCoordinator(tableView: UITableView, context: UITableViewFocusUpdateContext, coordinator: UIFocusAnimationCoordinator): void;
tableViewEditActionsForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): NSArray;
tableViewEditingStyleForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): UITableViewCellEditingStyle;
tableViewEstimatedHeightForFooterInSection(tableView: UITableView, section: number): number;
tableViewEstimatedHeightForHeaderInSection(tableView: UITableView, section: number): number;
tableViewEstimatedHeightForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): number;
tableViewHeightForFooterInSection(tableView: UITableView, section: number): number;
tableViewHeightForHeaderInSection(tableView: UITableView, section: number): number;
tableViewHeightForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): number;
tableViewIndentationLevelForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): number;
tableViewMoveRowAtIndexPathToIndexPath(tableView: UITableView, sourceIndexPath: NSIndexPath, destinationIndexPath: NSIndexPath): void;
tableViewNumberOfRowsInSection(tableView: UITableView, section: number): number;
tableViewPerformActionForRowAtIndexPathWithSender(tableView: UITableView, action: string, indexPath: NSIndexPath, sender: any): void;
tableViewSectionForSectionIndexTitleAtIndex(tableView: UITableView, title: string, index: number): number;
tableViewShouldHighlightRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): boolean;
tableViewShouldIndentWhileEditingRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): boolean;
tableViewShouldShowMenuForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): boolean;
tableViewShouldUpdateFocusInContext(tableView: UITableView, context: UITableViewFocusUpdateContext): boolean;
tableViewTargetIndexPathForMoveFromRowAtIndexPathToProposedIndexPath(tableView: UITableView, sourceIndexPath: NSIndexPath, proposedDestinationIndexPath: NSIndexPath): NSIndexPath;
tableViewTitleForDeleteConfirmationButtonForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): string;
tableViewTitleForFooterInSection(tableView: UITableView, section: number): string;
tableViewTitleForHeaderInSection(tableView: UITableView, section: number): string;
tableViewViewForFooterInSection(tableView: UITableView, section: number): UIView;
tableViewViewForHeaderInSection(tableView: UITableView, section: number): UIView;
tableViewWillBeginEditingRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): void;
tableViewWillDeselectRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): NSIndexPath;
tableViewWillDisplayCellForRowAtIndexPath(tableView: UITableView, cell: UITableViewCell, indexPath: NSIndexPath): void;
tableViewWillDisplayFooterViewForSection(tableView: UITableView, view: UIView, section: number): void;
tableViewWillDisplayHeaderViewForSection(tableView: UITableView, view: UIView, section: number): void;
tableViewWillSelectRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): NSIndexPath;
viewForZoomingInScrollView(scrollView: UIScrollView): UIView;
}
declare class TKCalendarInlineViewTableViewCell extends UITableViewCell {
static alloc(): TKCalendarInlineViewTableViewCell; // inherited from NSObject
static appearance(): TKCalendarInlineViewTableViewCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarInlineViewTableViewCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarInlineViewTableViewCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarInlineViewTableViewCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarInlineViewTableViewCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarInlineViewTableViewCell; // inherited from UIAppearance
static new(): TKCalendarInlineViewTableViewCell; // inherited from NSObject
readonly style: TKCalendarInlineViewTableViewCellStyle;
attachWithCellEventIndex(cell: TKCalendarDayCell, index: number): void;
updateTextForEventWithCell(event: TKCalendarEventProtocol, cell: TKCalendarDayCell): void;
}
declare class TKCalendarInlineViewTableViewCellStyle extends TKStyleNode {
static alloc(): TKCalendarInlineViewTableViewCellStyle; // inherited from NSObject
static new(): TKCalendarInlineViewTableViewCellStyle; // inherited from NSObject
backgroundColor: UIColor;
eventColor: UIColor;
eventFont: UIFont;
separatorColor: UIColor;
shapeSize: CGSize;
timeColor: UIColor;
timeFont: UIFont;
}
declare class TKCalendarMonthCell extends UICollectionViewCell {
static alloc(): TKCalendarMonthCell; // inherited from NSObject
static appearance(): TKCalendarMonthCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarMonthCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarMonthCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarMonthCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarMonthCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarMonthCell; // inherited from UIAppearance
static new(): TKCalendarMonthCell; // inherited from NSObject
readonly monthView: TKCalendarMonthView;
attachWithCalendarPresenterWithYearAndMonth(owner: TKCalendar, presenter: TKCalendarYearPresenter, year: number, month: number): void;
}
declare class TKCalendarMonthNameCell extends TKCalendarCell {
static alloc(): TKCalendarMonthNameCell; // inherited from NSObject
static appearance(): TKCalendarMonthNameCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarMonthNameCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarMonthNameCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarMonthNameCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarMonthNameCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarMonthNameCell; // inherited from UIAppearance
static new(): TKCalendarMonthNameCell; // inherited from NSObject
readonly date: Date;
state: TKCalendarMonthNameState;
attachWithCalendarWithDate(owner: TKCalendar, date: Date): void;
}
declare const enum TKCalendarMonthNameState {
Selected = 1,
Disabled = 2
}
declare class TKCalendarMonthNamesPresenter extends TKCalendarPresenterBase {
static alloc(): TKCalendarMonthNamesPresenter; // inherited from NSObject
static appearance(): TKCalendarMonthNamesPresenter; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarMonthNamesPresenter; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarMonthNamesPresenter; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarMonthNamesPresenter; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarMonthNamesPresenter; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarMonthNamesPresenter; // inherited from UIAppearance
static new(): TKCalendarMonthNamesPresenter; // inherited from NSObject
columns: number;
readonly contentView: UIView;
}
declare class TKCalendarMonthPresenter extends TKCalendarPresenterBase {
static alloc(): TKCalendarMonthPresenter; // inherited from NSObject
static appearance(): TKCalendarMonthPresenter; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarMonthPresenter; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarMonthPresenter; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarMonthPresenter; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarMonthPresenter; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarMonthPresenter; // inherited from UIAppearance
static new(): TKCalendarMonthPresenter; // inherited from NSObject
readonly contentView: UIView;
dayNamesHidden: boolean;
equalWeekNumber: boolean;
headerIsSticky: boolean;
readonly headerView: UIView;
inlineEventsView: TKCalendarInlineView;
inlineEventsViewMode: TKCalendarInlineEventsViewMode;
readonly owner: TKCalendar;
readonly style: TKCalendarMonthPresenterStyle;
titleHidden: boolean;
weekNumbersHidden: boolean;
weekendsHidden: boolean;
cellForDate(date: Date): TKCalendarDayCell;
createCellWithType(cellType: TKCalendarCellType): TKCalendarCell;
dateForRowCol(row: number, col: number): Date;
hideInlineEvents(animated: boolean): void;
showInlineEventsForCellAnimated(cell: TKCalendarDayCell, animated: boolean): void;
updateInlineView(): void;
}
interface TKCalendarMonthPresenterDelegate extends TKCalendarPresenterDelegate {
monthPresenterInlineEventSelected?(presenter: TKCalendarMonthPresenter, event: TKCalendarEventProtocol): void;
monthPresenterInlineEventsViewDidHideForCell?(presenter: TKCalendarMonthPresenter, cell: TKCalendarDayCell): void;
monthPresenterInlineEventsViewDidShowForCell?(presenter: TKCalendarMonthPresenter, cell: TKCalendarDayCell): void;
monthPresenterUpdateVisualsForInlineEventCell?(presenter: TKCalendarMonthPresenter, cell: TKCalendarInlineViewTableViewCell): void;
}
declare var TKCalendarMonthPresenterDelegate: {
prototype: TKCalendarMonthPresenterDelegate;
};
declare class TKCalendarMonthPresenterStyle extends TKStyleNode {
static alloc(): TKCalendarMonthPresenterStyle; // inherited from NSObject
static new(): TKCalendarMonthPresenterStyle; // inherited from NSObject
backgroundColor: UIColor;
columnSpacing: number;
dayNameCellHeight: number;
dayNameTextEffect: TKCalendarTextEffect;
monthNameTextEffect: TKCalendarTextEffect;
popoverColor: UIColor;
rowSpacing: number;
titleCellHeight: number;
weekNumberCellWidth: number;
}
declare class TKCalendarMonthTitleCell extends TKCalendarTitleCell {
static alloc(): TKCalendarMonthTitleCell; // inherited from NSObject
static appearance(): TKCalendarMonthTitleCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarMonthTitleCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarMonthTitleCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarMonthTitleCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarMonthTitleCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarMonthTitleCell; // inherited from UIAppearance
static new(): TKCalendarMonthTitleCell; // inherited from NSObject
layoutMode: TKCalendarMonthTitleCellLayoutMode;
nextMonthButton: UIButton;
nextYearButton: UIButton;
previousMonthButton: UIButton;
previousYearButton: UIButton;
readonly yearLabel: UILabel;
}
declare const enum TKCalendarMonthTitleCellLayoutMode {
Month = 0,
MonthWithButtons = 1,
MonthAndYearWithButtons = 2
}
declare class TKCalendarMonthView extends UIView {
static alloc(): TKCalendarMonthView; // inherited from NSObject
static appearance(): TKCalendarMonthView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarMonthView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarMonthView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarMonthView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarMonthView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarMonthView; // inherited from UIAppearance
static new(): TKCalendarMonthView; // inherited from NSObject
readonly date: Date;
attachWithCalendarPresenterWithYearAndMonth(owner: TKCalendar, presenter: TKCalendarYearPresenter, year: number, month: number): void;
}
declare class TKCalendarMonthViewController extends UIViewController {
static alloc(): TKCalendarMonthViewController; // inherited from NSObject
static new(): TKCalendarMonthViewController; // inherited from NSObject
readonly contentView: TKCalendar;
readonly todayButton: UIBarButtonItem;
}
declare class TKCalendarNavigationController extends UINavigationController {
static alloc(): TKCalendarNavigationController; // inherited from NSObject
static new(): TKCalendarNavigationController; // inherited from NSObject
}
interface TKCalendarPresenter extends NSObjectProtocol {
dateFromPoint(pt: CGPoint): Date;
navigateBack(animated: boolean): boolean;
navigateForward(animated: boolean): boolean;
navigateToDateAnimated(date: Date, animated: boolean): void;
update(reset: boolean): void;
updateState(lastSelected: Date): void;
}
declare var TKCalendarPresenter: {
prototype: TKCalendarPresenter;
};
declare class TKCalendarPresenterBase extends UIView implements TKCalendarPresenter {
static alloc(): TKCalendarPresenterBase; // inherited from NSObject
static appearance(): TKCalendarPresenterBase; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarPresenterBase; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarPresenterBase; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarPresenterBase; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarPresenterBase; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarPresenterBase; // inherited from UIAppearance
static new(): TKCalendarPresenterBase; // inherited from NSObject
delegate: TKCalendarPresenterDelegate;
panGestureSensitivity: number;
transitionDuration: number;
transitionIsReverse: boolean;
transitionIsVertical: boolean;
transitionMode: TKCalendarTransitionMode;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
dateFromPoint(pt: CGPoint): Date;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
navigateBack(animated: boolean): boolean;
navigateForward(animated: boolean): boolean;
navigateToDateAnimated(date: Date, animated: boolean): void;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
update(reset: boolean): void;
updateState(lastSelected: Date): void;
}
interface TKCalendarPresenterDelegate extends NSObjectProtocol {
presenterBeginTransition?(presenter: TKCalendarPresenter, transition: TKViewTransition): void;
presenterFinishTransitionIsCanceled?(presenter: TKCalendarPresenter, transition: TKViewTransition, canceled: boolean): void;
}
declare var TKCalendarPresenterDelegate: {
prototype: TKCalendarPresenterDelegate;
};
declare const enum TKCalendarSelectionMode {
None = 0,
Single = 1,
Multiple = 2,
Range = 3
}
declare const enum TKCalendarTextEffect {
None = 0,
Uppercase = 1,
Lowercase = 2
}
declare class TKCalendarTitleCell extends TKCalendarCell {
static alloc(): TKCalendarTitleCell; // inherited from NSObject
static appearance(): TKCalendarTitleCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarTitleCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarTitleCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarTitleCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarTitleCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarTitleCell; // inherited from UIAppearance
static new(): TKCalendarTitleCell; // inherited from NSObject
attachWithCalendarWithText(owner: TKCalendar, text: string): void;
}
declare const enum TKCalendarTransitionMode {
None = 0,
Flip = 1,
Fold = 2,
Float = 3,
Card = 4,
Rotate = 5,
Scroll = 6
}
declare const enum TKCalendarViewMode {
Week = 0,
Month = 1,
MonthNames = 2,
Year = 3,
YearNumbers = 4,
Flow = 5,
Day = 6
}
declare class TKCalendarWeekNumberCell extends TKCalendarCell {
static alloc(): TKCalendarWeekNumberCell; // inherited from NSObject
static appearance(): TKCalendarWeekNumberCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarWeekNumberCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarWeekNumberCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarWeekNumberCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarWeekNumberCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarWeekNumberCell; // inherited from UIAppearance
static new(): TKCalendarWeekNumberCell; // inherited from NSObject
attachWithCalendarWithWeekNumber(owner: TKCalendar, weekNumber: number): void;
}
declare class TKCalendarWeekPresenter extends TKCalendarMonthPresenter {
static alloc(): TKCalendarWeekPresenter; // inherited from NSObject
static appearance(): TKCalendarWeekPresenter; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarWeekPresenter; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarWeekPresenter; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarWeekPresenter; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarWeekPresenter; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarWeekPresenter; // inherited from UIAppearance
static new(): TKCalendarWeekPresenter; // inherited from NSObject
}
declare class TKCalendarYearNumberCell extends TKCalendarCell {
static alloc(): TKCalendarYearNumberCell; // inherited from NSObject
static appearance(): TKCalendarYearNumberCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarYearNumberCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarYearNumberCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarYearNumberCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarYearNumberCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarYearNumberCell; // inherited from UIAppearance
static new(): TKCalendarYearNumberCell; // inherited from NSObject
readonly date: Date;
state: TKCalendarYearNumberState;
attachWithCalendarWithDate(owner: TKCalendar, date: Date): void;
}
declare const enum TKCalendarYearNumberState {
Selected = 1,
Disabled = 2
}
declare class TKCalendarYearNumbersPresenter extends TKCalendarPresenterBase {
static alloc(): TKCalendarYearNumbersPresenter; // inherited from NSObject
static appearance(): TKCalendarYearNumbersPresenter; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarYearNumbersPresenter; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarYearNumbersPresenter; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarYearNumbersPresenter; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarYearNumbersPresenter; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarYearNumbersPresenter; // inherited from UIAppearance
static new(): TKCalendarYearNumbersPresenter; // inherited from NSObject
columns: number;
rows: number;
}
declare class TKCalendarYearPresenter extends UIView implements TKCalendarPresenter {
static alloc(): TKCalendarYearPresenter; // inherited from NSObject
static appearance(): TKCalendarYearPresenter; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarYearPresenter; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarYearPresenter; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarYearPresenter; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarYearPresenter; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarYearPresenter; // inherited from UIAppearance
static new(): TKCalendarYearPresenter; // inherited from NSObject
readonly collectionView: UICollectionView;
columns: number;
delegate: TKCalendarYearPresenterDelegate;
monthCellClass: typeof NSObject;
readonly style: TKCalendarYearPresenterStyle;
titleViewClass: typeof NSObject;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
dateFromPoint(pt: CGPoint): Date;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
navigateBack(animated: boolean): boolean;
navigateForward(animated: boolean): boolean;
navigateToDateAnimated(date: Date, animated: boolean): void;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
update(reset: boolean): void;
updateState(lastSelected: Date): void;
}
interface TKCalendarYearPresenterDelegate extends NSObjectProtocol {
calendarDrawBackgroundForYearMonthDateInRect?(calendar: TKCalendar, year: number, month: number, date: number, rect: CGRect): void;
calendarTextAttributesForYearMonthDate?(calendar: TKCalendar, year: number, month: number, date: number): NSDictionary;
calendarYearPresenterTextForYearMonth?(calendar: TKCalendar, presenter: TKCalendarYearPresenter, year: number, month: number): string;
}
declare var TKCalendarYearPresenterDelegate: {
prototype: TKCalendarYearPresenterDelegate;
};
declare class TKCalendarYearPresenterStyle extends TKStyleNode {
static alloc(): TKCalendarYearPresenterStyle; // inherited from NSObject
static new(): TKCalendarYearPresenterStyle; // inherited from NSObject
dayFont: UIFont;
dayNameFont: UIFont;
dayNameTextColor: UIColor;
dayNameTextEffect: TKCalendarTextEffect;
dayTextColor: UIColor;
monthNameFont: UIFont;
monthNameTextAlignment: NSTextAlignment;
monthNameTextColor: UIColor;
monthNameTextEffect: TKCalendarTextEffect;
monthsPerPage: number;
todayShape: TKShape;
todayShapeFill: TKFill;
todayShapeStroke: TKStroke;
todayTextColor: UIColor;
weekendTextColor: UIColor;
}
declare class TKCalendarYearTitleView extends UICollectionReusableView {
static alloc(): TKCalendarYearTitleView; // inherited from NSObject
static appearance(): TKCalendarYearTitleView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCalendarYearTitleView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCalendarYearTitleView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCalendarYearTitleView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCalendarYearTitleView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCalendarYearTitleView; // inherited from UIAppearance
static new(): TKCalendarYearTitleView; // inherited from NSObject
readonly view: TKCalendarTitleCell;
attachWithCalendarWithText(owner: TKCalendar, text: string): void;
}
declare class TKCalendarYearViewController extends UIViewController implements TKCalendarDelegate {
static alloc(): TKCalendarYearViewController; // inherited from NSObject
static new(): TKCalendarYearViewController; // inherited from NSObject
readonly contentView: TKCalendar;
delegate: TKCalendarYearViewControllerDelegate;
readonly selectedItemRect: CGRect;
readonly todayButton: UIBarButtonItem;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
calendarDidChangedViewModeFromTo(calendar: TKCalendar, previousViewMode: TKCalendarViewMode, viewMode: TKCalendarViewMode): void;
calendarDidDeselectedDate(calendar: TKCalendar, date: Date): void;
calendarDidNavigateToDate(calendar: TKCalendar, date: Date): void;
calendarDidSelectDate(calendar: TKCalendar, date: Date): void;
calendarDidTapCell(calendar: TKCalendar, cell: TKCalendarDayCell): void;
calendarShapeForEvent(calendar: TKCalendar, event: TKCalendarEventProtocol): TKShape;
calendarShouldSelectDate(calendar: TKCalendar, date: Date): boolean;
calendarTextForEvent(calendar: TKCalendar, event: TKCalendarEventProtocol): string;
calendarUpdateVisualsForCell(calendar: TKCalendar, cell: TKCalendarCell): void;
calendarViewForCellOfKind(calendar: TKCalendar, cellType: TKCalendarCellType): TKCalendarCell;
calendarWillNavigateToDate(calendar: TKCalendar, date: Date): void;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
interface TKCalendarYearViewControllerDelegate extends NSObjectProtocol {
navigatedToMonthViewController(monthViewController: TKCalendarMonthViewController): void;
}
declare var TKCalendarYearViewControllerDelegate: {
prototype: TKCalendarYearViewControllerDelegate;
};
declare class TKChart extends TKView {
static alloc(): TKChart; // inherited from NSObject
static appearance(): TKChart; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKChart; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKChart; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKChart; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKChart; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKChart; // inherited from UIAppearance
static new(): TKChart; // inherited from NSObject
allowAnimations: boolean;
allowPanDeceleration: boolean;
allowTrackball: boolean;
animationDuration: number;
readonly annotations: NSArray;
readonly axes: NSArray;
dataPointSelectionMode: TKChartSelectionMode;
dataSource: TKChartDataSource;
delegate: TKChartDelegate;
readonly gridStyle: TKChartGridStyle;
handleDoubleTap: boolean;
insets: UIEdgeInsets;
readonly legend: TKChartLegendView;
readonly plotView: TKChartPlotView;
plotViewInsets: UIEdgeInsets;
readonly selectedPoints: NSArray;
readonly selectedSeries: NSArray;
selectionMode: TKChartSelectionMode;
readonly series: NSArray;
seriesSelectionMode: TKChartSelectionMode;
theme: TKTheme;
readonly title: TKChartTitleView;
readonly trackball: TKChartTrackball;
xAxis: TKChartAxis;
yAxis: TKChartAxis;
zoomMode: TKChartZoomMode;
addAnnotation(annotation: TKChartAnnotation): void;
addAxis(axis: TKChartAxis): void;
addSeries(series: TKChartSeries): void;
animate(): void;
beginUpdates(): void;
dequeueReusableSeriesWithIdentifier(identifier: string): any;
deselect(info: TKChartSelectionInfo): void;
endUpdates(): void;
hitTestForPoint(point: CGPoint): TKChartSelectionInfo;
paletteItemForPointInSeries(index: number, series: TKChartSeries): TKChartPaletteItem;
paletteItemForSeriesAtIndex(series: TKChartSeries, index: number): TKChartPaletteItem;
reloadData(): void;
removeAllAnnotations(): void;
removeAllData(): void;
removeAnnotation(annotation: TKChartAnnotation): void;
removeAxis(axis: TKChartAxis): boolean;
removeSeries(series: TKChartSeries): void;
select(info: TKChartSelectionInfo): void;
update(): void;
updateAnnotations(): void;
visualPointForSeriesDataPointIndex(series: TKChartSeries, dataPointIndex: number): TKChartVisualPoint;
visualPointsForSeries(series: TKChartSeries): NSArray;
}
declare class TKChartAbsoluteVolumeOscillator extends TKChartMACDIndicator {
static alloc(): TKChartAbsoluteVolumeOscillator; // inherited from NSObject
static new(): TKChartAbsoluteVolumeOscillator; // inherited from NSObject
}
declare class TKChartAccumulationDistributionLine extends TKChartFinancialIndicator {
static alloc(): TKChartAccumulationDistributionLine; // inherited from NSObject
static new(): TKChartAccumulationDistributionLine; // inherited from NSObject
}
declare class TKChartAdaptiveMovingAverageIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartAdaptiveMovingAverageIndicator; // inherited from NSObject
static new(): TKChartAdaptiveMovingAverageIndicator; // inherited from NSObject
fastPeriod: number;
period: number;
slowPerod: number;
}
declare class TKChartAnnotation extends NSObject {
static alloc(): TKChartAnnotation; // inherited from NSObject
static new(): TKChartAnnotation; // inherited from NSObject
hidden: boolean;
zPosition: TKChartAnnotationZPosition;
annotationWasAddedToChartWithLayer(chart: TKChart, layer: CALayer): void;
annotationWillBeRemovedFromChart(chart: TKChart): void;
drawInContext(context: any): void;
layoutInRectForChartInLayer(bounds: CGRect, chart: TKChart, layer: CALayer): void;
locationOfValueWithAxisInBounds(value: any, axis: TKChartAxis, bounds: CGRect): number;
}
declare class TKChartAnnotationStyle extends TKStyleNode {
static alloc(): TKChartAnnotationStyle; // inherited from NSObject
static new(): TKChartAnnotationStyle; // inherited from NSObject
}
declare const enum TKChartAnnotationZPosition {
BelowSeries = 0,
AboveSeries = 1
}
declare class TKChartAreaSeries extends TKChartLineSeries {
static alloc(): TKChartAreaSeries; // inherited from NSObject
static new(): TKChartAreaSeries; // inherited from NSObject
}
declare class TKChartAverageTrueRangeIndicator extends TKChartTrueRangeIndicator {
static alloc(): TKChartAverageTrueRangeIndicator; // inherited from NSObject
static new(): TKChartAverageTrueRangeIndicator; // inherited from NSObject
period: number;
}
declare class TKChartAxis extends NSObject {
static alloc(): TKChartAxis; // inherited from NSObject
static new(): TKChartAxis; // inherited from NSObject
allowPan: boolean;
allowZoom: boolean;
attributedTitle: NSAttributedString;
customLabels: NSDictionary;
hidden: boolean;
readonly isVertical: boolean;
labelFormat: string;
labelFormatter: NSFormatter;
readonly majorTickCount: number;
normalizedPan: number;
pan: number;
readonly plotMode: TKChartAxisPlotMode;
position: TKChartAxisPosition;
range: TKRange;
style: TKChartAxisStyle;
title: string;
readonly visibleRange: TKRange;
zoom: number;
zoomRange: TKRange;
constructor(o: { minimum: any; andMaximum: any; });
constructor(o: { minimum: any; andMaximum: any; position: TKChartAxisPosition; });
constructor(o: { range: TKRange; });
formatValue(value: any): string;
initWithMinimumAndMaximum(minimum: any, maximum: any): this;
initWithMinimumAndMaximumPosition(minimum: any, maximum: any, position: TKChartAxisPosition): this;
initWithRange(range: TKRange): this;
numericValue(value: any): number;
panToDataPoint(dataPoint: TKChartData): void;
renderForChart(chart: TKChart): TKChartAxisRender;
tickValue(index: number): any;
}
declare const enum TKChartAxisClippingMode {
Visible = 0,
Hidden = 1
}
declare const enum TKChartAxisLabelAlignment {
Left = 1,
Right = 2,
Top = 4,
Bottom = 8,
HorizontalCenter = 16,
VerticalCenter = 32
}
declare const enum TKChartAxisLabelFitMode {
None = 0,
Multiline = 1,
Rotate = 2
}
declare class TKChartAxisLabelStyle extends TKChartLabelStyle {
static alloc(): TKChartAxisLabelStyle; // inherited from NSObject
static new(): TKChartAxisLabelStyle; // inherited from NSObject
clipAxisLabels: boolean;
firstLabelTextAlignment: TKChartAxisLabelAlignment;
firstLabelTextOffset: UIOffset;
fitMode: TKChartAxisLabelFitMode;
lastLabelTextAlignment: TKChartAxisLabelAlignment;
lastLabelTextOffset: UIOffset;
maxLabelClippingMode: TKChartAxisClippingMode;
minLabelClippingMode: TKChartAxisClippingMode;
rotationAngle: number;
textAlignment: TKChartAxisLabelAlignment;
textOffset: UIOffset;
}
declare class TKChartAxisMajorTickStyle extends TKChartAxisTickStyle {
static alloc(): TKChartAxisMajorTickStyle; // inherited from NSObject
static new(): TKChartAxisMajorTickStyle; // inherited from NSObject
maxTickClippingMode: TKChartAxisClippingMode;
minTickClippingMode: TKChartAxisClippingMode;
}
declare const enum TKChartAxisPlotMode {
OnTicks = 0,
BetweenTicks = 1
}
declare const enum TKChartAxisPosition {
Left = 0,
Right = 1,
Top = 2,
Bottom = 3
}
declare class TKChartAxisRender extends TKChartRender {
static alloc(): TKChartAxisRender; // inherited from NSObject
static layer(): TKChartAxisRender; // inherited from CALayer
static new(): TKChartAxisRender; // inherited from NSObject
readonly axis: TKChartAxis;
readonly isVertical: boolean;
constructor(o: { axis: TKChartAxis; chart: TKChart; });
boundsRect(): CGRect;
initWithAxisChart(axis: TKChartAxis, chart: TKChart): this;
sizeThatFits(size: CGSize): CGSize;
}
declare class TKChartAxisStyle extends TKStyleNode {
static alloc(): TKChartAxisStyle; // inherited from NSObject
static new(): TKChartAxisStyle; // inherited from NSObject
backgroundFill: TKFill;
readonly labelStyle: TKChartAxisLabelStyle;
lineHidden: boolean;
lineLocation: number;
lineStroke: TKStroke;
readonly majorTickStyle: TKChartAxisMajorTickStyle;
readonly minorTickStyle: TKChartAxisTickStyle;
readonly titleStyle: TKChartAxisTitleStyle;
}
declare class TKChartAxisTickStyle extends TKStyleNode {
static alloc(): TKChartAxisTickStyle; // inherited from NSObject
static new(): TKChartAxisTickStyle; // inherited from NSObject
ticksFill: TKFill;
ticksHidden: boolean;
ticksLength: number;
ticksOffset: number;
ticksStroke: TKStroke;
ticksWidth: number;
}
declare const enum TKChartAxisTitleAlignment {
Center = 0,
LeftOrTop = 1,
RightOrBottom = 2
}
declare class TKChartAxisTitleStyle extends TKChartLabelStyle {
static alloc(): TKChartAxisTitleStyle; // inherited from NSObject
static new(): TKChartAxisTitleStyle; // inherited from NSObject
alignment: TKChartAxisTitleAlignment;
rotationAngle: number;
textOffset: number;
}
declare class TKChartBalloonAnnotation extends TKChartPointAnnotation {
static alloc(): TKChartBalloonAnnotation; // inherited from NSObject
static new(): TKChartBalloonAnnotation; // inherited from NSObject
attributedText: NSAttributedString;
size: CGSize;
readonly style: TKChartBalloonAnnotationStyle;
text: string;
view: UIView;
constructor(o: { text: string; });
constructor(o: { text: string; point: TKChartData; forSeries: TKChartSeries; });
constructor(o: { text: string; point: TKChartData; forXAxis: TKChartAxis; forYAxis: TKChartAxis; });
constructor(o: { text: string; x: any; y: any; forSeries: TKChartSeries; });
constructor(o: { text: string; x: any; y: any; forXAxis: TKChartAxis; forYAxis: TKChartAxis; });
initWithText(text: string): this;
initWithTextPointForSeries(text: string, point: TKChartData, series: TKChartSeries): this;
initWithTextPointForXAxisForYAxis(text: string, point: TKChartData, xAxis: TKChartAxis, yAxis: TKChartAxis): this;
initWithTextXYForSeries(text: string, xValue: any, yValue: any, series: TKChartSeries): this;
initWithTextXYForXAxisForYAxis(text: string, xValue: any, yValue: any, xAxis: TKChartAxis, yAxis: TKChartAxis): this;
}
declare class TKChartBalloonAnnotationStyle extends TKChartAnnotationStyle {
static alloc(): TKChartBalloonAnnotationStyle; // inherited from NSObject
static new(): TKChartBalloonAnnotationStyle; // inherited from NSObject
arrowSize: CGSize;
cornerRadius: number;
distanceFromPoint: number;
fill: TKFill;
font: UIFont;
horizontalAlign: TKChartBalloonHorizontalAlignment;
insets: UIEdgeInsets;
stroke: TKStroke;
textAlignment: NSTextAlignment;
textColor: UIColor;
textOrientation: TKChartBalloonAnnotationTextOrientation;
verticalAlign: TKChartBalloonVerticalAlignment;
}
declare const enum TKChartBalloonAnnotationTextOrientation {
Vertical = 0,
Horizontal = 1
}
declare const enum TKChartBalloonHorizontalAlignment {
Center = 0,
Left = 1,
Right = 2
}
declare const enum TKChartBalloonVerticalAlignment {
Center = 0,
Top = 1,
Bottom = 2
}
declare class TKChartBandAnnotation extends TKChartAnnotation {
static alloc(): TKChartBandAnnotation; // inherited from NSObject
static new(): TKChartBandAnnotation; // inherited from NSObject
axis: TKChartAxis;
range: TKRange;
readonly style: TKChartBandAnnotationStyle;
constructor(o: { range: TKRange; forAxis: TKChartAxis; });
constructor(o: { range: TKRange; forAxis: TKChartAxis; withFill: TKFill; withStroke: TKStroke; });
initWithRangeForAxis(aRange: TKRange, anAxis: TKChartAxis): this;
initWithRangeForAxisWithFillWithStroke(aRange: TKRange, anAxis: TKChartAxis, fill: TKFill, stroke: TKStroke): this;
}
declare class TKChartBandAnnotationStyle extends TKChartGridLineAnnotationStyle {
static alloc(): TKChartBandAnnotationStyle; // inherited from NSObject
static new(): TKChartBandAnnotationStyle; // inherited from NSObject
fill: TKFill;
}
declare class TKChartBandIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartBandIndicator; // inherited from NSObject
static new(): TKChartBandIndicator; // inherited from NSObject
}
declare class TKChartBandVisualPoint extends TKChartVisualPoint {
static alloc(): TKChartBandVisualPoint; // inherited from NSObject
static new(): TKChartBandVisualPoint; // inherited from NSObject
signalY: number;
constructor(o: { point: CGPoint; signalY: number; });
initWithPointSignalY(point: CGPoint, signalY: number): this;
}
declare class TKChartBarSeries extends TKChartSeries {
static alloc(): TKChartBarSeries; // inherited from NSObject
static new(): TKChartBarSeries; // inherited from NSObject
allowClustering: boolean;
gapLength: number;
maxBarHeight: number;
minBarHeight: number;
}
declare class TKChartBollingerBandIndicator extends TKChartBandIndicator {
static alloc(): TKChartBollingerBandIndicator; // inherited from NSObject
static new(): TKChartBollingerBandIndicator; // inherited from NSObject
period: number;
width: number;
}
declare class TKChartBubbleDataPoint extends NSObject implements TKChartData {
static alloc(): TKChartBubbleDataPoint; // inherited from NSObject
static dataPointWithXYArea(xValue: any, yValue: any, area: number): TKChartBubbleDataPoint;
static new(): TKChartBubbleDataPoint; // inherited from NSObject
area: number;
dataXValue: any;
dataYValue: any;
readonly close: number; // inherited from TKChartData
readonly dataName: string; // inherited from TKChartData
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly high: number; // inherited from TKChartData
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly low: number; // inherited from TKChartData
readonly open: number; // inherited from TKChartData
readonly signalYValue: any; // inherited from TKChartData
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly volume: number; // inherited from TKChartData
readonly // inherited from NSObjectProtocol
constructor(o: { x: any; y: any; area: number; });
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
initWithXYArea(xValue: any, yValue: any, area: number): this;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class TKChartBubbleSeries extends TKChartScatterSeries {
static alloc(): TKChartBubbleSeries; // inherited from NSObject
static new(): TKChartBubbleSeries; // inherited from NSObject
biggestBubbleDiameterForAutoscale: number;
scale: number;
}
declare class TKChartBubbleVisualPoint extends TKChartVisualPoint {
static alloc(): TKChartBubbleVisualPoint; // inherited from NSObject
static new(): TKChartBubbleVisualPoint; // inherited from NSObject
diameter: number;
}
declare class TKChartCandlestickBar extends TKChartOhlcBar {
static alloc(): TKChartCandlestickBar; // inherited from NSObject
static new(): TKChartCandlestickBar; // inherited from NSObject
}
declare class TKChartCandlestickSeries extends TKChartOhlcSeries {
static alloc(): TKChartCandlestickSeries; // inherited from NSObject
static new(): TKChartCandlestickSeries; // inherited from NSObject
}
declare class TKChartCategory extends NSObject {
static alloc(): TKChartCategory; // inherited from NSObject
static categoryWithDescription(description: string): TKChartCategory;
static new(): TKChartCategory; // inherited from NSObject
constructor(o: { description: string; });
initWithDescription(description: string): this;
}
declare class TKChartCategoryAxis extends TKChartAxis {
static alloc(): TKChartCategoryAxis; // inherited from NSObject
static new(): TKChartCategoryAxis; // inherited from NSObject
baseline: number;
readonly categories: NSArray;
readonly majorTickInterval: number;
minorTickInterval: number;
offset: number;
constructor(o: { categories: NSArray; });
constructor(o: { categories: NSArray; andRange: TKRange; });
addCategoriesFromArray(categories: NSArray): void;
addCategory(category: any): void;
initWithCategories(categories: NSArray): this;
initWithCategoriesAndRange(categories: NSArray, range: TKRange): this;
removeAllCategories(): void;
removeCategoriesInArray(categories: NSArray): void;
removeCategory(category: any): void;
setPlotMode(plotMode: TKChartAxisPlotMode): void;
}
declare class TKChartChaikinOscillator extends TKChartFinancialIndicator {
static alloc(): TKChartChaikinOscillator; // inherited from NSObject
static new(): TKChartChaikinOscillator; // inherited from NSObject
longPeriod: number;
shortPeriod: number;
}
declare class TKChartColumnSeries extends TKChartSeries {
static alloc(): TKChartColumnSeries; // inherited from NSObject
static new(): TKChartColumnSeries; // inherited from NSObject
allowClustering: boolean;
gapLength: number;
maxColumnWidth: number;
minColumnWidth: number;
}
declare class TKChartCommodityChannelIndex extends TKChartFinancialIndicator {
static alloc(): TKChartCommodityChannelIndex; // inherited from NSObject
static new(): TKChartCommodityChannelIndex; // inherited from NSObject
period: number;
}
declare class TKChartCrossLineAnnotation extends TKChartPointAnnotation {
static alloc(): TKChartCrossLineAnnotation; // inherited from NSObject
static new(): TKChartCrossLineAnnotation; // inherited from NSObject
readonly style: TKChartCrossLineAnnotationStyle;
}
declare const enum TKChartCrossLineAnnotationOrientation {
Horizontal = 1,
Vertical = 2
}
declare class TKChartCrossLineAnnotationStyle extends TKChartAnnotationStyle {
static alloc(): TKChartCrossLineAnnotationStyle; // inherited from NSObject
static new(): TKChartCrossLineAnnotationStyle; // inherited from NSObject
horizontalLineStroke: TKStroke;
insets: UIEdgeInsets;
orientation: TKChartCrossLineAnnotationOrientation;
pointShape: TKShape;
pointShapeFill: TKFill;
pointShapeInsets: UIEdgeInsets;
pointShapeStroke: TKStroke;
verticalLineStroke: TKStroke;
}
interface TKChartData extends NSObjectProtocol {
area?: number;
close?: number;
dataName?: string;
dataXValue: any;
dataYValue: any;
high?: number;
low?: number;
open?: number;
signalYValue?: any;
volume?: number;
}
declare var TKChartData: {
prototype: TKChartData;
};
declare class TKChartDataPoint extends NSObject implements TKChartData {
static alloc(): TKChartDataPoint; // inherited from NSObject
static dataPointWithXY(xValue: any, yValue: any): TKChartDataPoint;
static dataPointWithXYName(xValue: any, yValue: any, name: string): TKChartDataPoint;
static new(): TKChartDataPoint; // inherited from NSObject
dataName: string;
dataXValue: any;
dataYValue: any;
readonly area: number; // inherited from TKChartData
readonly close: number; // inherited from TKChartData
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly high: number; // inherited from TKChartData
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly low: number; // inherited from TKChartData
readonly open: number; // inherited from TKChartData
readonly signalYValue: any; // inherited from TKChartData
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly volume: number; // inherited from TKChartData
readonly // inherited from NSObjectProtocol
constructor(o: { name: string; value: any; });
constructor(o: { x: any; y: any; });
constructor(o: { x: any; y: any; name: string; });
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
initWithNameValue(name: string, value: any): this;
initWithXY(xValue: any, yValue: any): this;
initWithXYName(xValue: any, yValue: any, name: string): this;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
interface TKChartDataSource extends NSObjectProtocol {
chartDataPointAtIndexForSeriesAtIndex?(chart: TKChart, dataIndex: number, seriesIndex: number): TKChartData;
chartDataPointsForSeriesAtIndex?(chart: TKChart, seriesIndex: number): NSArray;
chartNumberOfDataPointsForSeriesAtIndex?(chart: TKChart, seriesIndex: number): number;
numberOfSeriesForChart(chart: TKChart): number;
seriesForChartAtIndex(chart: TKChart, index: number): TKChartSeries;
}
declare var TKChartDataSource: {
prototype: TKChartDataSource;
};
declare class TKChartDateTimeAxis extends TKChartAxis {
static alloc(): TKChartDateTimeAxis; // inherited from NSObject
static new(): TKChartDateTimeAxis; // inherited from NSObject
baseline: Date;
majorTickInterval: number;
majorTickIntervalUnit: TKChartDateTimeAxisIntervalUnit;
minorTickIntervalUnit: TKChartDateTimeAxisIntervalUnit;
offset: Date;
constructor(o: { minimumDate: Date; andMaximumDate: Date; });
initWithMinimumDateAndMaximumDate(minDate: Date, maxDate: Date): this;
setMajorTickCount(tickCount: number): void;
setPlotMode(plotMode: TKChartAxisPlotMode): void;
}
declare const enum TKChartDateTimeAxisIntervalUnit {
Seconds = 0,
Minutes = 1,
Hours = 2,
Days = 3,
Weeks = 4,
Months = 5,
Years = 6,
Custom = 7
}
declare class TKChartDateTimeCategoryAxis extends TKChartAxis {
static alloc(): TKChartDateTimeCategoryAxis; // inherited from NSObject
static new(): TKChartDateTimeCategoryAxis; // inherited from NSObject
baseline: Date;
readonly categories: NSArray;
dateComponent: NSCalendarUnit;
readonly majorTickInterval: number;
minorTickInterval: number;
offset: Date;
constructor(o: { minimumDate: Date; andMaximumDate: Date; });
initWithMinimumDateAndMaximumDate(minDate: Date, maxDate: Date): this;
removeAllCategories(): void;
setPlotMode(plotMode: TKChartAxisPlotMode): void;
}
interface TKChartDelegate extends NSObjectProtocol {
chartAnimationForSeriesWithStateInRect?(chart: TKChart, series: TKChartSeries, state: TKChartSeriesRenderState, rect: CGRect): CAAnimation;
chartAttributedTextForAxisValueAtIndex?(chart: TKChart, axis: TKChartAxis, value: any, index: number): NSAttributedString;
chartDidDeselectPointInSeriesAtIndex?(chart: TKChart, point: TKChartData, series: TKChartSeries, index: number): void;
chartDidDeselectSeries?(chart: TKChart, series: TKChartSeries): void;
chartDidPan?(chart: TKChart): void;
chartDidSelectPointInSeriesAtIndex?(chart: TKChart, point: TKChartData, series: TKChartSeries, index: number): void;
chartDidSelectSeries?(chart: TKChart, series: TKChartSeries): void;
chartDidTapOnLegendItem?(chart: TKChart, legendItem: TKChartLegendItem): void;
chartDidZoom?(chart: TKChart): void;
chartLabelForDataPointPropertyInSeriesAtIndex?(chart: TKChart, dataPoint: TKChartData, propertyName: string, series: TKChartSeries, dataIndex: number): TKChartPointLabel;
chartLegendItemForSeriesAtIndex?(chart: TKChart, series: TKChartSeries, index: number): TKChartLegendItem;
chartPaletteItemForPointInSeries?(chart: TKChart, index: number, series: TKChartSeries): TKChartPaletteItem;
chartPaletteItemForSeriesAtIndex?(chart: TKChart, series: TKChartSeries, index: number): TKChartPaletteItem;
chartPointLabelRenderForSeriesWithRender?(chart: TKChart, series: TKChartSeries, render: TKChartSeriesRender): TKChartPointLabelRender;
chartShapeForSeriesAtIndex?(chart: TKChart, series: TKChartSeries, index: number): TKShape;
chartTextForAxisValueAtIndex?(chart: TKChart, axis: TKChartAxis, value: any, index: number): string;
chartTextForLabelAtPointPropertyInSeriesAtIndex?(chart: TKChart, dataPoint: TKChartData, propertyName: string, series: TKChartSeries, dataIndex: number): string;
chartTrackballDidHideSelection?(chart: TKChart, selection: NSArray): void;
chartTrackballDidTrackSelection?(chart: TKChart, selection: NSArray): void;
chartUpdateLegendItemForSeriesAtIndex?(chart: TKChart, item: TKChartLegendItem, series: TKChartSeries, index: number): void;
chartWillPan?(chart: TKChart): void;
chartWillZoom?(chart: TKChart): void;
}
declare var TKChartDelegate: {
prototype: TKChartDelegate;
};
declare class TKChartDetrendedPriceOscillator extends TKChartFinancialIndicator {
static alloc(): TKChartDetrendedPriceOscillator; // inherited from NSObject
static new(): TKChartDetrendedPriceOscillator; // inherited from NSObject
period: number;
}
declare class TKChartDonutSeries extends TKChartPieSeries {
static alloc(): TKChartDonutSeries; // inherited from NSObject
static new(): TKChartDonutSeries; // inherited from NSObject
innerRadius: number;
}
declare class TKChartEaseOfMovementIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartEaseOfMovementIndicator; // inherited from NSObject
static new(): TKChartEaseOfMovementIndicator; // inherited from NSObject
period: number;
}
declare class TKChartExponentialMovingAverageIndicator extends TKChartSimpleMovingAverageIndicator {
static alloc(): TKChartExponentialMovingAverageIndicator; // inherited from NSObject
static new(): TKChartExponentialMovingAverageIndicator; // inherited from NSObject
}
declare class TKChartFastStochasticIndicator extends TKChartSignalLineIndicator {
static alloc(): TKChartFastStochasticIndicator; // inherited from NSObject
static new(): TKChartFastStochasticIndicator; // inherited from NSObject
period: number;
signalPeriod: number;
}
declare class TKChartFinancialDataPoint extends NSObject implements TKChartData {
static alloc(): TKChartFinancialDataPoint; // inherited from NSObject
static dataPointWithXOpenHighLowClose(xValue: any, open: number, high: number, low: number, close: number): TKChartFinancialDataPoint;
static dataPointWithXOpenHighLowCloseVolume(xValue: any, open: number, high: number, low: number, close: number, volume: number): TKChartFinancialDataPoint;
static new(): TKChartFinancialDataPoint; // inherited from NSObject
close: number;
dataName: string;
dataXValue: any;
dataYValue: any;
high: number;
low: number;
open: number;
volume: number;
readonly area: number; // inherited from TKChartData
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly signalYValue: any; // inherited from TKChartData
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
constructor(o: { x: any; open: number; high: number; low: number; close: number; volume: number; });
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
initWithXOpenHighLowCloseVolume(xValue: any, open: number, high: number, low: number, close: number, volume: number): this;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class TKChartFinancialIndicator extends TKChartSeries {
static alloc(): TKChartFinancialIndicator; // inherited from NSObject
static new(): TKChartFinancialIndicator; // inherited from NSObject
marginForHitDetection: number;
series: TKChartSeries;
constructor(o: { series: TKChartSeries; });
initWithSeries(series: TKChartSeries): this;
}
declare class TKChartForceIndexIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartForceIndexIndicator; // inherited from NSObject
static new(): TKChartForceIndexIndicator; // inherited from NSObject
period: number;
}
declare class TKChartFullStochasticIndicator extends TKChartSlowStochasticIndicator {
static alloc(): TKChartFullStochasticIndicator; // inherited from NSObject
static new(): TKChartFullStochasticIndicator; // inherited from NSObject
smoothPeriod: number;
}
declare const enum TKChartGridDrawMode {
HorizontalFirst = 0,
VerticalFirst = 1
}
declare class TKChartGridLineAnnotation extends TKChartAnnotation {
static alloc(): TKChartGridLineAnnotation; // inherited from NSObject
static new(): TKChartGridLineAnnotation; // inherited from NSObject
axis: TKChartAxis;
readonly style: TKChartGridLineAnnotationStyle;
value: any;
constructor(o: { value: any; forAxis: TKChartAxis; });
constructor(o: { value: any; forAxis: TKChartAxis; withStroke: TKStroke; });
initWithValueForAxis(value: any, axis: TKChartAxis): this;
initWithValueForAxisWithStroke(value: any, axis: TKChartAxis, stroke: TKStroke): this;
}
declare class TKChartGridLineAnnotationStyle extends TKChartAnnotationStyle {
static alloc(): TKChartGridLineAnnotationStyle; // inherited from NSObject
static new(): TKChartGridLineAnnotationStyle; // inherited from NSObject
stroke: TKStroke;
}
declare class TKChartGridStyle extends TKStyleNode {
static alloc(): TKChartGridStyle; // inherited from NSObject
static new(): TKChartGridStyle; // inherited from NSObject
backgroundFill: TKFill;
drawOrder: TKChartGridDrawMode;
horizontalAlternateFill: TKFill;
horizontalFill: TKFill;
horizontalLineAlternateStroke: TKStroke;
horizontalLineStroke: TKStroke;
horizontalLinesHidden: boolean;
verticalAlternateFill: TKFill;
verticalFill: TKFill;
verticalLineAlternateStroke: TKStroke;
verticalLineStroke: TKStroke;
verticalLinesHidden: boolean;
zPosition: TKChartGridZPosition;
}
declare const enum TKChartGridZPosition {
BelowSeries = 0,
AboveSeries = 1
}
declare class TKChartLabelStyle extends TKStyleNode {
static alloc(): TKChartLabelStyle; // inherited from NSObject
static new(): TKChartLabelStyle; // inherited from NSObject
font: UIFont;
shadowColor: UIColor;
shadowOffset: CGSize;
textColor: UIColor;
textHidden: boolean;
}
declare class TKChartLayerAnnotation extends TKChartPointAnnotation {
static alloc(): TKChartLayerAnnotation; // inherited from NSObject
static new(): TKChartLayerAnnotation; // inherited from NSObject
layer: CALayer;
constructor(o: { layer: CALayer; });
constructor(o: { layer: CALayer; point: TKChartData; forSeries: TKChartSeries; });
constructor(o: { layer: CALayer; point: TKChartData; forXAxis: TKChartAxis; forYAxis: TKChartAxis; });
constructor(o: { layer: CALayer; x: any; y: any; forSeries: TKChartSeries; });
constructor(o: { layer: CALayer; x: any; y: any; forXAxis: TKChartAxis; forYAxis: TKChartAxis; });
initWithLayer(layer: CALayer): this;
initWithLayerPointForSeries(layer: CALayer, point: TKChartData, series: TKChartSeries): this;
initWithLayerPointForXAxisForYAxis(layer: CALayer, point: TKChartData, xAxis: TKChartAxis, yAxis: TKChartAxis): this;
initWithLayerXYForSeries(layer: CALayer, xValue: any, yValue: any, series: TKChartSeries): this;
initWithLayerXYForXAxisForYAxis(layer: CALayer, xValue: any, yValue: any, xAxis: TKChartAxis, yAxis: TKChartAxis): this;
}
declare class TKChartLegendContainer extends TKCoreStackLayoutView {
static alloc(): TKChartLegendContainer; // inherited from NSObject
static appearance(): TKChartLegendContainer; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKChartLegendContainer; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKChartLegendContainer; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKChartLegendContainer; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKChartLegendContainer; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKChartLegendContainer; // inherited from UIAppearance
static new(): TKChartLegendContainer; // inherited from NSObject
readonly itemCount: number;
preferredSize: CGSize;
addItem(item: TKChartLegendItem): void;
indexOfItem(item: TKChartLegendItem): number;
itemAtIndex(index: number): TKChartLegendItem;
removeAllItems(): void;
}
declare class TKChartLegendItem extends UIView {
static alloc(): TKChartLegendItem; // inherited from NSObject
static appearance(): TKChartLegendItem; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKChartLegendItem; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKChartLegendItem; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKChartLegendItem; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKChartLegendItem; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKChartLegendItem; // inherited from UIAppearance
static new(): TKChartLegendItem; // inherited from NSObject
icon: UIView;
label: UILabel;
selectionInfo: TKChartSelectionInfo;
readonly stack: TKCoreStackLayout;
style: TKChartLegendItemStyle;
tap(tapRecognizer: UITapGestureRecognizer): void;
update(): void;
}
declare class TKChartLegendItemStyle extends TKStyleNode {
static alloc(): TKChartLegendItemStyle; // inherited from NSObject
static new(): TKChartLegendItemStyle; // inherited from NSObject
fill: TKFill;
iconSize: CGSize;
readonly labelStyle: TKChartLabelStyle;
stroke: TKStroke;
}
declare const enum TKChartLegendOffsetOrigin {
TopLeft = 0,
TopRight = 1,
BottomLeft = 2,
BottomRight = 3
}
declare const enum TKChartLegendPosition {
Left = 0,
Right = 1,
Top = 2,
Bottom = 3,
Floating = 4
}
declare class TKChartLegendStyle extends TKStyleNode {
static alloc(): TKChartLegendStyle; // inherited from NSObject
static new(): TKChartLegendStyle; // inherited from NSObject
fill: TKFill;
insets: UIEdgeInsets;
offset: UIOffset;
offsetOrigin: TKChartLegendOffsetOrigin;
position: TKChartLegendPosition;
stroke: TKStroke;
}
declare class TKChartLegendView extends TKView {
static alloc(): TKChartLegendView; // inherited from NSObject
static appearance(): TKChartLegendView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKChartLegendView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKChartLegendView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKChartLegendView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKChartLegendView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKChartLegendView; // inherited from UIAppearance
static new(): TKChartLegendView; // inherited from NSObject
allowSelection: boolean;
chart: TKChart;
readonly container: TKChartLegendContainer;
showTitle: boolean;
readonly style: TKChartLegendStyle;
readonly titleLabel: UILabel;
constructor(o: { chart: TKChart; });
initWithChart(chart: TKChart): this;
reloadItems(): void;
update(): void;
}
declare class TKChartLineSeries extends TKChartSeries {
static alloc(): TKChartLineSeries; // inherited from NSObject
static new(): TKChartLineSeries; // inherited from NSObject
displayNilValuesAsGaps: boolean;
marginForHitDetection: number;
}
declare class TKChartLogarithmicAxis extends TKChartNumericAxis {
static alloc(): TKChartLogarithmicAxis; // inherited from NSObject
static new(): TKChartLogarithmicAxis; // inherited from NSObject
exponentStep: number;
logarithmBase: number;
}
declare class TKChartMACDIndicator extends TKChartSignalLineIndicator {
static alloc(): TKChartMACDIndicator; // inherited from NSObject
static new(): TKChartMACDIndicator; // inherited from NSObject
longPeriod: number;
shortPeriod: number;
signalPeriod: number;
}
declare class TKChartMarketFacilitationIndex extends TKChartFinancialIndicator {
static alloc(): TKChartMarketFacilitationIndex; // inherited from NSObject
static new(): TKChartMarketFacilitationIndex; // inherited from NSObject
gapLength: number;
maxColumnWidth: number;
minColumnWidth: number;
range: number;
}
declare class TKChartMedianPriceIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartMedianPriceIndicator; // inherited from NSObject
static new(): TKChartMedianPriceIndicator; // inherited from NSObject
}
declare class TKChartModifiedMovingAverageIndicator extends TKChartExponentialMovingAverageIndicator {
static alloc(): TKChartModifiedMovingAverageIndicator; // inherited from NSObject
static new(): TKChartModifiedMovingAverageIndicator; // inherited from NSObject
}
declare class TKChartMoneyFlowIndexIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartMoneyFlowIndexIndicator; // inherited from NSObject
static new(): TKChartMoneyFlowIndexIndicator; // inherited from NSObject
period: number;
}
declare class TKChartMovingAverageEnvelopesIndicator extends TKChartBandIndicator {
static alloc(): TKChartMovingAverageEnvelopesIndicator; // inherited from NSObject
static new(): TKChartMovingAverageEnvelopesIndicator; // inherited from NSObject
envelopesPercentage: number;
period: number;
}
declare class TKChartNegativeVolumeIndexIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartNegativeVolumeIndexIndicator; // inherited from NSObject
static new(): TKChartNegativeVolumeIndexIndicator; // inherited from NSObject
}
declare class TKChartNumericAxis extends TKChartAxis {
static alloc(): TKChartNumericAxis; // inherited from NSObject
static new(): TKChartNumericAxis; // inherited from NSObject
baseline: number;
labelDisplayMode: TKChartNumericAxisLabelDisplayMode;
majorTickInterval: number;
minorTickInterval: number;
offset: number;
}
declare const enum TKChartNumericAxisLabelDisplayMode {
Value = 0,
Percentage = 1
}
declare class TKChartOhlcBar extends TKChartVisualPoint {
static alloc(): TKChartOhlcBar; // inherited from NSObject
static new(): TKChartOhlcBar; // inherited from NSObject
bodyWidth: number;
closeValue: number;
highValue: number;
lowValue: number;
openValue: number;
constructor(o: { point: TKChartFinancialDataPoint; atIndex: number; series: TKChartSeries; render: TKChartSeriesRender; });
drawInContext(ctx: any): void;
initWithPointAtIndexSeriesRender(data: TKChartFinancialDataPoint, index: number, series: TKChartSeries, render: TKChartSeriesRender): this;
}
declare class TKChartOhlcSeries extends TKChartColumnSeries {
static alloc(): TKChartOhlcSeries; // inherited from NSObject
static new(): TKChartOhlcSeries; // inherited from NSObject
}
declare class TKChartOnBalanceVolumeIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartOnBalanceVolumeIndicator; // inherited from NSObject
static new(): TKChartOnBalanceVolumeIndicator; // inherited from NSObject
}
declare class TKChartPalette extends NSObject {
static alloc(): TKChartPalette; // inherited from NSObject
static new(): TKChartPalette; // inherited from NSObject
readonly items: NSArray;
readonly itemsCount: number;
addPaletteItem(item: TKChartPaletteItem): void;
addPaletteItems(items: NSArray): void;
clearPalette(): void;
insertPaletteItemAtIndex(item: TKChartPaletteItem, index: number): void;
paletteItemAtIndex(index: number): TKChartPaletteItem;
replacePaletteItemAtIndex(item: TKChartPaletteItem, index: number): void;
}
declare class TKChartPaletteItem extends NSObject {
static alloc(): TKChartPaletteItem; // inherited from NSObject
static new(): TKChartPaletteItem; // inherited from NSObject
static paletteItemWithDrawables(drawables: NSArray): TKChartPaletteItem;
static paletteItemWithFill(fill: TKFill): TKChartPaletteItem;
static paletteItemWithStroke(stroke: TKStroke): TKChartPaletteItem;
static paletteItemWithStrokeAndFill(stroke: TKStroke, fill: TKFill): TKChartPaletteItem;
drawables: NSArray;
fill: TKFill;
font: UIFont;
stroke: TKStroke;
textColor: UIColor;
constructor(o: { drawables: NSArray; });
constructor(o: { fill: TKFill; });
constructor(o: { stroke: TKStroke; });
constructor(o: { stroke: TKStroke; andFill: TKFill; });
initWithDrawables(drawables: NSArray): this;
initWithFill(fill: TKFill): this;
initWithStroke(stroke: TKStroke): this;
initWithStrokeAndFill(stroke: TKStroke, fill: TKFill): this;
}
declare class TKChartPercentagePriceOscillator extends TKChartMACDIndicator {
static alloc(): TKChartPercentagePriceOscillator; // inherited from NSObject
static new(): TKChartPercentagePriceOscillator; // inherited from NSObject
}
declare class TKChartPercentageVolumeOscillator extends TKChartMACDIndicator {
static alloc(): TKChartPercentageVolumeOscillator; // inherited from NSObject
static new(): TKChartPercentageVolumeOscillator; // inherited from NSObject
}
declare class TKChartPieSeries extends TKChartSeries {
static alloc(): TKChartPieSeries; // inherited from NSObject
static new(): TKChartPieSeries; // inherited from NSObject
adjustSizeToFit: boolean;
displayPercentage: boolean;
endAngle: number;
expandRadius: number;
labelDisplayMode: TKChartPieSeriesLabelDisplayMode;
outerRadius: number;
radiusInset: number;
rotationAngle: number;
rotationDeceleration: number;
rotationEnabled: boolean;
selectionAngle: number;
startAngle: number;
}
declare const enum TKChartPieSeriesLabelDisplayMode {
Inside = 1,
Outside = 2
}
declare class TKChartPieVisualPoint extends TKChartVisualPoint {
static alloc(): TKChartPieVisualPoint; // inherited from NSObject
static new(): TKChartPieVisualPoint; // inherited from NSObject
distanceFromCenter: number;
startAngle: number;
}
declare class TKChartPlotView extends TKView implements UIGestureRecognizerDelegate {
static alloc(): TKChartPlotView; // inherited from NSObject
static appearance(): TKChartPlotView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKChartPlotView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKChartPlotView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKChartPlotView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKChartPlotView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKChartPlotView; // inherited from UIAppearance
static new(): TKChartPlotView; // inherited from NSObject
readonly chart: TKChart;
readonly doubleTapGestureRecognizer: UITapGestureRecognizer;
handleTap: boolean;
readonly longPressRecognizer: UILongPressGestureRecognizer;
readonly panZoomRecognizer: UIGestureRecognizer;
readonly rotateOneFingerRecognizer: UIGestureRecognizer;
readonly rotateTwoFingerRecognizer: UIRotationGestureRecognizer;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
constructor(o: { chart: TKChart; });
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
gestureRecognizerShouldBeRequiredToFailByGestureRecognizer(gestureRecognizer: UIGestureRecognizer, otherGestureRecognizer: UIGestureRecognizer): boolean;
gestureRecognizerShouldBegin(gestureRecognizer: UIGestureRecognizer): boolean;
gestureRecognizerShouldReceivePress(gestureRecognizer: UIGestureRecognizer, press: UIPress): boolean;
gestureRecognizerShouldReceiveTouch(gestureRecognizer: UIGestureRecognizer, touch: UITouch): boolean;
gestureRecognizerShouldRecognizeSimultaneouslyWithGestureRecognizer(gestureRecognizer: UIGestureRecognizer, otherGestureRecognizer: UIGestureRecognizer): boolean;
gestureRecognizerShouldRequireFailureOfGestureRecognizer(gestureRecognizer: UIGestureRecognizer, otherGestureRecognizer: UIGestureRecognizer): boolean;
hitTestForPoint(point: CGPoint): TKChartSelectionInfo;
initWithChart(chart: TKChart): this;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
renderForSeries(series: TKChartSeries): TKChartSeriesRender;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class TKChartPointAnnotation extends TKChartAnnotation {
static alloc(): TKChartPointAnnotation; // inherited from NSObject
static new(): TKChartPointAnnotation; // inherited from NSObject
offset: UIOffset;
position: TKChartData;
series: TKChartSeries;
xAxis: TKChartAxis;
yAxis: TKChartAxis;
constructor(o: { point: TKChartData; forSeries: TKChartSeries; });
constructor(o: { point: TKChartData; forXAxis: TKChartAxis; forYAxis: TKChartAxis; });
constructor(o: { x: any; y: any; forSeries: TKChartSeries; });
constructor(o: { x: any; y: any; forXAxis: TKChartAxis; forYAxis: TKChartAxis; });
initWithPointForSeries(point: TKChartData, series: TKChartSeries): this;
initWithPointForXAxisForYAxis(point: TKChartData, xAxis: TKChartAxis, yAxis: TKChartAxis): this;
initWithXYForSeries(xValue: any, yValue: any, series: TKChartSeries): this;
initWithXYForXAxisForYAxis(xValue: any, yValue: any, xAxis: TKChartAxis, yAxis: TKChartAxis): this;
locationInRectForChart(bounds: CGRect, chart: TKChart): CGPoint;
}
declare class TKChartPointLabel extends NSObject {
static alloc(): TKChartPointLabel; // inherited from NSObject
static new(): TKChartPointLabel; // inherited from NSObject
readonly dataPoint: TKChartData;
readonly series: TKChartSeries;
readonly style: TKChartPointLabelStyle;
text: string;
constructor(o: { point: TKChartData; series: TKChartSeries; text: string; });
drawInContextInRectForVisualPointColor(ctx: any, bounds: CGRect, visualPoint: TKChartVisualPoint, paletteTextColor: UIColor): void;
initWithPointSeriesText(point: TKChartData, series: TKChartSeries, text: string): this;
sizeThatFits(size: CGSize): CGSize;
}
declare const enum TKChartPointLabelClipMode {
Hidden = 0,
Visible = 1
}
declare const enum TKChartPointLabelLayoutMode {
Manual = 0,
Auto = 1
}
declare const enum TKChartPointLabelOrientation {
Vertical = 0,
Horizontal = 1
}
declare class TKChartPointLabelRender extends NSObject {
static alloc(): TKChartPointLabelRender; // inherited from NSObject
static new(): TKChartPointLabelRender; // inherited from NSObject
readonly chartDelegate: TKChartDelegate;
readonly render: TKChartSeriesRender;
constructor(o: { render: TKChartSeriesRender; });
initWithRender(render: TKChartSeriesRender): this;
isPointInsideRect(point: CGPoint, rect: CGRect): boolean;
labelForDataPointPropertyInSeriesAtIndex(dataPoint: TKChartData, propertyName: string, series: TKChartSeries, dataIndex: number): TKChartPointLabel;
locationForDataPointForSeriesInRect(dataPoint: TKChartData, series: TKChartSeries, rect: CGRect): CGPoint;
renderPointLabelsForSeriesInRectContext(series: TKChartSeries, bounds: CGRect, ctx: any): void;
}
declare class TKChartPointLabelStyle extends TKChartLabelStyle {
static alloc(): TKChartPointLabelStyle; // inherited from NSObject
static new(): TKChartPointLabelStyle; // inherited from NSObject
blurRadius: number;
clipMode: TKChartPointLabelClipMode;
cornerRadius: number;
fill: TKFill;
formatter: NSFormatter;
insets: UIEdgeInsets;
labelOffset: UIOffset;
layoutMode: TKChartPointLabelLayoutMode;
stringFormat: string;
stroke: TKStroke;
textAlignment: NSTextAlignment;
textOrientation: TKChartPointLabelOrientation;
}
declare class TKChartPositiveVolumeIndexIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartPositiveVolumeIndexIndicator; // inherited from NSObject
static new(): TKChartPositiveVolumeIndexIndicator; // inherited from NSObject
}
declare class TKChartPriceVolumeTrendIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartPriceVolumeTrendIndicator; // inherited from NSObject
static new(): TKChartPriceVolumeTrendIndicator; // inherited from NSObject
}
declare class TKChartRangeBarSeries extends TKChartBarSeries {
static alloc(): TKChartRangeBarSeries; // inherited from NSObject
static new(): TKChartRangeBarSeries; // inherited from NSObject
}
declare class TKChartRangeColumnSeries extends TKChartColumnSeries {
static alloc(): TKChartRangeColumnSeries; // inherited from NSObject
static new(): TKChartRangeColumnSeries; // inherited from NSObject
}
declare class TKChartRangeDataPoint extends NSObject implements TKChartData {
static alloc(): TKChartRangeDataPoint; // inherited from NSObject
static dataPointWithXLowHigh(xValue: any, lowValue: any, highValue: any): TKChartRangeDataPoint;
static dataPointWithYLowHigh(yValue: any, lowValue: any, highValue: any): TKChartRangeDataPoint;
static new(): TKChartRangeDataPoint; // inherited from NSObject
dataXValue: any;
dataYValue: any;
high: any;
low: any;
readonly area: number; // inherited from TKChartData
readonly close: number; // inherited from TKChartData
readonly dataName: string; // inherited from TKChartData
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly open: number; // inherited from TKChartData
readonly signalYValue: any; // inherited from TKChartData
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly volume: number; // inherited from TKChartData
readonly // inherited from NSObjectProtocol
constructor(o: { x: any; low: any; high: any; });
constructor(o: { y: any; low: any; high: any; });
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
initWithXLowHigh(xValue: any, lowValue: any, highValue: any): this;
initWithYLowHigh(yValue: any, lowValue: any, highValue: any): this;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class TKChartRangeVisualPoint extends TKChartVisualPoint {
static alloc(): TKChartRangeVisualPoint; // inherited from NSObject
static new(): TKChartRangeVisualPoint; // inherited from NSObject
high: number;
low: number;
constructor(o: { point: CGPoint; low: number; high: number; });
initWithPointLowHigh(point: CGPoint, low: number, high: number): this;
}
declare class TKChartRapidAdaptiveVarianceIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartRapidAdaptiveVarianceIndicator; // inherited from NSObject
static new(): TKChartRapidAdaptiveVarianceIndicator; // inherited from NSObject
longPeriod: number;
shortPeriod: number;
}
declare class TKChartRateOfChangeIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartRateOfChangeIndicator; // inherited from NSObject
static new(): TKChartRateOfChangeIndicator; // inherited from NSObject
period: number;
}
declare class TKChartRelativeMomentumIndex extends TKChartFinancialIndicator {
static alloc(): TKChartRelativeMomentumIndex; // inherited from NSObject
static new(): TKChartRelativeMomentumIndex; // inherited from NSObject
momentum: number;
period: number;
}
declare class TKChartRelativeStrengthIndex extends TKChartFinancialIndicator {
static alloc(): TKChartRelativeStrengthIndex; // inherited from NSObject
static new(): TKChartRelativeStrengthIndex; // inherited from NSObject
period: number;
}
declare class TKChartRender extends CALayer {
static alloc(): TKChartRender; // inherited from NSObject
static layer(): TKChartRender; // inherited from CALayer
static new(): TKChartRender; // inherited from NSObject
readonly chart: TKChart;
constructor(o: { chart: TKChart; });
initWithChart(chart: TKChart): this;
setup(): void;
update(): void;
}
declare class TKChartScatterSeries extends TKChartSeries {
static alloc(): TKChartScatterSeries; // inherited from NSObject
static new(): TKChartScatterSeries; // inherited from NSObject
marginForHitDetection: number;
}
declare class TKChartSelectionInfo extends NSObject implements NSCopying {
static alloc(): TKChartSelectionInfo; // inherited from NSObject
static hitTestInfoWithSeriesDataPointIndex(series: TKChartSeries, dataPointIndex: number): TKChartSelectionInfo;
static hitTestInfoWithSeriesDataPointIndexDistance(series: TKChartSeries, dataPointIndex: number, distance: number): TKChartSelectionInfo;
static new(): TKChartSelectionInfo; // inherited from NSObject
readonly dataPoint: TKChartData;
readonly dataPointIndex: number;
readonly distance: number;
readonly location: CGPoint;
readonly series: TKChartSeries;
constructor(o: { series: TKChartSeries; dataPointIndex: number; });
constructor(o: { series: TKChartSeries; dataPointIndex: number; distance: number; });
copyWithZone(zone: interop.Pointer | interop.Reference): any;
initWithSeriesDataPointIndex(series: TKChartSeries, dataPointIndex: number): this;
initWithSeriesDataPointIndexDistance(series: TKChartSeries, dataPointIndex: number, distance: number): this;
}
declare const enum TKChartSelectionMode {
None = 0,
Single = 1,
Multiple = 2
}
declare class TKChartSeries extends NSObject {
static alloc(): TKChartSeries; // inherited from NSObject
static new(): TKChartSeries; // inherited from NSObject
hidden: boolean;
readonly index: number;
readonly isSelected: boolean;
readonly items: NSArray;
readonly reuseIdentifier: string;
selection: TKChartSeriesSelection;
selectionMode: TKChartSeriesSelectionMode;
sortMode: TKChartSeriesSortMode;
stackInfo: TKChartStackInfo;
readonly style: TKChartSeriesStyle;
tag: number;
title: string;
visibleInLegend: boolean;
readonly visiblePoints: NSArray;
readonly visiblePointsInternal: NSArray;
xAxis: TKChartAxis;
yAxis: TKChartAxis;
constructor(o: { items: NSArray; });
constructor(o: { items: NSArray; forKeys: NSDictionary; });
constructor(o: { items: NSArray; forKeys: NSDictionary; reuseIdentifier: string; });
constructor(o: { items: NSArray; reuseIdentifier: string; });
constructor(o: { items: NSArray; xValueKey: string; yValueKey: string; });
dataPointAtIndex(dataIndex: number): TKChartData;
initWithItems(items: NSArray): this;
initWithItemsForKeys(items: NSArray, keys: NSDictionary): this;
initWithItemsForKeysReuseIdentifier(items: NSArray, keys: NSDictionary, reuseIdentifier: string): this;
initWithItemsReuseIdentifier(items: NSArray, reuseIdentifier: string): this;
initWithItemsXValueKeyYValueKey(items: NSArray, xValueKey: string, yValueKey: string): this;
pointIsSelected(index: number): boolean;
prepareForReuse(): void;
renderForChart(chart: TKChart): TKChartSeriesRender;
visiblePointsForAxis(axis: TKChartAxis): NSArray;
}
declare class TKChartSeriesRender extends TKChartRender {
static alloc(): TKChartSeriesRender; // inherited from NSObject
static layer(): TKChartSeriesRender; // inherited from CALayer
static locationOfValueForAxisInRect(numericValue: number, axis: TKChartAxis, bounds: CGRect): number;
static new(): TKChartSeriesRender; // inherited from NSObject
readonly series: NSArray;
readonly seriesRenderStates: TKMutableArray;
constructor(o: { chart: TKChart; forSeries: NSArray; });
addSeries(series: TKChartSeries): boolean;
createVisualPointPointIndexInSeries(data: TKChartData, index: number, series: TKChartSeries): TKChartVisualPoint;
hitTestForPoint(point: CGPoint): TKChartSelectionInfo;
initWithChartForSeries(chart: TKChart, series: NSArray): this;
isCompatibleWithSeries(series: TKChartSeries): boolean;
locationOfPointInSeries(data: TKChartData, series: TKChartSeries): CGPoint;
locationOfXNumericValueInSeries(numericValue: number, series: TKChartSeries): number;
locationOfYNumericValueInSeries(numericValue: number, series: TKChartSeries): number;
pointFromDataPointIndexInSeries(point: TKChartData, index: number, series: TKChartSeries): TKChartVisualPoint;
selectionWillChangeForSeriesAndPoint(series: TKChartSeries, pointIndex: number): void;
}
declare class TKChartSeriesRenderState extends NSObject {
static alloc(): TKChartSeriesRenderState; // inherited from NSObject
static new(): TKChartSeriesRenderState; // inherited from NSObject
readonly index: number;
readonly oldPoints: TKMutableArray;
points: TKMutableArray;
constructor(o: { index: number; });
animationKeyPathForPointAtIndex(pointIndex: number): string;
initWithIndex(index: number): this;
}
declare const enum TKChartSeriesSelection {
NotSet = 0,
None = 1,
Series = 2,
DataPoint = 3,
DataPointMultiple = 4
}
declare const enum TKChartSeriesSelectionMode {
None = 0,
Series = 1,
DataPoint = 2
}
declare const enum TKChartSeriesSortMode {
None = 0,
XAxis = 1,
YAxis = 2
}
declare class TKChartSeriesStyle extends TKStyleNode {
static alloc(): TKChartSeriesStyle; // inherited from NSObject
static new(): TKChartSeriesStyle; // inherited from NSObject
fill: TKFill;
palette: TKChartPalette;
paletteMode: TKChartSeriesStylePaletteMode;
pointLabelStyle: TKChartPointLabelStyle;
pointShape: TKShape;
shapeMode: TKChartSeriesStyleShapeMode;
shapePalette: TKChartPalette;
stroke: TKStroke;
}
declare const enum TKChartSeriesStylePaletteMode {
UseSeriesIndex = 0,
UseItemIndex = 1
}
declare const enum TKChartSeriesStyleShapeMode {
ShowOnMiddlePointsOnly = 0,
AlwaysShow = 1
}
declare class TKChartSignalLineIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartSignalLineIndicator; // inherited from NSObject
static new(): TKChartSignalLineIndicator; // inherited from NSObject
readonly isSignalState: boolean;
}
declare class TKChartSimpleMovingAverageIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartSimpleMovingAverageIndicator; // inherited from NSObject
static new(): TKChartSimpleMovingAverageIndicator; // inherited from NSObject
period: number;
}
declare class TKChartSlowStochasticIndicator extends TKChartFastStochasticIndicator {
static alloc(): TKChartSlowStochasticIndicator; // inherited from NSObject
static new(): TKChartSlowStochasticIndicator; // inherited from NSObject
}
declare class TKChartSplineAreaSeries extends TKChartAreaSeries {
static alloc(): TKChartSplineAreaSeries; // inherited from NSObject
static new(): TKChartSplineAreaSeries; // inherited from NSObject
}
declare class TKChartSplineSeries extends TKChartLineSeries {
static alloc(): TKChartSplineSeries; // inherited from NSObject
static new(): TKChartSplineSeries; // inherited from NSObject
}
declare class TKChartStackInfo extends NSObject {
static alloc(): TKChartStackInfo; // inherited from NSObject
static new(): TKChartStackInfo; // inherited from NSObject
stackID: any;
stackMode: TKChartStackMode;
constructor(o: { ID: any; withStackMode: TKChartStackMode; });
initWithIDWithStackMode(aStackID: any, aStackMode: TKChartStackMode): this;
}
declare const enum TKChartStackMode {
Stack = 0,
Stack100 = 1
}
declare class TKChartStandardDeviationIndicator extends TKChartSimpleMovingAverageIndicator {
static alloc(): TKChartStandardDeviationIndicator; // inherited from NSObject
static new(): TKChartStandardDeviationIndicator; // inherited from NSObject
}
declare class TKChartStyle extends TKStyleNode {
static alloc(): TKChartStyle; // inherited from NSObject
static new(): TKChartStyle; // inherited from NSObject
}
declare class TKChartTRIXIndicator extends TKChartSimpleMovingAverageIndicator {
static alloc(): TKChartTRIXIndicator; // inherited from NSObject
static new(): TKChartTRIXIndicator; // inherited from NSObject
}
declare const enum TKChartTitlePosition {
Left = 0,
Right = 1,
Top = 2,
Bottom = 3
}
declare class TKChartTitleStyle extends TKStyleNode {
static alloc(): TKChartTitleStyle; // inherited from NSObject
static new(): TKChartTitleStyle; // inherited from NSObject
}
declare class TKChartTitleView extends UILabel {
static alloc(): TKChartTitleView; // inherited from NSObject
static appearance(): TKChartTitleView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKChartTitleView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKChartTitleView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKChartTitleView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKChartTitleView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKChartTitleView; // inherited from UIAppearance
static new(): TKChartTitleView; // inherited from NSObject
position: TKChartTitlePosition;
style: TKChartTitleStyle;
}
declare class TKChartTrackball extends NSObject {
static alloc(): TKChartTrackball; // inherited from NSObject
static new(): TKChartTrackball; // inherited from NSObject
hideMode: TKChartTrackballHideMode;
readonly isVisible: boolean;
readonly line: TKChartTrackballLineAnnotation;
marginForHitDetection: number;
minimumPressDuration: number;
orientation: TKChartTrackballOrientation;
snapMode: TKChartTrackballSnapMode;
readonly tooltip: TKChartTrackballTooltipAnnotation;
constructor(o: { chart: TKChart; });
hide(): void;
initWithChart(chart: TKChart): this;
showAtPoint(point: CGPoint): void;
}
declare const enum TKChartTrackballHideMode {
OnTouchUp = 0,
OnSecondTouch = 1
}
declare class TKChartTrackballLineAnnotation extends TKChartAnnotation {
static alloc(): TKChartTrackballLineAnnotation; // inherited from NSObject
static new(): TKChartTrackballLineAnnotation; // inherited from NSObject
selectedPoints: NSArray;
style: TKChartCrossLineAnnotationStyle;
constructor(o: { trackball: TKChartTrackball; });
initWithTrackball(trackball: TKChartTrackball): this;
updateContent(): void;
}
declare const enum TKChartTrackballOrientation {
Horizontal = 0,
Vertical = 1
}
declare const enum TKChartTrackballPinPosition {
None = 0,
Left = 1,
Right = 2,
Top = 3,
Bottom = 4
}
declare const enum TKChartTrackballSnapMode {
ClosestPoint = 0,
AllClosestPoints = 1
}
declare class TKChartTrackballTooltipAnnotation extends TKChartBalloonAnnotation {
static alloc(): TKChartTrackballTooltipAnnotation; // inherited from NSObject
static new(): TKChartTrackballTooltipAnnotation; // inherited from NSObject
pinPosition: TKChartTrackballPinPosition;
constructor(o: { trackball: TKChartTrackball; });
initWithTrackball(trackball: TKChartTrackball): this;
updateContent(): void;
}
declare class TKChartTriangularMovingAverageIndicator extends TKChartSimpleMovingAverageIndicator {
static alloc(): TKChartTriangularMovingAverageIndicator; // inherited from NSObject
static new(): TKChartTriangularMovingAverageIndicator; // inherited from NSObject
}
declare class TKChartTrueRangeIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartTrueRangeIndicator; // inherited from NSObject
static new(): TKChartTrueRangeIndicator; // inherited from NSObject
}
declare class TKChartTypicalPriceIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartTypicalPriceIndicator; // inherited from NSObject
static new(): TKChartTypicalPriceIndicator; // inherited from NSObject
}
declare class TKChartUltimateOscillator extends TKChartFinancialIndicator {
static alloc(): TKChartUltimateOscillator; // inherited from NSObject
static new(): TKChartUltimateOscillator; // inherited from NSObject
longPeriod: number;
middlePeriod: number;
shortPeriod: number;
}
declare class TKChartViewAnnotation extends TKChartPointAnnotation {
static alloc(): TKChartViewAnnotation; // inherited from NSObject
static new(): TKChartViewAnnotation; // inherited from NSObject
view: UIView;
constructor(o: { view: UIView; });
constructor(o: { view: UIView; point: TKChartData; forSeries: TKChartSeries; });
constructor(o: { view: UIView; point: TKChartData; forXAxis: TKChartAxis; forYAxis: TKChartAxis; });
constructor(o: { view: UIView; x: any; y: any; forSeries: TKChartSeries; });
constructor(o: { view: UIView; x: any; y: any; forXAxis: TKChartAxis; forYAxis: TKChartAxis; });
initWithView(aView: UIView): this;
initWithViewPointForSeries(aView: UIView, point: TKChartData, series: TKChartSeries): this;
initWithViewPointForXAxisForYAxis(aView: UIView, point: TKChartData, xAxis: TKChartAxis, yAxis: TKChartAxis): this;
initWithViewXYForSeries(aView: UIView, xValue: any, yValue: any, series: TKChartSeries): this;
initWithViewXYForXAxisForYAxis(aView: UIView, xValue: any, yValue: any, xAxis: TKChartAxis, yAxis: TKChartAxis): this;
}
declare class TKChartViewController extends UIViewController implements TKChartDataSource, TKChartDelegate {
static alloc(): TKChartViewController; // inherited from NSObject
static new(): TKChartViewController; // inherited from NSObject
readonly chart: TKChart;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
chartAnimationForSeriesWithStateInRect(chart: TKChart, series: TKChartSeries, state: TKChartSeriesRenderState, rect: CGRect): CAAnimation;
chartAttributedTextForAxisValueAtIndex(chart: TKChart, axis: TKChartAxis, value: any, index: number): NSAttributedString;
chartDataPointAtIndexForSeriesAtIndex(chart: TKChart, dataIndex: number, seriesIndex: number): TKChartData;
chartDataPointsForSeriesAtIndex(chart: TKChart, seriesIndex: number): NSArray;
chartDidDeselectPointInSeriesAtIndex(chart: TKChart, point: TKChartData, series: TKChartSeries, index: number): void;
chartDidDeselectSeries(chart: TKChart, series: TKChartSeries): void;
chartDidPan(chart: TKChart): void;
chartDidSelectPointInSeriesAtIndex(chart: TKChart, point: TKChartData, series: TKChartSeries, index: number): void;
chartDidSelectSeries(chart: TKChart, series: TKChartSeries): void;
chartDidTapOnLegendItem(chart: TKChart, legendItem: TKChartLegendItem): void;
chartDidZoom(chart: TKChart): void;
chartLabelForDataPointPropertyInSeriesAtIndex(chart: TKChart, dataPoint: TKChartData, propertyName: string, series: TKChartSeries, dataIndex: number): TKChartPointLabel;
chartLegendItemForSeriesAtIndex(chart: TKChart, series: TKChartSeries, index: number): TKChartLegendItem;
chartNumberOfDataPointsForSeriesAtIndex(chart: TKChart, seriesIndex: number): number;
chartPaletteItemForPointInSeries(chart: TKChart, index: number, series: TKChartSeries): TKChartPaletteItem;
chartPaletteItemForSeriesAtIndex(chart: TKChart, series: TKChartSeries, index: number): TKChartPaletteItem;
chartPointLabelRenderForSeriesWithRender(chart: TKChart, series: TKChartSeries, render: TKChartSeriesRender): TKChartPointLabelRender;
chartShapeForSeriesAtIndex(chart: TKChart, series: TKChartSeries, index: number): TKShape;
chartTextForAxisValueAtIndex(chart: TKChart, axis: TKChartAxis, value: any, index: number): string;
chartTextForLabelAtPointPropertyInSeriesAtIndex(chart: TKChart, dataPoint: TKChartData, propertyName: string, series: TKChartSeries, dataIndex: number): string;
chartTrackballDidHideSelection(chart: TKChart, selection: NSArray): void;
chartTrackballDidTrackSelection(chart: TKChart, selection: NSArray): void;
chartUpdateLegendItemForSeriesAtIndex(chart: TKChart, item: TKChartLegendItem, series: TKChartSeries, index: number): void;
chartWillPan(chart: TKChart): void;
chartWillZoom(chart: TKChart): void;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
numberOfSeriesForChart(chart: TKChart): number;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
seriesForChartAtIndex(chart: TKChart, index: number): TKChartSeries;
}
declare class TKChartVisualPoint extends NSObject implements NSCopying, UIDynamicItem {
static alloc(): TKChartVisualPoint; // inherited from NSObject
static new(): TKChartVisualPoint; // inherited from NSObject
readonly CGPoint: CGPoint;
animator: UIDynamicAnimator;
readonly doubleValue: number;
opacity: number;
scaleFactor: number;
x: number;
y: number;
readonly bounds: CGRect; // inherited from UIDynamicItem
center: CGPoint; // inherited from UIDynamicItem
readonly collisionBoundingPath: UIBezierPath; // inherited from UIDynamicItem
readonly collisionBoundsType: UIDynamicItemCollisionBoundsType; // inherited from UIDynamicItem
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
transform: CGAffineTransform; // inherited from UIDynamicItem
readonly // inherited from NSObjectProtocol
constructor(o: { point: CGPoint; });
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
copyWithZone(zone: interop.Pointer | interop.Reference): any;
initWithPoint(point: CGPoint): this;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class TKChartWeightedCloseIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartWeightedCloseIndicator; // inherited from NSObject
static new(): TKChartWeightedCloseIndicator; // inherited from NSObject
}
declare class TKChartWeightedMovingAverageIndicator extends TKChartSimpleMovingAverageIndicator {
static alloc(): TKChartWeightedMovingAverageIndicator; // inherited from NSObject
static new(): TKChartWeightedMovingAverageIndicator; // inherited from NSObject
}
declare class TKChartWilliamsPercentIndicator extends TKChartFinancialIndicator {
static alloc(): TKChartWilliamsPercentIndicator; // inherited from NSObject
static new(): TKChartWilliamsPercentIndicator; // inherited from NSObject
period: number;
}
declare const enum TKChartZoomMode {
Symmetric = 0,
SingleSide = 1
}
declare class TKCheckShape extends TKShape {
static alloc(): TKCheckShape; // inherited from NSObject
static new(): TKCheckShape; // inherited from NSObject
}
declare class TKCheckView extends TKView {
static alloc(): TKCheckView; // inherited from NSObject
static appearance(): TKCheckView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCheckView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCheckView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCheckView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCheckView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCheckView; // inherited from UIAppearance
static new(): TKCheckView; // inherited from NSObject
checkFill: TKFill;
checkShape: TKShape;
checkStroke: TKStroke;
isChecked: boolean;
}
declare class TKCollectionViewCell extends UICollectionViewCell {
static alloc(): TKCollectionViewCell; // inherited from NSObject
static appearance(): TKCollectionViewCell; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCollectionViewCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCollectionViewCell; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCollectionViewCell; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCollectionViewCell; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCollectionViewCell; // inherited from UIAppearance
static new(): TKCollectionViewCell; // inherited from NSObject
readonly label: UILabel;
}
interface TKCoreLayout extends NSObjectProtocol {
alignmentMode?: TKCoreLayoutAlignmentMode;
desiredSize: CGSize;
stretchMode?: TKCoreLayoutStretchMode;
arrange(rect: CGRect): void;
itemWasAddedInLayout?(layout: TKCoreLayout): void;
itemWasRemoved?(): void;
measure(size: CGSize): CGSize;
}
declare var TKCoreLayout: {
prototype: TKCoreLayout;
};
declare const enum TKCoreLayoutAlignmentMode {
Left = 1,
Top = 2,
Right = 4,
Bottom = 8,
HorizontalCenter = 16,
VerticalCenter = 32
}
declare class TKCoreLayoutItem extends NSObject implements TKCoreLayout {
static alloc(): TKCoreLayoutItem; // inherited from NSObject
static new(): TKCoreLayoutItem; // inherited from NSObject
readonly content: any;
margin: UIEdgeInsets;
sizingMode: TKCoreLayoutSizingMode;
alignmentMode: TKCoreLayoutAlignmentMode; // inherited from TKCoreLayout
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly desiredSize: CGSize; // inherited from TKCoreLayout
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
stretchMode: TKCoreLayoutStretchMode; // inherited from TKCoreLayout
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
constructor(o: { layer: CALayer; });
constructor(o: { layout: TKCoreLayout; });
constructor(o: { view: UIView; });
arrange(rect: CGRect): void;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
initWithLayer(aLayer: CALayer): this;
initWithLayout(aLayout: TKCoreLayout): this;
initWithView(aView: UIView): this;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
itemWasAddedInLayout(layout: TKCoreLayout): void;
itemWasRemoved(): void;
measure(size: CGSize): CGSize;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare const enum TKCoreLayoutSizingMode {
Fixed = 0,
Fit = 1
}
declare const enum TKCoreLayoutStretchMode {
None = 0,
Horizontal = 1,
Vertical = 2
}
declare class TKCoreStackLayout extends NSObject implements NSFastEnumeration, TKCoreLayout {
static alloc(): TKCoreStackLayout; // inherited from NSObject
static new(): TKCoreStackLayout; // inherited from NSObject
readonly count: number;
itemOrder: TKCoreStackLayoutItemOrder;
itemSpacing: number;
readonly items: NSArray;
orientation: TKCoreStackLayoutOrientation;
alignmentMode: TKCoreLayoutAlignmentMode; // inherited from TKCoreLayout
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly desiredSize: CGSize; // inherited from TKCoreLayout
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
stretchMode: TKCoreLayoutStretchMode; // inherited from TKCoreLayout
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
[Symbol.iterator](): Iterator;
addItem(item: TKCoreLayout): boolean;
arrange(rect: CGRect): void;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
indexOfItem(layoutItem: TKCoreLayout): number;
insertItemAtIndex(item: TKCoreLayout, index: number): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
itemAtIndex(index: number): TKCoreLayout;
itemWasAddedInLayout(layout: TKCoreLayout): void;
itemWasRemoved(): void;
lastItem(): TKCoreLayout;
measure(size: CGSize): CGSize;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
removeAllItems(): void;
removeItem(item: TKCoreLayout): boolean;
removeItemAtIndex(index: number): boolean;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare const enum TKCoreStackLayoutItemOrder {
Normal = 0,
Reverse = 1
}
declare const enum TKCoreStackLayoutOrientation {
Horizontal = 0,
Vertical = 1
}
declare class TKCoreStackLayoutView extends UIScrollView {
static alloc(): TKCoreStackLayoutView; // inherited from NSObject
static appearance(): TKCoreStackLayoutView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKCoreStackLayoutView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKCoreStackLayoutView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKCoreStackLayoutView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKCoreStackLayoutView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKCoreStackLayoutView; // inherited from UIAppearance
static new(): TKCoreStackLayoutView; // inherited from NSObject
stack: TKCoreStackLayout;
}
declare class TKDataForm extends UIView {
static alloc(): TKDataForm; // inherited from NSObject
static appearance(): TKDataForm; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataForm; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataForm; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataForm; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataForm; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataForm; // inherited from UIAppearance
static new(): TKDataForm; // inherited from NSObject
allowScroll: boolean;
commitMode: TKDataFormCommitMode;
dataSource: TKDataFormDataSource;
delegate: TKDataFormDelegate;
groupSpacing: number;
readOnly: boolean;
validationMode: TKDataFormValidationMode;
constructor(o: { JSONAnnotationsResource: string; ofType: string; });
commit(): void;
editorValueChanged(editor: TKDataFormEditor): void;
groupViewForGroup(group: TKEntityPropertyGroup): TKEntityPropertyGroupView;
hasValidationErrors(): boolean;
initWithJSONAnnotationsResourceOfType(resourceName: string, type: string): this;
registerEditorForProperty(editorClass: typeof NSObject, propertyName: string): void;
registerEditorForPropertyOfClass(editorClass: typeof NSObject, propertyClass: typeof NSObject): void;
registerEditorForPropertyOfType(editorClass: typeof NSObject, propertyType: TKEntityPropertyType): void;
reloadData(): void;
setEditorOnFocus(editor: TKDataFormEditor): void;
setupWithJSONAnnotationsString(str: string): void;
update(): void;
updateEditorForProperty(property: TKEntityProperty): void;
}
declare class TKDataFormAccessoryView extends UIView {
static alloc(): TKDataFormAccessoryView; // inherited from NSObject
static appearance(): TKDataFormAccessoryView; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormAccessoryView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormAccessoryView; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormAccessoryView; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormAccessoryView; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormAccessoryView; // inherited from UIAppearance
static new(): TKDataFormAccessoryView; // inherited from NSObject
readonly doneBarItem: UIBarButtonItem;
readonly nextBarItem: UIBarButtonItem;
readonly previousBarItem: UIBarButtonItem;
readonly toolbar: UIToolbar;
}
declare class TKDataFormAutoCompleteInlineEditor extends TKDataFormEditor {
static alloc(): TKDataFormAutoCompleteInlineEditor; // inherited from NSObject
static appearance(): TKDataFormAutoCompleteInlineEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormAutoCompleteInlineEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormAutoCompleteInlineEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormAutoCompleteInlineEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormAutoCompleteInlineEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormAutoCompleteInlineEditor; // inherited from UIAppearance
static new(): TKDataFormAutoCompleteInlineEditor; // inherited from NSObject
autoCompleteView: TKAutoCompleteTextView;
dataSource: TKDataSource;
options: NSArray;
selectedItem: string;
}
declare class TKDataFormAutocompleteController extends TKAutoCompleteController implements TKAutoCompleteDelegate {
static alloc(): TKDataFormAutocompleteController; // inherited from NSObject
static new(): TKDataFormAutocompleteController; // inherited from NSObject
readonly dataSource: TKDataSource;
editor: TKDataFormAutocompleteEditor;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
autoCompleteDidAddToken(autocomplete: TKAutoCompleteTextView, token: TKAutoCompleteToken): void;
autoCompleteDidAutoComplete(autocomplete: TKAutoCompleteTextView, completion: string): void;
autoCompleteDidRemoveToken(autocomplete: TKAutoCompleteTextView, token: TKAutoCompleteToken): void;
autoCompleteDidSelectToken(autocomplete: TKAutoCompleteTextView, token: TKAutoCompleteToken): void;
autoCompleteDidStartEditing(autocomplete: TKAutoCompleteTextView): void;
autoCompleteShouldAddToken(autocomplete: TKAutoCompleteTextView, token: TKAutoCompleteToken): boolean;
autoCompleteShouldRemoveToken(autocomplete: TKAutoCompleteTextView, token: TKAutoCompleteToken): boolean;
autoCompleteSuggestionListUpdated(autocomplete: TKAutoCompleteTextView, suggestionList: NSArray): void;
autoCompleteViewForToken(autocomplete: TKAutoCompleteTextView, token: TKAutoCompleteToken): TKAutoCompleteTokenView;
autoCompleteWillShowSuggestionList(autocomplete: TKAutoCompleteTextView, suggestionList: NSArray): void;
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class TKDataFormAutocompleteEditor extends TKDataFormViewControllerEditor {
static alloc(): TKDataFormAutocompleteEditor; // inherited from NSObject
static appearance(): TKDataFormAutocompleteEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormAutocompleteEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormAutocompleteEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormAutocompleteEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormAutocompleteEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormAutocompleteEditor; // inherited from UIAppearance
static new(): TKDataFormAutocompleteEditor; // inherited from NSObject
readonly accessoryImageView: UIImageView;
options: NSArray;
placeholder: string;
selectedItem: string;
readonly selectedOptionLabel: TKLabel;
showAccessoryImage: boolean;
}
declare const enum TKDataFormCommitMode {
Immediate = 0,
OnLostFocus = 1,
Manual = 2
}
interface TKDataFormConverter extends NSObjectProtocol {
convertFrom(source: any): any;
convertTo(source: any): any;
}
declare var TKDataFormConverter: {
prototype: TKDataFormConverter;
};
declare class TKDataFormCustomEditor extends TKDataFormEditor {
static alloc(): TKDataFormCustomEditor; // inherited from NSObject
static appearance(): TKDataFormCustomEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormCustomEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormCustomEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormCustomEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormCustomEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormCustomEditor; // inherited from UIAppearance
static new(): TKDataFormCustomEditor; // inherited from NSObject
delegate: TKDataFormCustomEditorDelegate;
readonly editorView: UIView;
notifyValueChange(): void;
}
interface TKDataFormCustomEditorDelegate extends NSObjectProtocol {
editorShouldApplyValueEditorView(editor: TKDataFormCustomEditor, value: NSObject, view: UIView): void;
editorWillCreateView(editor: TKDataFormCustomEditor): UIView;
editorWillReturnValueEditorView(editor: TKDataFormCustomEditor, view: UIView): NSObject;
}
declare var TKDataFormCustomEditorDelegate: {
prototype: TKDataFormCustomEditorDelegate;
};
interface TKDataFormDataSource extends NSObjectProtocol {
dataFormEditorClassForProperty?(dataForm: TKDataForm, property: TKEntityProperty): typeof NSObject;
dataFormGroupAtIndex(dataForm: TKDataForm, groupIndex: number): TKEntityPropertyGroup;
dataFormNumberOfPropertiesInGroup(dataForm: TKDataForm, groupIndex: number): number;
dataFormPropertyInGroupAtIndex(dataForm: TKDataForm, groupIndex: number, propertyIndex: number): TKEntityProperty;
dataFormSetValueForProperty(dataForm: TKDataForm, value: any, property: TKEntityProperty): boolean;
dataFormTitleForHeaderInGroup?(dataForm: TKDataForm, groupIndex: number): string;
indexOfGroupInDataForm(group: TKEntityPropertyGroup): number;
numberOfGroupsInDataForm?(dataForm: TKDataForm): number;
}
declare var TKDataFormDataSource: {
prototype: TKDataFormDataSource;
};
declare class TKDataFormDatePickerEditor extends TKDataFormInlineEditor {
static alloc(): TKDataFormDatePickerEditor; // inherited from NSObject
static appearance(): TKDataFormDatePickerEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormDatePickerEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormDatePickerEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormDatePickerEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormDatePickerEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormDatePickerEditor; // inherited from UIAppearance
static new(): TKDataFormDatePickerEditor; // inherited from NSObject
dateFormatter: NSDateFormatter;
readonly datePicker: UIDatePicker;
placeholder: string;
}
declare class TKDataFormDecimalEditor extends TKDataFormTextFieldEditor {
static alloc(): TKDataFormDecimalEditor; // inherited from NSObject
static appearance(): TKDataFormDecimalEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormDecimalEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormDecimalEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormDecimalEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormDecimalEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormDecimalEditor; // inherited from UIAppearance
static new(): TKDataFormDecimalEditor; // inherited from NSObject
}
interface TKDataFormDelegate extends NSObjectProtocol {
dataFormCreateEditorForProperty?(dataForm: TKDataForm, property: TKEntityProperty): TKDataFormEditor;
dataFormDidCollapseGroupView?(dataForm: TKDataForm, groupView: TKEntityPropertyGroupView): void;
dataFormDidCommitProperty?(dataForm: TKDataForm, property: TKEntityProperty): void;
dataFormDidDeselectEditorForProperty?(dataForm: TKDataForm, editor: TKDataFormEditor, property: TKEntityProperty): void;
dataFormDidEditProperty?(dataForm: TKDataForm, property: TKEntityProperty): void;
dataFormDidExpandGroupView?(dataForm: TKDataForm, groupView: TKEntityPropertyGroupView): void;
dataFormDidFinishEditorIntitialization?(dataForm: TKDataForm): void;
dataFormDidSelectEditorForProperty?(dataForm: TKDataForm, editor: TKDataFormEditor, property: TKEntityProperty): void;
dataFormDidValidatePropertyEditor?(dataForm: TKDataForm, property: TKEntityProperty, editor: TKDataFormEditor): void;
dataFormHeightForEditorInGroupAtIndex?(dataForm: TKDataForm, groupIndex: number, editorIndex: number): number;
dataFormHeightForHeaderInGroup?(dataForm: TKDataForm, groupIndex: number): number;
dataFormInitViewControllerForEditor?(dataForm: TKDataForm, viewController: UIViewController, editor: TKDataFormViewControllerEditor): void;
dataFormSetupEditorForProperty?(dataForm: TKDataForm, editor: TKDataFormEditor, property: TKEntityProperty): void;
dataFormUpdateEditorForProperty?(dataForm: TKDataForm, editor: TKDataFormEditor, property: TKEntityProperty): void;
dataFormUpdateGroupViewForGroupAtIndex?(dataForm: TKDataForm, groupView: TKEntityPropertyGroupView, groupIndex: number): void;
dataFormValidatePropertyEditor?(dataForm: TKDataForm, property: TKEntityProperty, editor: TKDataFormEditor): boolean;
dataFormViewForHeaderInGroup?(dataForm: TKDataForm, groupIndex: number): TKEntityPropertyGroupTitleView;
dataFormWillCommitProperty?(dataForm: TKDataForm, property: TKEntityProperty): boolean;
inputAccessoryViewForDataForm?(dataForm: TKDataForm): TKDataFormAccessoryView;
}
declare var TKDataFormDelegate: {
prototype: TKDataFormDelegate;
};
declare class TKDataFormEditor extends UIView {
static alloc(): TKDataFormEditor; // inherited from NSObject
static appearance(): TKDataFormEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormEditor; // inherited from UIAppearance
static new(): TKDataFormEditor; // inherited from NSObject
readonly editor: UIView;
enabled: boolean;
readonly feedbackImageView: TKImageView;
readonly feedbackLabel: UILabel;
readonly gridLayout: TKGridLayout;
readonly imageView: TKImageView;
readonly isTextEditor: boolean;
owner: TKDataForm;
property: TKEntityProperty;
readonly selected: boolean;
selectedView: TKView;
readonly style: TKDataFormEditorStyle;
readonly textLabel: TKLabel;
value: any;
constructor(o: { property: TKEntityProperty; });
constructor(o: { property: TKEntityProperty; owner: TKDataForm; });
initWithProperty(property: TKEntityProperty): this;
initWithPropertyOwner(property: TKEntityProperty, owner: TKDataForm): this;
update(): void;
updateControlValue(): void;
}
declare class TKDataFormEditorStyle extends TKStyleNode {
static alloc(): TKDataFormEditorStyle; // inherited from NSObject
static new(): TKDataFormEditorStyle; // inherited from NSObject
accessoryArrowSize: CGSize;
accessoryArrowStroke: TKStroke;
editorOffset: UIOffset;
feedbackImageSize: CGSize;
feedbackImageViewOffset: UIOffset;
feedbackLabelOffset: UIOffset;
fill: TKFill;
imageViewOffset: UIOffset;
imageViewSize: CGSize;
insets: UIEdgeInsets;
separatorColor: TKFill;
separatorLeadingSpace: number;
separatorTrailingSpace: number;
stroke: TKStroke;
textLabelDisplayMode: TKDataFormEditorTextLabelDisplayMode;
textLabelOffset: UIOffset;
}
declare const enum TKDataFormEditorTextLabelDisplayMode {
Show = 0,
Hidden = 1
}
declare class TKDataFormEmailEditor extends TKDataFormTextFieldEditor {
static alloc(): TKDataFormEmailEditor; // inherited from NSObject
static appearance(): TKDataFormEmailEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormEmailEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormEmailEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormEmailEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormEmailEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormEmailEditor; // inherited from UIAppearance
static new(): TKDataFormEmailEditor; // inherited from NSObject
}
declare class TKDataFormEmailValidator extends TKDataFormPropertyValidator {
static alloc(): TKDataFormEmailValidator; // inherited from NSObject
static new(): TKDataFormEmailValidator; // inherited from NSObject
}
declare class TKDataFormEntityDataSource extends TKEntity implements TKDataFormDataSource {
static alloc(): TKDataFormEntityDataSource; // inherited from NSObject
static entityWithObject(sourceObject: NSObject): TKDataFormEntityDataSource; // inherited from TKEntity
static new(): TKDataFormEntityDataSource; // inherited from NSObject
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
dataFormEditorClassForProperty(dataForm: TKDataForm, property: TKEntityProperty): typeof NSObject;
dataFormGroupAtIndex(dataForm: TKDataForm, groupIndex: number): TKEntityPropertyGroup;
dataFormNumberOfPropertiesInGroup(dataForm: TKDataForm, groupIndex: number): number;
dataFormPropertyInGroupAtIndex(dataForm: TKDataForm, groupIndex: number, propertyIndex: number): TKEntityProperty;
dataFormSetValueForProperty(dataForm: TKDataForm, value: any, property: TKEntityProperty): boolean;
dataFormTitleForHeaderInGroup(dataForm: TKDataForm, groupIndex: number): string;
indexOfGroupInDataForm(group: TKEntityPropertyGroup): number;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
numberOfGroupsInDataForm(dataForm: TKDataForm): number;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class TKDataFormGroupTitleStyle extends TKStyleNode {
static alloc(): TKDataFormGroupTitleStyle; // inherited from NSObject
static new(): TKDataFormGroupTitleStyle; // inherited from NSObject
fill: TKFill;
insets: UIEdgeInsets;
separatorColor: TKFill;
separatorLeadingSpace: number;
separatorTrailingSpace: number;
stroke: TKStroke;
}
declare class TKDataFormInlineEditor extends TKDataFormEditor {
static alloc(): TKDataFormInlineEditor; // inherited from NSObject
static appearance(): TKDataFormInlineEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormInlineEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormInlineEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormInlineEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormInlineEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormInlineEditor; // inherited from UIAppearance
static new(): TKDataFormInlineEditor; // inherited from NSObject
readonly accessoryImageView: UIImageView;
displayMode: TKDataFormInlineEditorDisplayMode;
readonly editorValueLabel: TKLabel;
showAccessoryImage: boolean;
}
declare const enum TKDataFormInlineEditorDisplayMode {
Inline = 0,
Modal = 1
}
declare class TKDataFormMaximumLengthValidator extends TKDataFormPropertyValidator {
static alloc(): TKDataFormMaximumLengthValidator; // inherited from NSObject
static new(): TKDataFormMaximumLengthValidator; // inherited from NSObject
maximumLegth: number;
constructor(o: { maximumLength: number; });
initWithMaximumLength(maximumLength: number): this;
}
declare class TKDataFormMinimumLengthValidator extends TKDataFormPropertyValidator {
static alloc(): TKDataFormMinimumLengthValidator; // inherited from NSObject
static new(): TKDataFormMinimumLengthValidator; // inherited from NSObject
minimumLength: number;
constructor(o: { minimumLength: number; });
initWithMinimumLength(minimumLength: number): this;
}
declare class TKDataFormMultilineTextEditor extends TKDataFormEditor implements UITextViewDelegate {
static alloc(): TKDataFormMultilineTextEditor; // inherited from NSObject
static appearance(): TKDataFormMultilineTextEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormMultilineTextEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormMultilineTextEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormMultilineTextEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormMultilineTextEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormMultilineTextEditor; // inherited from UIAppearance
static new(): TKDataFormMultilineTextEditor; // inherited from NSObject
dynamicHeight: boolean;
maxDynamicHeight: number;
readonly textView: UITextView;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
scrollViewDidEndDecelerating(scrollView: UIScrollView): void;
scrollViewDidEndDraggingWillDecelerate(scrollView: UIScrollView, decelerate: boolean): void;
scrollViewDidEndScrollingAnimation(scrollView: UIScrollView): void;
scrollViewDidEndZoomingWithViewAtScale(scrollView: UIScrollView, view: UIView, scale: number): void;
scrollViewDidScroll(scrollView: UIScrollView): void;
scrollViewDidScrollToTop(scrollView: UIScrollView): void;
scrollViewDidZoom(scrollView: UIScrollView): void;
scrollViewShouldScrollToTop(scrollView: UIScrollView): boolean;
scrollViewWillBeginDecelerating(scrollView: UIScrollView): void;
scrollViewWillBeginDragging(scrollView: UIScrollView): void;
scrollViewWillBeginZoomingWithView(scrollView: UIScrollView, view: UIView): void;
scrollViewWillEndDraggingWithVelocityTargetContentOffset(scrollView: UIScrollView, velocity: CGPoint, targetContentOffset: interop.Pointer | interop.Reference): void;
self(): this;
textViewDidBeginEditing(textView: UITextView): void;
textViewDidChange(textView: UITextView): void;
textViewDidChangeSelection(textView: UITextView): void;
textViewDidEndEditing(textView: UITextView): void;
textViewShouldBeginEditing(textView: UITextView): boolean;
textViewShouldChangeTextInRangeReplacementText(textView: UITextView, range: NSRange, text: string): boolean;
textViewShouldEndEditing(textView: UITextView): boolean;
textViewShouldInteractWithTextAttachmentInRange(textView: UITextView, textAttachment: NSTextAttachment, characterRange: NSRange): boolean;
textViewShouldInteractWithTextAttachmentInRangeInteraction(textView: UITextView, textAttachment: NSTextAttachment, characterRange: NSRange, interaction: UITextItemInteraction): boolean;
textViewShouldInteractWithURLInRange(textView: UITextView, URL: NSURL, characterRange: NSRange): boolean;
textViewShouldInteractWithURLInRangeInteraction(textView: UITextView, URL: NSURL, characterRange: NSRange, interaction: UITextItemInteraction): boolean;
viewForZoomingInScrollView(scrollView: UIScrollView): UIView;
}
declare class TKDataFormNamePhoneEditor extends TKDataFormTextFieldEditor {
static alloc(): TKDataFormNamePhoneEditor; // inherited from NSObject
static appearance(): TKDataFormNamePhoneEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormNamePhoneEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormNamePhoneEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormNamePhoneEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormNamePhoneEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormNamePhoneEditor; // inherited from UIAppearance
static new(): TKDataFormNamePhoneEditor; // inherited from NSObject
}
declare class TKDataFormNonEmptyValidator extends TKDataFormPropertyValidator {
static alloc(): TKDataFormNonEmptyValidator; // inherited from NSObject
static new(): TKDataFormNonEmptyValidator; // inherited from NSObject
}
declare class TKDataFormNumberEditor extends TKDataFormTextFieldEditor {
static alloc(): TKDataFormNumberEditor; // inherited from NSObject
static appearance(): TKDataFormNumberEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormNumberEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormNumberEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormNumberEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormNumberEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormNumberEditor; // inherited from UIAppearance
static new(): TKDataFormNumberEditor; // inherited from NSObject
formatter: NSNumberFormatter;
}
declare class TKDataFormOptionsEditor extends TKDataFormViewControllerEditor {
static alloc(): TKDataFormOptionsEditor; // inherited from NSObject
static appearance(): TKDataFormOptionsEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormOptionsEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormOptionsEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormOptionsEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormOptionsEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormOptionsEditor; // inherited from UIAppearance
static new(): TKDataFormOptionsEditor; // inherited from NSObject
readonly accessoryImageView: UIImageView;
options: NSArray;
selectedIndex: number;
readonly selectedOptionLabel: TKLabel;
showAccessoryImage: boolean;
}
declare class TKDataFormOptionsViewController extends UITableViewController {
static alloc(): TKDataFormOptionsViewController; // inherited from NSObject
static new(): TKDataFormOptionsViewController; // inherited from NSObject
editor: TKDataFormOptionsEditor;
items: NSArray;
}
declare class TKDataFormPasswordEditor extends TKDataFormTextFieldEditor {
static alloc(): TKDataFormPasswordEditor; // inherited from NSObject
static appearance(): TKDataFormPasswordEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormPasswordEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormPasswordEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormPasswordEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormPasswordEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormPasswordEditor; // inherited from UIAppearance
static new(): TKDataFormPasswordEditor; // inherited from NSObject
}
declare class TKDataFormPhoneEditor extends TKDataFormTextFieldEditor {
static alloc(): TKDataFormPhoneEditor; // inherited from NSObject
static appearance(): TKDataFormPhoneEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormPhoneEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormPhoneEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormPhoneEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormPhoneEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormPhoneEditor; // inherited from UIAppearance
static new(): TKDataFormPhoneEditor; // inherited from NSObject
}
declare class TKDataFormPhoneValidator extends TKDataFormPropertyValidator {
static alloc(): TKDataFormPhoneValidator; // inherited from NSObject
static new(): TKDataFormPhoneValidator; // inherited from NSObject
}
declare class TKDataFormPickerViewEditor extends TKDataFormInlineEditor {
static alloc(): TKDataFormPickerViewEditor; // inherited from NSObject
static appearance(): TKDataFormPickerViewEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormPickerViewEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormPickerViewEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormPickerViewEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormPickerViewEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormPickerViewEditor; // inherited from UIAppearance
static new(): TKDataFormPickerViewEditor; // inherited from NSObject
options: NSArray;
readonly pickerView: UIPickerView;
selectedIndex: number;
}
declare class TKDataFormPropertyValidator extends NSObject implements TKDataFormValidator {
static alloc(): TKDataFormPropertyValidator; // inherited from NSObject
static new(): TKDataFormPropertyValidator; // inherited from NSObject
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
errorMessage: string; // inherited from TKDataFormValidator
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
positiveMessage: string; // inherited from TKDataFormValidator
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
validateProperty(property: TKEntityProperty): boolean;
}
declare class TKDataFormRangeValidator extends TKDataFormPropertyValidator {
static alloc(): TKDataFormRangeValidator; // inherited from NSObject
static new(): TKDataFormRangeValidator; // inherited from NSObject
range: TKRange;
constructor(o: { range: TKRange; });
initWithRange(range: TKRange): this;
}
declare class TKDataFormSegmentedEditor extends TKDataFormEditor {
static alloc(): TKDataFormSegmentedEditor; // inherited from NSObject
static appearance(): TKDataFormSegmentedEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormSegmentedEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormSegmentedEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormSegmentedEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormSegmentedEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormSegmentedEditor; // inherited from UIAppearance
static new(): TKDataFormSegmentedEditor; // inherited from NSObject
options: NSArray;
readonly segmentedControl: UISegmentedControl;
selectedIndex: number;
}
declare class TKDataFormSliderEditor extends TKDataFormEditor {
static alloc(): TKDataFormSliderEditor; // inherited from NSObject
static appearance(): TKDataFormSliderEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormSliderEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormSliderEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormSliderEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormSliderEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormSliderEditor; // inherited from UIAppearance
static new(): TKDataFormSliderEditor; // inherited from NSObject
readonly sliderView: UISlider;
stepValue: number;
}
declare class TKDataFormStepperEditor extends TKDataFormEditor {
static alloc(): TKDataFormStepperEditor; // inherited from NSObject
static appearance(): TKDataFormStepperEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormStepperEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormStepperEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormStepperEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormStepperEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormStepperEditor; // inherited from UIAppearance
static new(): TKDataFormStepperEditor; // inherited from NSObject
formatter: NSNumberFormatter;
readonly stepperView: UIStepper;
readonly valueLabel: UILabel;
}
declare class TKDataFormStringToDateConverter extends NSObject implements TKDataFormConverter {
static alloc(): TKDataFormStringToDateConverter; // inherited from NSObject
static new(): TKDataFormStringToDateConverter; // inherited from NSObject
format: string;
locale: NSLocale;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
convertFrom(source: any): any;
convertTo(source: any): any;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class TKDataFormStringToTimeConverter extends NSObject implements TKDataFormConverter {
static alloc(): TKDataFormStringToTimeConverter; // inherited from NSObject
static new(): TKDataFormStringToTimeConverter; // inherited from NSObject
format: string;
locale: NSLocale;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
convertFrom(source: any): any;
convertTo(source: any): any;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class TKDataFormSwitchEditor extends TKDataFormEditor {
static alloc(): TKDataFormSwitchEditor; // inherited from NSObject
static appearance(): TKDataFormSwitchEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormSwitchEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormSwitchEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormSwitchEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormSwitchEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormSwitchEditor; // inherited from UIAppearance
static new(): TKDataFormSwitchEditor; // inherited from NSObject
readonly switchView: UISwitch;
}
declare class TKDataFormTextFieldEditor extends TKDataFormEditor implements UITextFieldDelegate {
static alloc(): TKDataFormTextFieldEditor; // inherited from NSObject
static appearance(): TKDataFormTextFieldEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormTextFieldEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormTextFieldEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormTextFieldEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormTextFieldEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormTextFieldEditor; // inherited from UIAppearance
static new(): TKDataFormTextFieldEditor; // inherited from NSObject
readonly textField: TKTextField;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
textFieldDidBeginEditing(textField: UITextField): void;
textFieldDidEndEditing(textField: UITextField): void;
textFieldDidEndEditingReason(textField: UITextField, reason: UITextFieldDidEndEditingReason): void;
textFieldShouldBeginEditing(textField: UITextField): boolean;
textFieldShouldChangeCharactersInRangeReplacementString(textField: UITextField, range: NSRange, string: string): boolean;
textFieldShouldClear(textField: UITextField): boolean;
textFieldShouldEndEditing(textField: UITextField): boolean;
textFieldShouldReturn(textField: UITextField): boolean;
}
declare class TKDataFormTimePickerEditor extends TKDataFormDatePickerEditor {
static alloc(): TKDataFormTimePickerEditor; // inherited from NSObject
static appearance(): TKDataFormTimePickerEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormTimePickerEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormTimePickerEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormTimePickerEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormTimePickerEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormTimePickerEditor; // inherited from UIAppearance
static new(): TKDataFormTimePickerEditor; // inherited from NSObject
}
declare const enum TKDataFormValidationMode {
Immediate = 0,
OnLostFocus = 1,
Manual = 2
}
interface TKDataFormValidator extends NSObjectProtocol {
errorMessage: string;
positiveMessage: string;
validateProperty(property: TKEntityProperty): boolean;
}
declare var TKDataFormValidator: {
prototype: TKDataFormValidator;
};
declare class TKDataFormViewController extends UIViewController implements TKDataFormDataSource, TKDataFormDelegate {
static alloc(): TKDataFormViewController; // inherited from NSObject
static new(): TKDataFormViewController; // inherited from NSObject
readonly dataForm: TKDataForm;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
class(): typeof NSObject;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
dataFormCreateEditorForProperty(dataForm: TKDataForm, property: TKEntityProperty): TKDataFormEditor;
dataFormDidCollapseGroupView(dataForm: TKDataForm, groupView: TKEntityPropertyGroupView): void;
dataFormDidCommitProperty(dataForm: TKDataForm, property: TKEntityProperty): void;
dataFormDidDeselectEditorForProperty(dataForm: TKDataForm, editor: TKDataFormEditor, property: TKEntityProperty): void;
dataFormDidEditProperty(dataForm: TKDataForm, property: TKEntityProperty): void;
dataFormDidExpandGroupView(dataForm: TKDataForm, groupView: TKEntityPropertyGroupView): void;
dataFormDidFinishEditorIntitialization(dataForm: TKDataForm): void;
dataFormDidSelectEditorForProperty(dataForm: TKDataForm, editor: TKDataFormEditor, property: TKEntityProperty): void;
dataFormDidValidatePropertyEditor(dataForm: TKDataForm, property: TKEntityProperty, editor: TKDataFormEditor): void;
dataFormEditorClassForProperty(dataForm: TKDataForm, property: TKEntityProperty): typeof NSObject;
dataFormGroupAtIndex(dataForm: TKDataForm, groupIndex: number): TKEntityPropertyGroup;
dataFormHeightForEditorInGroupAtIndex(dataForm: TKDataForm, groupIndex: number, editorIndex: number): number;
dataFormHeightForHeaderInGroup(dataForm: TKDataForm, groupIndex: number): number;
dataFormInitViewControllerForEditor(dataForm: TKDataForm, viewController: UIViewController, editor: TKDataFormViewControllerEditor): void;
dataFormNumberOfPropertiesInGroup(dataForm: TKDataForm, groupIndex: number): number;
dataFormPropertyInGroupAtIndex(dataForm: TKDataForm, groupIndex: number, propertyIndex: number): TKEntityProperty;
dataFormSetValueForProperty(dataForm: TKDataForm, value: any, property: TKEntityProperty): boolean;
dataFormSetupEditorForProperty(dataForm: TKDataForm, editor: TKDataFormEditor, property: TKEntityProperty): void;
dataFormTitleForHeaderInGroup(dataForm: TKDataForm, groupIndex: number): string;
dataFormUpdateEditorForProperty(dataForm: TKDataForm, editor: TKDataFormEditor, property: TKEntityProperty): void;
dataFormUpdateGroupViewForGroupAtIndex(dataForm: TKDataForm, groupView: TKEntityPropertyGroupView, groupIndex: number): void;
dataFormValidatePropertyEditor(dataForm: TKDataForm, property: TKEntityProperty, editor: TKDataFormEditor): boolean;
dataFormViewForHeaderInGroup(dataForm: TKDataForm, groupIndex: number): TKEntityPropertyGroupTitleView;
dataFormWillCommitProperty(dataForm: TKDataForm, property: TKEntityProperty): boolean;
indexOfGroupInDataForm(group: TKEntityPropertyGroup): number;
inputAccessoryViewForDataForm(dataForm: TKDataForm): TKDataFormAccessoryView;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
numberOfGroupsInDataForm(dataForm: TKDataForm): number;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
self(): this;
}
declare class TKDataFormViewControllerEditor extends TKDataFormEditor {
static alloc(): TKDataFormViewControllerEditor; // inherited from NSObject
static appearance(): TKDataFormViewControllerEditor; // inherited from UIAppearance
static appearanceForTraitCollection(trait: UITraitCollection): TKDataFormViewControllerEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): TKDataFormViewControllerEditor; // inherited from UIAppearance
static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray): TKDataFormViewControllerEditor; // inherited from UIAppearance
static appearanceWhenContainedIn(ContainerClass: typeof NSObject): TKDataFormViewControllerEditor; // inherited from UIAppearance
static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray): TKDataFormViewControllerEditor; // inherited from UIAppearance
static new(): TKDataFormViewControllerEditor; // inherited from NSObject
createViewController(): UIViewController;
presentViewController(): void;
}
declare class TKDataSource extends NSObject implements NSURLConnectionDataDelegate, NSURLConnectionDelegate, TKAutoCompleteDataSource, TKCalendarDataSource, TKCalendarDelegate, TKChartDataSource, TKChartDelegate, TKListViewDataSource, TKListViewDelegate, UICollectionViewDataSource, UICollectionViewDelegate, UITableViewDataSource, UITableViewDelegate {
static alloc(): TKDataSource; // inherited from NSObject
static new(): TKDataSource; // inherited from NSObject
allowItemsReorder: boolean;
currentItem: any;
displayKey: string;
readonly filterDescriptors: NSArray;
formatter: NSFormatter;
readonly groupDescriptors: NSArray;
groupItemSourceKey: string;
itemSource: any;
readonly items: NSArray;
mapClass: typeof NSObject;
mapCollectionsRecursively: boolean;
propertyMap: NSDictionary;
readonly settings: TKDataSourceSettings;
readonly sortDescriptors: NSArray;
valueKey: string;
readonly debugDescription: string; // inherited from NSObjectProtocol
readonly description: string; // inherited from NSObjectProtocol
readonly hash: number; // inherited from NSObjectProtocol
readonly isProxy: boolean; // inherited from NSObjectProtocol
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
readonly // inherited from NSObjectProtocol
constructor(o: { array: NSArray; });
constructor(o: { array: NSArray; displayKey: string; });
constructor(o: { array: NSArray; displayKey: string; valueKey: string; });
constructor(o: { dataFromJSONResource: string; ofType: string; rootItemKeyPath: string; });
constructor(o: { dataFromURL: string; dataFormat: TKDataSourceDataFormat; rootItemKeyPath: string; completion: (p1: NSError) => void; });
constructor(o: { itemSource: any; });
constructor(o: { JSONString: string; });
addFilterDescriptor(filterDescriptor: TKDataSourceFilterDescriptor): void;
addGroupDescriptor(groupDescriptor: TKDataSourceGroupDescriptor): void;
addSortDescriptor(sortDescriptor: TKDataSourceSortDescriptor): void;
autoCompleteCompletionForPrefix(autocomplete: TKAutoCompleteTextView, prefix: string): NSArray;
autoCompleteCompletionsForString(autocomplete: TKAutoCompleteTextView, input: string): void;
calendarDidChangedViewModeFromTo(calendar: TKCalendar, previousViewMode: TKCalendarViewMode, viewMode: TKCalendarViewMode): void;
calendarDidDeselectedDate(calendar: TKCalendar, date: Date): void;
calendarDidNavigateToDate(calendar: TKCalendar, date: Date): void;
calendarDidSelectDate(calendar: TKCalendar, date: Date): void;
calendarDidTapCell(calendar: TKCalendar, cell: TKCalendarDayCell): void;
calendarEventsForDate(calendar: TKCalendar, date: Date): NSArray;
calendarEventsFromDateToDateWithCallback(calendar: TKCalendar, startDate: Date, endDate: Date, eventsCallback: (p1: NSArray) => void): void;
calendarShapeForEvent(calendar: TKCalendar, event: TKCalendarEventProtocol): TKShape;
calendarShouldSelectDate(calendar: TKCalendar, date: Date): boolean;
calendarTextForEvent(calendar: TKCalendar, event: TKCalendarEventProtocol): string;
calendarUpdateVisualsForCell(calendar: TKCalendar, cell: TKCalendarCell): void;
calendarViewForCellOfKind(calendar: TKCalendar, cellType: TKCalendarCellType): TKCalendarCell;
calendarWillNavigateToDate(calendar: TKCalendar, date: Date): void;
chartAnimationForSeriesWithStateInRect(chart: TKChart, series: TKChartSeries, state: TKChartSeriesRenderState, rect: CGRect): CAAnimation;
chartAttributedTextForAxisValueAtIndex(chart: TKChart, axis: TKChartAxis, value: any, index: number): NSAttributedString;
chartDataPointAtIndexForSeriesAtIndex(chart: TKChart, dataIndex: number, seriesIndex: number): TKChartData;
chartDataPointsForSeriesAtIndex(chart: TKChart, seriesIndex: number): NSArray;
chartDidDeselectPointInSeriesAtIndex(chart: TKChart, point: TKChartData, series: TKChartSeries, index: number): void;
chartDidDeselectSeries(chart: TKChart, series: TKChartSeries): void;
chartDidPan(chart: TKChart): void;
chartDidSelectPointInSeriesAtIndex(chart: TKChart, point: TKChartData, series: TKChartSeries, index: number): void;
chartDidSelectSeries(chart: TKChart, series: TKChartSeries): void;
chartDidTapOnLegendItem(chart: TKChart, legendItem: TKChartLegendItem): void;
chartDidZoom(chart: TKChart): void;
chartLabelForDataPointPropertyInSeriesAtIndex(chart: TKChart, dataPoint: TKChartData, propertyName: string, series: TKChartSeries, dataIndex: number): TKChartPointLabel;
chartLegendItemForSeriesAtIndex(chart: TKChart, series: TKChartSeries, index: number): TKChartLegendItem;
chartNumberOfDataPointsForSeriesAtIndex(chart: TKChart, seriesIndex: number): number;
chartPaletteItemForPointInSeries(chart: TKChart, index: number, series: TKChartSeries): TKChartPaletteItem;
chartPaletteItemForSeriesAtIndex(chart: TKChart, series: TKChartSeries, index: number): TKChartPaletteItem;
chartPointLabelRenderForSeriesWithRender(chart: TKChart, series: TKChartSeries, render: TKChartSeriesRender): TKChartPointLabelRender;
chartShapeForSeriesAtIndex(chart: TKChart, series: TKChartSeries, index: number): TKShape;
chartTextForAxisValueAtIndex(chart: TKChart, axis: TKChartAxis, value: any, index: number): string;
chartTextForLabelAtPointPropertyInSeriesAtIndex(chart: TKChart, dataPoint: TKChartData, propertyName: string, series: TKChartSeries, dataIndex: number): string;
chartTrackballDidHideSelection(chart: TKChart, selection: NSArray): void;
chartTrackballDidTrackSelection(chart: TKChart, selection: NSArray): void;
chartUpdateLegendItemForSeriesAtIndex(chart: TKChart, item: TKChartLegendItem, series: TKChartSeries, index: number): void;
chartWillPan(chart: TKChart): void;
chartWillZoom(chart: TKChart): void;
class(): typeof NSObject;
collectionViewCanFocusItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
collectionViewCanMoveItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
collectionViewCanPerformActionForItemAtIndexPathWithSender(collectionView: UICollectionView, action: string, indexPath: NSIndexPath, sender: any): boolean;
collectionViewCellForItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): UICollectionViewCell;
collectionViewDidDeselectItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): void;
collectionViewDidEndDisplayingCellForItemAtIndexPath(collectionView: UICollectionView, cell: UICollectionViewCell, indexPath: NSIndexPath): void;
collectionViewDidEndDisplayingSupplementaryViewForElementOfKindAtIndexPath(collectionView: UICollectionView, view: UICollectionReusableView, elementKind: string, indexPath: NSIndexPath): void;
collectionViewDidHighlightItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): void;
collectionViewDidSelectItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): void;
collectionViewDidUnhighlightItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): void;
collectionViewDidUpdateFocusInContextWithAnimationCoordinator(collectionView: UICollectionView, context: UICollectionViewFocusUpdateContext, coordinator: UIFocusAnimationCoordinator): void;
collectionViewIndexPathForIndexTitleAtIndex(collectionView: UICollectionView, title: string, index: number): NSIndexPath;
collectionViewMoveItemAtIndexPathToIndexPath(collectionView: UICollectionView, sourceIndexPath: NSIndexPath, destinationIndexPath: NSIndexPath): void;
collectionViewNumberOfItemsInSection(collectionView: UICollectionView, section: number): number;
collectionViewPerformActionForItemAtIndexPathWithSender(collectionView: UICollectionView, action: string, indexPath: NSIndexPath, sender: any): void;
collectionViewShouldDeselectItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
collectionViewShouldHighlightItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
collectionViewShouldSelectItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
collectionViewShouldShowMenuForItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
collectionViewShouldUpdateFocusInContext(collectionView: UICollectionView, context: UICollectionViewFocusUpdateContext): boolean;
collectionViewTargetContentOffsetForProposedContentOffset(collectionView: UICollectionView, proposedContentOffset: CGPoint): CGPoint;
collectionViewTargetIndexPathForMoveFromItemAtIndexPathToProposedIndexPath(collectionView: UICollectionView, originalIndexPath: NSIndexPath, proposedIndexPath: NSIndexPath): NSIndexPath;
collectionViewTransitionLayoutForOldLayoutNewLayout(collectionView: UICollectionView, fromLayout: UICollectionViewLayout, toLayout: UICollectionViewLayout): UICollectionViewTransitionLayout;
collectionViewViewForSupplementaryElementOfKindAtIndexPath(collectionView: UICollectionView, kind: string, indexPath: NSIndexPath): UICollectionReusableView;
collectionViewWillDisplayCellForItemAtIndexPath(collectionView: UICollectionView, cell: UICollectionViewCell, indexPath: NSIndexPath): void;
collectionViewWillDisplaySupplementaryViewForElementKindAtIndexPath(collectionView: UICollectionView, view: UICollectionReusableView, elementKind: string, indexPath: NSIndexPath): void;
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
connectionCanAuthenticateAgainstProtectionSpace(connection: NSURLConnection, protectionSpace: NSURLProtectionSpace): boolean;
connectionDidCancelAuthenticationChallenge(connection: NSURLConnection, challenge: NSURLAuthenticationChallenge): void;
connectionDidFailWithError(connection: NSURLConnection, error: NSError): void;
connectionDidFinishLoading(connection: NSURLConnection): void;
connectionDidReceiveAuthenticationChallenge(connection: NSURLConnection, challenge: NSURLAuthenticationChallenge): void;
connectionDidReceiveData(connection: NSURLConnection, data: NSData): void;
connectionDidReceiveResponse(connection: NSURLConnection, response: NSURLResponse): void;
connectionDidSendBodyDataTotalBytesWrittenTotalBytesExpectedToWrite(connection: NSURLConnection, bytesWritten: number, totalBytesWritten: number, totalBytesExpectedToWrite: number): void;
connectionNeedNewBodyStream(connection: NSURLConnection, request: NSURLRequest): NSInputStream;
connectionShouldUseCredentialStorage(connection: NSURLConnection): boolean;
connectionWillCacheResponse(connection: NSURLConnection, cachedResponse: NSCachedURLResponse): NSCachedURLResponse;
connectionWillSendRequestForAuthenticationChallenge(connection: NSURLConnection, challenge: NSURLAuthenticationChallenge): void;
connectionWillSendRequestRedirectResponse(connection: NSURLConnection, request: NSURLRequest, response: NSURLResponse): NSURLRequest;
enumerate(enumeratorBlock: (p1: any) => void): void;
filter(filterBlock: (p1: any) => boolean): void;
filterWithQuery(filterQuery: string): void;
formatText(formatTextBlock: (p1: any, p2: TKDataSourceGroup) => string): void;
group(keyForItem: (p1: any) => any): void;
groupComparator(keyForItem: (p1: any) => any, comparatorBlock: (p1: any, p2: any) => NSComparisonResult): void;
groupWithKey(propertyName: string): void;
groupWithKeyComparator(propertyName: string, comparatorBlock: (p1: any, p2: any) => NSComparisonResult): void;
indexPathForPreferredFocusedViewInCollectionView(collectionView: UICollectionView): NSIndexPath;
indexPathForPreferredFocusedViewInTableView(tableView: UITableView): NSIndexPath;
indexTitlesForCollectionView(collectionView: UICollectionView): NSArray;
initWithArray(items: NSArray): this;
initWithArrayDisplayKey(items: NSArray, displayKey: string): this;
initWithArrayDisplayKeyValueKey(items: NSArray, displayKey: string, valueKey: string): this;
initWithDataFromJSONResourceOfTypeRootItemKeyPath(name: string, type: string, rootItemKeyPath: string): this;
initWithDataFromURLDataFormatRootItemKeyPathCompletion(url: string, dataFormat: TKDataSourceDataFormat, rootItemKeyPath: string, completion: (p1: NSError) => void): this;
initWithItemSource(itemSource: any): this;
initWithJSONString(str: string): this;
isEqual(object: any): boolean;
isKindOfClass(aClass: typeof NSObject): boolean;
isMemberOfClass(aClass: typeof NSObject): boolean;
listViewCellForItemAtIndexPath(listView: TKListView, indexPath: NSIndexPath): TKListViewCell;
listViewDidDeselectItemAtIndexPath(listView: TKListView, indexPath: NSIndexPath): void;
listViewDidFinishSwipeCellAtIndexPathWithOffset(listView: TKListView, cell: TKListViewCell, indexPath: NSIndexPath, offset: CGPoint): void;
listViewDidHighlightItemAtIndexPath(listView: TKListView, indexPath: NSIndexPath): void;
listViewDidLongPressCellAtIndexPath(listView: TKListView, cell: TKListViewCell, indexPath: NSIndexPath): void;
listViewDidPullWithOffset(listView: TKListView, offset: number): void;
listViewDidReorderItemFromIndexPathToIndexPath(listView: TKListView, originalIndexPath: NSIndexPath, targetIndexPath: NSIndexPath): void;
listViewDidSelectItemAtIndexPath(listView: TKListView, indexPath: NSIndexPath): void;
listViewDidSwipeCellAtIndexPathWithOffset(listView: TKListView, cell: TKListViewCell, indexPath: NSIndexPath, offset: CGPoint): void;
listViewDidUnhighlightItemAtIndexPath(listView: TKListView, indexPath: NSIndexPath): void;
listViewNumberOfItemsInSection(listView: TKListView, section: number): number;
listViewShouldDeselectItemAtIndexPath(listView: TKListView, indexPath: NSIndexPath): boolean;
listViewShouldHighlightItemAtIndexPath(listView: TKListView, indexPath: NSIndexPath): boolean;
listViewShouldLoadMoreDataAtIndexPath(listView: TKListView, indexPath: NSIndexPath): boolean;
listViewShouldRefreshOnPull(listView: TKListView): boolean;
listViewShouldSelectItemAtIndexPath(listView: TKListView, indexPath: NSIndexPath): boolean;
listViewShouldSwipeCellAtIndexPath(listView: TKListView, cell: TKListViewCell, indexPath: NSIndexPath): boolean;
listViewViewForSupplementaryElementOfKindAtIndexPath(listView: TKListView, kind: string, indexPath: NSIndexPath): TKListViewReusableCell;
listViewWillReorderItemAtIndexPath(listView: TKListView, indexPath: NSIndexPath): void;
loadDataFromJSONResourceOfTypeRootItemKeyPath(name: string, type: string, rootItemKeyPath: string): void;
loadDataFromJSONStringRootItemKeyPath(string: string, rootItemKeyPath: string): void;
loadDataFromURLDataFormatRootItemKeyPathCompletion(url: string, dataFormat: TKDataSourceDataFormat, rootItemKeyPath: string, completion: (p1: NSError) => void): void;
map(mapBlock: (p1: any) => any): void;
moveItemAtIndexToIndex(fromIndex: number, toIndex: number): void;
numberOfSectionsInCollectionView(collectionView: UICollectionView): number;
numberOfSectionsInListView(listView: TKListView): number;
numberOfSectionsInTableView(tableView: UITableView): number;
numberOfSeriesForChart(chart: TKChart): number;
performSelector(aSelector: string): any;
performSelectorWithObject(aSelector: string, object: any): any;
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
reduceWith(initialValue: any, reduceBlock: (p1: any, p2: any) => any): any;
reloadData(): void;
removeAllFilterDescriptors(): void;
removeAllGroupDescriptors(): void;
removeAllSortDescriptors(): void;
removeFilterDescriptor(filterDescriptor: TKDataSourceFilterDescriptor): void;
removeGroupDescriptor(groupDescriptor: TKDataSourceGroupDescriptor): void;
removeSortDescriptor(sortDescriptor: TKDataSourceSortDescriptor): void;
respondsToSelector(aSelector: string): boolean;
retainCount(): number;
scrollViewDidEndDecelerating(scrollView: UIScrollView): void;
scrollViewDidEndDraggingWillDecelerate(scrollView: UIScrollView, decelerate: boolean): void;
scrollViewDidEndScrollingAnimation(scrollView: UIScrollView): void;
scrollViewDidEndZoomingWithViewAtScale(scrollView: UIScrollView, view: UIView, scale: number): void;
scrollViewDidScroll(scrollView: UIScrollView): void;
scrollViewDidScrollToTop(scrollView: UIScrollView): void;
scrollViewDidZoom(scrollView: UIScrollView): void;
scrollViewShouldScrollToTop(scrollView: UIScrollView): boolean;
scrollViewWillBeginDecelerating(scrollView: UIScrollView): void;
scrollViewWillBeginDragging(scrollView: UIScrollView): void;
scrollViewWillBeginZoomingWithView(scrollView: UIScrollView, view: UIView): void;
scrollViewWillEndDraggingWithVelocityTargetContentOffset(scrollView: UIScrollView, velocity: CGPoint, targetContentOffset: interop.Pointer | interop.Reference): void;
sectionIndexTitlesForTableView(tableView: UITableView): NSArray;
self(): this;
seriesForChartAtIndex(chart: TKChart, index: number): TKChartSeries;
sort(comparatorBlock: (p1: any, p2: any) => NSComparisonResult): void;
sortWithKeyAscending(propertyName: string, ascending: boolean): void;
tableViewAccessoryButtonTappedForRowWithIndexPath(tableView: UITableView, indexPath: NSIndexPath): void;
tableViewAccessoryTypeForRowWithIndexPath(tableView: UITableView, indexPath: NSIndexPath): UITableViewCellAccessoryType;
tableViewCanEditRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): boolean;
tableViewCanFocusRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): boolean;
tableViewCanMoveRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): boolean;
tableViewCanPerformActionForRowAtIndexPathWithSender(tableView: UITableView, action: string, indexPath: NSIndexPath, sender: any): boolean;
tableViewCellForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): UITableViewCell;
tableViewCommitEditingStyleForRowAtIndexPath(tableView: UITableView, editingStyle: UITableViewCellEditingStyle, indexPath: NSIndexPath): void;
tableViewDidDeselectRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): void;
tableViewDidEndDisplayingCellForRowAtIndexPath(tableView: UITableView, cell: UITableViewCell, indexPath: NSIndexPath): void;
tableViewDidEndDisplayingFooterViewForSection(tableView: UITableView, view: UIView, section: number): void;
tableViewDidEndDisplayingHeaderViewForSection(tableView: UITableView, view: UIView, section: number): void;
tableViewDidEndEditingRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): void;
tableViewDidHighlightRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): void;
tableViewDidSelectRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): void;
tableViewDidUnhighlightRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): void;
tableViewDidUpdateFocusInContextWithAnimationCoordinator(tableView: UITableView, context: UITableViewFocusUpdateContext, coordinator: UIFocusAnimationCoordinator): void;
tableViewEditActionsForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): NSArray;
tableViewEditingStyleForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): UITableViewCellEditingStyle;
tableViewEstimatedHeightForFooterInSection(tableView: UITableView, section: number): number;
tableViewEstimatedHeightForHeaderInSection(tableView: UITableView, section: number): number;
tableViewEstimatedHeightForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): number;
tableViewHeightForFooterInSection(tableView: UITableView, section: number): number;
tableViewHeightForHeaderInSection(tableView: UITableView, section: number): number;
tableViewHeightForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): number;
tableViewIndentationLevelForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): number;
tableViewMoveRowAtIndexPathToIndexPath(tableView: UITableView, sourceIndexPath: NSIndexPath, destinationIndexPath: NSIndexPath): void;
tableViewNumberOfRowsInSection(tableView: UITableView, section: number): number;
tableViewPerformActionForRowAtIndexPathWithSender(tableView: UITableView, action: string, indexPath: NSIndexPath, sender: any): void;
tableViewSectionForSectionIndexTitleAtIndex(tableView: UITableView, title: string, index: number): number;
tableViewShouldHighlightRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): boolean;
tableViewShouldIndentWhileEditingRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): boolean;
tableViewShouldShowMenuForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): boolean;
tableViewShouldUpdateFocusInContext(tableView: UITableView, context: UITableViewFocusUpdateContext): boolean;
tableViewTargetIndexPathForMoveFromRowAtIndexPathToProposedIndexPath(tableView: UITableView, sourceIndexPath: NSIndexPath, proposedDestinationIndexPath: NSIndexPath): NSIndexPath;
tableViewTitleForDeleteConfirmationButtonForRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): string;
tableViewTitleForFooterInSection(tableView: UITableView, section: number): string;
tableViewTitleForHeaderInSection(tableView: UITableView, section: number): string;
tableViewViewForFooterInSection(tableView: UITableView, section: number): UIView;
tableViewViewForHeaderInSection(tableView: UITableView, section: number): UIView;
tableViewWillBeginEditingRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): void;
tableViewWillDeselectRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): NSIndexPath;
tableViewWillDisplayCellForRowAtIndexPath(tableView: UITableView, cell: UITableViewCell, indexPath: NSIndexPath): void;
tableViewWillDisplayFooterViewForSection(tableView: UITableView, view: UIView, section: number): void;
tableViewWillDisplayHeaderViewForSection(tableView: UITableView, view: UIView, section: number): void;
tableViewWillSelectRowAtIndexPath(tableView: UITableView, indexPath: NSIndexPath): NSIndexPath;
textFromItemInGroup(item: any, group: TKDataSourceGroup): string;
valueForItemInGroup(item: any, group: TKDataSourceGroup): any;
viewForZoomingInScrollView(scrollView: UIScrollView): UIView;
}
declare class TKDataSourceAutoCompleteSettings extends NSObject {
static alloc(): TKDataSourceAutoCompleteSettings; // inherited from NSObject
static new(): TKDataSourceAutoCompleteSettings; // inherited from NSObject
completionMode: TKAutoCompleteCompletionMode;
highlightColor: UIColor;
highlightMatch: boolean;
valueKey: string;
createToken(createToken: (p1: number, p2: any) => TKAutoCompleteToken): void;
}
declare class TKDataSourceCalendarSettings extends NSObject {
static alloc(): TKDataSourceCalendarSettings; // inherited from NSObject
static new(): TKDataSourceCalendarSettings; // inherited from NSObject
defaultEventColor: UIColor;
endDateKey: string;
eventColorKey: string;
startDateKey: string;
}
declare class TKDataSourceChartSettings extends NSObject {
static alloc(): TKDataSourceChartSettings; // inherited from NSObject
static new(): TKDataSourceChartSettings; // inherited from NSObject
createPoint(createPoint: (p1: number, p2: number, p3: any) => TKChartData): void;
createSeries(createSeries: (p1: TKDataSourceGroup) => TKChartSeries): void;
}
declare class TKDataSourceCollectionViewSettings extends NSObject {
static alloc(): TKDataSourceCollectionViewSettings; // inherited from NSObject
static new(): TKDataSourceCollectionViewSettings; // inherited from NSObject
createCell(cellIdForItem: (p1: UICollectionView, p2: NSIndexPath, p3: any) => UICollectionViewCell): void;
initCell(initCellWithItem: (p1: UICollectionView, p2: NSIndexPath, p3: UICollectionViewCell, p4: any) => void): void;
}
declare const enum TKDataSourceDataFormat {
JSON = 0
}
declare class TKDataSourceFilterDescriptor extends NSObject {
static alloc(): TKDataSourceFilterDescriptor; // inherited from NSObject
static new(): TKDataSourceFilterDescriptor; // inherited from NSObject
readonly filterBlock: (p1: any) => boolean;
readonly query: string;
constructor(o: { block: (p1: any) => boolean; });
constructor(o: { query: string; });
evaluate(item: any): boolean;
initWithBlock(filterBlock: (p1: any) => boolean): this;
initWithQuery(query: string): this;
}
declare class TKDataSourceGroup extends NSObject {
static alloc(): TKDataSourceGroup; // inherited from NSObject
static new(): TKDataSourceGroup; // inherited from NSObject
displayKey: string;
items: NSArray;
key: any;
valueKey: string;
constructor(o: { items: NSArray; });
constructor(o: { items: NSArray; valueKey: string; });
constructor(o: { items: NSArray