I’m extremely excited to announce an initiative that we were working for several releases now - NativeScript Code Samples!
To make you more productive and to get onboard faster we are releasing 60+ code samples, entirely according to the native UX guidelines, documented, tested and most important entirely open source and contribution friendly!
While the number of examples is large, the list is by no means complete, we wanted to share the infrastructure with the community so that we can grow the set of code samples together! The code samples are small, purpose-driven and this makes adding new examples is really easy even for novice NativeScript developers.
You can check the documentation articles that are automatically created based on the code samples. They contain additional information and screenshots.
Please note that in this first version the code is Angular 2 based, but we will be proving a non-Angular version as a next step.
If you prefer looking/hacking the code, there is a NativeScript application that contains the entire code base. Source code is in GitHub as always.
We are also planning to integrate the examples of our paid component suite - UI for NativeScript into this repo so that there is one place for all the NativeScript code samples.
If you want to contribute please read the guide. As I said, it is made to be super-easy. Basically, each of the code sample is in its own folder and is following a particular naming convention for the files in order to build the documentation articles automatically.
Below are some of the screenshots you can find in the app: