Skip to content

Commit 4228482

Browse files
docs: initial content for Subclassing index (#26)
Co-authored-by: Nathan Walker <[email protected]>
1 parent 22ce097 commit 4228482

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

content/guide/subclassing/index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Extending native classes and implementing interfaces in NativeScript
3+
---
4+
5+
In NativeScript, you can extend native classes and implement interfaces for Android, and conform to iOS protocols.
6+
7+
See the following articles for examples:
8+
- [Extending Kotlin/Java classes in NativeScript](/guide/subclassing/extending-classes-and-implementing-interfaces-android#extending-javakotlin-classes-in-nativescript)
9+
- [Implementing Kotlin/Java interfaces in NativeScript](/guide/subclassing/extending-classes-and-implementing-interfaces-android#implementing-java-kotlin-interfaces-in-nativescript)
10+
- [Extending Objective-C/Swift classes in NativeScript](/guide/subclassing/extending-classes-and-conforming-protocols-ios.md#extending-ios-classes-in-nativescript)
11+
- [Conforming to Objective-C/Swift protocols in NativeScript](/guide/subclassing/extending-classes-and-conforming-protocols-ios.md#conforming-to-objective-c-swift-protocols-in-nativescript)
12+
13+

content/sidebar.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ export default [
228228
text: 'Data Binding',
229229
link: '/guide/data-binding',
230230
},
231+
{
232+
text: 'Extending Native Classes',
233+
link: '/guide/subclassing'
234+
},
231235
{
232236
text: 'Multithreading',
233237
link: '/guide/multithreading',

0 commit comments

Comments
 (0)