From 538c7e171aefa0cc40ca2c5eabd1376d7cd99f8b Mon Sep 17 00:00:00 2001 From: Ombuweb Date: Sun, 20 Nov 2022 19:39:05 +0100 Subject: [PATCH 1/3] docs: initial content for Marshalling index --- content/guide/marshalling/index.md | 12 ++++++++++++ content/sidebar.ts | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 content/guide/marshalling/index.md diff --git a/content/guide/marshalling/index.md b/content/guide/marshalling/index.md new file mode 100644 index 00000000..e452e224 --- /dev/null +++ b/content/guide/marshalling/index.md @@ -0,0 +1,12 @@ +--- +title: Marshalling in NativeScript +--- + +Marshalling in NativeScript refers to the conversion of JavaScript data types to native platform languages(Objective C/Swift and Java/Kotlin) data types and vice versa. + +The conversion is handled implicitly by the NativeScript iOS and Android runtimes. + +Read the following artidles for more information about how NativeScript converts data types: + +- [iOS Marshalling](/guide/marshalling/nativescript-ios-marshalling) +- [Android Marshalling](/guide/marshalling/nativescript-android-marshalling) \ No newline at end of file diff --git a/content/sidebar.ts b/content/sidebar.ts index c95688b9..43fbe25e 100644 --- a/content/sidebar.ts +++ b/content/sidebar.ts @@ -107,6 +107,10 @@ export default [ text: 'Code Sharing', link: '/guide/code-sharing', }, + { + text: 'Marshalling', + link: '/guide/marshalling/' + } ], }, // { From aed264887e88cea02d005c3cf465b85048c174c2 Mon Sep 17 00:00:00 2001 From: Ombuweb Date: Mon, 8 May 2023 16:16:50 +0200 Subject: [PATCH 2/3] chore: update --- content/guide/marshalling/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/guide/marshalling/index.md b/content/guide/marshalling/index.md index e452e224..518a3ec9 100644 --- a/content/guide/marshalling/index.md +++ b/content/guide/marshalling/index.md @@ -6,7 +6,7 @@ Marshalling in NativeScript refers to the conversion of JavaScript data types to The conversion is handled implicitly by the NativeScript iOS and Android runtimes. -Read the following artidles for more information about how NativeScript converts data types: +For more information about how NativeScript converts data types for each platform, read the following articles: - [iOS Marshalling](/guide/marshalling/nativescript-ios-marshalling) - [Android Marshalling](/guide/marshalling/nativescript-android-marshalling) \ No newline at end of file From 8746e70381af6b310002dcf227843943348cad0d Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Sat, 2 Sep 2023 12:22:13 -0700 Subject: [PATCH 3/3] chore: cleanup --- content/guide/marshalling/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/guide/marshalling/index.md b/content/guide/marshalling/index.md index 518a3ec9..91c01eb6 100644 --- a/content/guide/marshalling/index.md +++ b/content/guide/marshalling/index.md @@ -2,7 +2,7 @@ title: Marshalling in NativeScript --- -Marshalling in NativeScript refers to the conversion of JavaScript data types to native platform languages(Objective C/Swift and Java/Kotlin) data types and vice versa. +Marshalling in NativeScript refers to the conversion of JavaScript data types to native platform language (Swift/Objective C and Kotlin/Java) data types and vice versa. The conversion is handled implicitly by the NativeScript iOS and Android runtimes.