Skip to content
Custom Components in NativeScript

Custom Components in NativeScript

May 31, 2016

There aren’t too many things as satisfying as doing something in less than half the lines of code than if we were being sloppy. Case in point, we’ll be exploring how to write custom components in Nativescript to make our code reusable and DRY (as in “Don’t Repeat Yourself”, not the absence of moisture). Let’s…

Read More

How To Use ES6 Arrow Functions With React Native

May 12, 2016

When producing React Native applications, you’ll often need to iterate over data to render components, where you’ll need to pass a function as a property for later execution. Think of a <ListView/> for example. We often implement this component so that users can interact with it. In lots of cases, each Row needs to be…

Read More
How to Use Image Placeholders in React Native

How To Use Placeholder Images in React Native

April 29, 2016

I’ve been working with React Native for over a year now. And one thing that is driven home by my UX team is the need to provide feedback to the user that something is happening. What I’ve found is that while the React Native <Image/> component provides us with the ability to have a placeholder…

Read More
NativeScript Layouts for HTML Ninjas 1

NativeScript Layouts for HTML Ninjas

April 12, 2016

NativeScript is an awesome framework for building cross-platform applications. It’s aimed at developers working with the holy trinity of web development, a.k.a HTML, Javascript and CSS. While Javascript in NativeScript is the same Javascript we’re writing today (of course, using NativeScript modules and libraries), HTML and CSS aren’t. CSS in NativeScript is a subset of…

Read More
Writing A Cordova Plugin In Swift In iOS

Writing A Cordova Plugin In Swift For iOS

April 7, 2016

There is a newer version of this post available here for those using Swift 3 / Xcode 8.2 or newer. Since the App Store first opened in 2008, developers wishing to build iOS apps have been required to learn Objective-C. This includes those choosing the hybrid model with Apache Cordova, as plugins that extend Cordova’s…

Read More

Plugin Authoring in Cordova 6 for iOS and Android

February 23, 2016

Plugins are used with Apache Cordova / Adobe PhoneGap to extend the platform’s functionality so that it can communicate with native device APIs not normally accessible through a web view. There are many plugins available “off the shelf”, however sometimes a new one is needed when nothing suitable can be found. The Cordova platform provides…

Read More

New in Cordova 6: App Templates Using Git

January 29, 2016

Apache Cordova version 6.0.0 was released today at PhoneGap Day 2016 in Utah. Along with the usual bug fixes, platform and plugin upgrades, a new feature was added to the Cordova CLI allowing users to create new apps based from templates hosted at git URLs, on npm or on the local filesystem. The ability to…

Read More

Expanding and Collapsing Elements Using Animations in React Native

January 27, 2016

Fluid animations improve the user experience of any application. React Native is focused on performance to build and deliver great products. In this tutorial we will learn the basics of animations. We are going to create a panel component. When the body of the component expands or collapses, we will add a nice animation as…

Read More

Swift Modules for React Native

January 6, 2016

React Native is an Objective-C application framework that bridges JavaScript applications running in the JSCore JavaScript engine to iOS and Android native APIs. In theory, you write your application logic in JSX and ES6/7 and transpile it to JavaScript, and the application framework loads all that as a bundle. In practice, you will want to…

Read More

Setting Up a Swift Project in JetBrains’ AppCode Without a Main.storyboard

December 11, 2015

For years, the only language for developing UI applications for OSX and iOS was Objective-C and the only IDE was Apple’s Xcode. Apple announced Swift at WWDC a year ago and Swift 2.0 at this year’s WWDC. Swift has a much easier syntax to learn than Objective-C, and is more secure and less prone to…

Read More
Scroll To Top