Book Image

NativeScript for Angular Mobile Development

By : Nathan Walker, Nathanael J. Anderson
Book Image

NativeScript for Angular Mobile Development

By: Nathan Walker, Nathanael J. Anderson

Overview of this book

NativeScript is an open source framework that is built by Progress in order to build truly native mobile apps with TypeScript, JavaScript or just Angular which is an open source framework built by Google that offers declarative templates, dependency injection, and fully featured modules to build rich applications. Angular’s versatile view handling architecture allows your views to be rendered as highly performant UI components native to iOS and Android mobile platforms. This decoupling of the view rendering layer in Angular combined with the power of native APIs with NativeScript have together created the powerful and exciting technology stack of NativeScript for Angular. This book focuses on the key concepts that you will need to know to build a NativeScript for Angular mobile app for iOS and Android. We’ll build a fun multitrack recording studio app, touching on powerful key concepts from both technologies that you may need to know when you start building an app of your own. The structure of the book takes the reader from a void to a deployed app on both the App Store and Google Play, serving as a reference guide and valuable tips/tricks handbook. By the end of this book, you’ll know majority of key concepts needed to build a successful NativeScript for Angular app.
Table of Contents (24 chapters)
Title Page
About the Authors
About the Reviewer
Customer Feedback
Integration Testing with Appium

Chapter 11. Polish with SASS

After covering some under the hood plumbing improvements with ngrx state management in the previous chapter,  it's finally time to polish this app to improve it's overall look and feel. The timing of styling is completely up to your flow of development, and oftentimes, we like to polish as we go. In this book, we chose to avoid intermixing polishing via CSS with feature development to keep the concepts more focused. However, now that we're here, we couldn't be more excited about getting that nice look on our app.

Since standard CSS can become burdensome to maintain as styling grows, we will integrate SASS for help. In fact, we will utilize a community plugin developed by the man who helped come up with the NativeScript brand name itself, Todd Anglin.

In this chapter, we will cover the following topics:

  • Integrating SASS into your app
  • Best practices when building the core theme's SASS setup
  • Building a scalable styling setup to maximize style reuse across iOS and Android...