Toll Free: +1-855-656-NUVI

  • Alexander Ziskind

NativeScript is an open source project that keeps evolving with releases happening every couple of months. Perhaps you want to try out what’s coming up in the next release, or perhaps you saw some way you can contribute to the project. Either way, I’m going to show you how you can grab the latest and greatest bits from the nativescript-cli repo on GitHub and be able to run multiple versions of the CLI on your machine.

Continue
  • Alexander Ziskind

Those of us that have been looking for a way to call dispatch_async(dispatch_get_main_queue(…)) in iOS environments while developing with JavaScript in the NativeScript framework have been SOL for a while. However, I am pleased to present a short and sweet solution here that saved my behind when I really badly needed to call this function due to a third party CocoaPod that wasn’t returning me to the main thread after a network call.

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