Toll Free: +1-855-656-NUVI

Tag: NativeScript
  • 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

This may sound familiar to you.

You’ve built an Angular web application for the browser, and then had to create a mobile application that has pretty much the same features. So you start from scratch, and maybe, just maybe, you can use some of the business logic code that you’ve already written in your mobile app. If you’re lucky.

If you want to be a good citizen of the code world, you need to learn how to recycle your code!

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