Toll Free: +1-855-656-NUVI

Tag: Tips and Tricks
  • 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
  • Alexander Ziskind

Has this ever happened to you? You create a new NativeScript project and then realize that you wanted to use TypeScript? Your options are:

  1. Delete the project and recreate it using the TypeScript flag.
  2. Delete all JavaScript files, add TypeScript to the project, and recreate the files in TypeScript.
  3. Convert existing files to TypeScript.

I usually end up using the first option, but I do this quite often and it got annoying. If you find yourself in the same boat, this tip should help you out.

Continue
  • Alexander Ziskind
  • 2

If you use or develop for iOS, you are very familiar with the swipe-to-delete move. Several built in iOS applications have this including email, notes, and reminders. The NativeScript ListView uses the iOS UITableView in the background, but it doesn’t yet let us program this maneuver. That is until you watch this tutorial…

Continue
  • Alexander Ziskind
  • 2

If we want to jump directly to a row in our ListView, there is a handy function in NativeScript called scrollToIndex. Sometimes we want a more natural scroll that animated the scrolling motion, this keeps our human brains more in tune with the list that we are using. We get better oriented and know if we are scrolling up or down. This post includes a video tutorial on what needs to be done to get that scroll to animate in iOS.

Continue
  • Alexander Ziskind

Larger projects will require you to keep your code well organized. Proper module referencing is key to moving files and folders around in your NativeScript apps. This post includes a video tutorial on common organization tasks you can perform to move files and folder into their proper place.

Continue