Toll Free: +1-855-656-NUVI

Tag: Tips and Tricks
  • Alexander Ziskind

Have you ever written platform specific code in NativeScript, whether it was JavaScript or CSS? Did it look like a giant ifthenelse statement? Or maybe you even separated out your platform specific code into separate functions, but you still needed conditional statements and your code for iOS and Android still gets packaged up whether it’s destined for one platform or another. In this series of videos, I’ll show you how to avoid doing this altogether and get only the code you need for a specific platform packaged, all while using clean interfaces and TypeScript.

Continue
  • Alexander Ziskind

A popular approach in JavaScript APIs these days is to pass a string that matches a property name as a parameter to some function. These are sometimes called ‘magic strings’ and they are very code smelly. In this article and video we will fix this problem.

Continue
  • Alexander Ziskind



“Why is my ListView template binding not working?!!” You’re frustrated and you’re tearing your hair out. “It works on the web, but it doesn’t work here, in my NativeScript app! Why? I’ve gone over it with a fine-tooth comb, but still nothing!” If you’re using a ListView with a template and instead of nicely meaningful properties being displayed, all you’re seeing is the dreaded [object Object] in your list, this one simple trick can solve your problem. See what I did there? Now you HAVE to read this…

Continue
  • Alexander Ziskind
  • 3

This is a quick post just for anyone who’s looking for a .gitignore file to add to their NativeScript projects that they version using Git.



Continue
  • Alexander Ziskind

You may ask, “What is live debugging?” For a long time NativeScript developers had to make a hard choice while developing applications. We had to choose between debugging or using LiveSync. We couldn’t do both. With the latest release, we now don’t have to make the hard choice; we can get both debugging and LiveSync at the same time! I call this live debugging, and this video tutorial will show you how it’s done.



Continue