Toll Free: +1-855-656-NUVI

  • Alexander Ziskind

There are a few basic UI modules that come with NativeScript. Some of them, like the Label, offer a few simple features like styling and text wrapping, while the native iOS label allows you to do much more. Did you know that you could extend the NativeScript modules to take advantage of other features that native elements offer? In this post, I will show you how to bend the label to your will by appending native functionality to it that doesn’t come with NativeScript.

Continue
  • Alexander Ziskind
  • 1

If you are coming from the web world, you’ll find that NativeScript observables are a little different than the ES6 observables and observables found in pre ES6 day libraries like Knockout. The big difference is that instead of observing a property directly, you create an Observable object that will notify you of any changes to ANY of its properties. This post will cover some ways to work with observables as well as an npm module to subscribe to notifications about individual properties of the Observable object.

Continue
  • Alexander Ziskind

So you’ve got your NativeScript app up and running and noticed that it looks a bit strange on the iPhone 6 and iPhone 6 Plus. What’s going on? Why is the iPhone scaling my app up and not showing it in fully iPhone 6 glory? When you deploy your NativeScript app to the newer iPhones, they will scale your app and you’ll see undesired results. Let me show you a workaround to get your app looking good and using all the Pixels.

Continue
  • Alexander Ziskind
  • 4

In this continuation of the topic of using NativeScript with Azure Mobile Services, I show how you can use the open sourced iOS library that the Azure team has put together in your NativeScript apps to access the full gamut of functionality that the service offers. I will show a proof of concept here to use the full library to fetch some table data, but you can do much, much more.

See this for the introduction post on using NativeScript with Azure Mobile Services. That post covers a very rudimentary method for accessing a Backend as a Service (BaaS), but it shows how to use npm modules with your NativeScript apps. For more on authoring your own npm modules for NativeScript, take a look at TJ VanToll’s detailed post on the topic.

Continue
  • Alexander Ziskind
  • 2

When developing a NativeScript app, you might run into a situation where you really need to use a native library that’s you’ve already written, or a library that someone else has already made available as an open source project, for example. Should you rewrite that library or framework in JavaScript or create a new NativeScript module? Well, you certainly could do that, but the good news is that you don’t have to. NativeScript has this neat little feature that allows you to import an existing native library and call it from your NativeScript app. This post will show you how you can use a native iOS library in your own app.

Continue