Here is a good place to thank everyone involved from our Native Script Insiders group. You have provided us immense help and support with numerous suggestions and feedback! Thank you!
Because of the features listed above you get some important functionality right out of the box. The first is that NativeScript applications support the same accessibility models as native apps. This is important for anyone creating apps that need to meet certain accessibility standards before going live. This is also very useful when you start implementing functional or unit tests for your app. Several existing cross-platform tools like Appium already work directly with NativeScript and provide accessibility automation.
The second major feature you get out of the box is 0-day support for new native platforms. Because NativeScript exposes the unmodified native APIs and UI, you can use the latest native APIs and new UI components when Apple, Google or Microsoft updated their platforms.
So let’s summarize what NativeScript enables you as of today:
- Build 100% native cross-platform apps, with a declarative UI, and the ability to implement platform-specific UIs
- Share 100% of your code or use platform-specific APIs, depending on the app you’re building.
- Use standards-based CSS syntax for styling
- Use rich data binding and existing UI patterns to easily build complex user interfaces.
- Reuse any native library available in Objective-C, Java or .NET (for example our native UI components - Telerik UI for iOS, Telerik UI for Android and Telerik UI for WindowsPhone)
- Reuse the QA tools for accessibility automation to write tests
- Use the latest native platform features to create an amazing native user experience
- Code in any IDE of your choice to implement your applications’ code using the NativeScript CLI
- Use the Telerik Platform, AppBuilder and the full Visual Studio integration to get a rich development experience. Paid support is also available
I hope this gives you a good idea about what you can expect from NativeScript.
Let's now jump directly into code and show you some quick code samples so that you can get an idea what the developer experience is like.
Here’s what a sample UI declaration looks like. Notice the third-party native library being used as a sidebar:
Here’s an example of the CSS styling you can you use to configure the appearance of your UIs:
And finally, here’s an example of a view model in NativeScript:
You may noticed that this is a very common approach for building UIs - the MVVM pattern. With the MVVM approach it’s very easy to design your UI to be entirely data driven using the Observer pattern. Hopefully this type of code already looks familiar and expected to you, if not, any feedback on alternative approaches is definitely appreciated.
Follow the NativeScript getting started article to create your first app.
NativeScript is created and maintained by Telerik. It is a completely free and open source framework. The Telerik Platform builds on top of the NativeScript open source distribution by offering paid tooling and support. If you are an organization that requires paid support or a commercial non-open source license, the best way to do so is with the Telerik Platform
There you will find 24-hour customer support packages, a full spectrum of tools and frameworks required to mobilize your existing infrastructure and to support your new mobile apps—including services like analytics, testing, UI design, authentication, cloud backends, cloud builds, push notifications, on-premise installations, data connectivity, app management, offline support, and a suite of native components - everything you need to build robust mobile apps fast. What’s great is that all these tools are already integrated with NativeScript, so you can use them with your NativeScript apps today.
You can find several good examples of open source applications built with NativeScript in our GithHub organization. Open http://github.com/nativescript and search for repositories named after the following pattern "sample-SAMPLE_NAME". All the samples are licensed under BSD license
To see the NativeScript in action - see our Reddit reader application for iOS and Android. Search for "NativeScript" in the Apple AppStore or in Android PlayStore. Here are the direct links:
iOS application - https://itunes.apple.com/bg/app/nativescript/id882561588?mt=8
Android - https://play.google.com/store/apps/details?id=com.telerik.NativeScript&hl=en
I'm also starting a series of blog posts on a Tasks application. The initial blog post is already published here and you can find the full source code of the app at http://github.com/nativescript/sample-Tasks. It is a great resource to get started.
The last thing I want to share with you that on March, 5th me and the NativeScript team will host a webinar dedicated entirely on NativeScript. Sign-up for the webinar to hear us a get more deep dive info about NativeScript.