Week 87 Newsletter

iOS News

Code

Compiling and interpolating C using the Swift Package Manager

Ankit implemented the C target support in Swift Package Manager. He creates two packages to checkout the new Functionality- Factorial package is C only swiftpm package which act as an external dependency to the second package. FactorialRunner package contains three target- LocalFactorial, CFactorialRunner and SwiftFactorialRunner. LocalFactorial is C target which will use external Factorial package. CFactorialRunner is executable C target which will use LocalFactorial to find factorial of 5. And SwiftFactorialRunner is executable swift target which will useLocalFactorial to find factorial of 5.

Swift enums - the not so good parts

In this post, Kostiantyn Koval talk about Swift Enums. Enums in Swift is powerful, he shows the example of different login option in the App. With the help of Enums he made LoginProvider type with two options- Facebook and Email, this is two login options in the app. After that he made two methods which is isValid and login. Atlast he shows Open/Closed principle for better to use good Protocols.

Design

Pulse animations with 3 lines on iOS

A good post on Pulse animation with three lines on iOS. “Pulsator” is an OSS which enable to add pulse animation for iOS. Tsutsumi Shuichi shows it can be used with three lines, first is Initialize, second is add to your view’s layer and third is start animating. Check this link for further information on pulse animation.

Why Your Gray Text Should Never Exceed 46% Brightness

In this blog Anthony Tseng show why Gray Text should never exceed 46% Brightness. Light gray for text have readability problems. Gray is the only color that has no hue or saturation, only brightness. Anthony recommend not to use gray text’s brightness greater than 46%. Want to know more? then you should read this article.

Android News

Code

How implement Google Maps APIs in android

In this article, Aman Gupta shows how to implement Google Maps in our application. He shows 8 steps to implement the map in our application and describes each steps in detail. After that he describes how to add multiple markers and for that he takes the example of- take three country codes and display it on google map.

Optimize Battery Life with Android's GCM Network Manager

In this blog Matt Compton shows how to optimize Battery life with Android’s GCM Network Manager. He talk about the battery concerns in relation to network requests where he shows the diagram of Android radio state machine and betched network calls. Later on he also describes about GcmNetworkManager, Scheduling Tasks, Canceling Tasks and Google Play Services.

RxJava – the production line

In this post, Mateusz Budzar writes about the RxJava – the production line. He showed some examples to understand the RxJava and shows some App functionalities then he try to implement those functionalities in production line with the help of workers. It’s a great post to understand how actually RxJava work.

Android Push Notifications?—?GCM and RxJava

In this blog Graham Smith describes about the Android Push Notifications- GCM and RxJava. GCM is good for utilising RxJava, and with the use of RxJava we can handle Error Handling operator’s operator in case of failure for e.g Retry. He creates the IntentService class and register it in the Manifest, creates Observables from the GCM Methods, Create a Subscriber to subscribe to getToken() and at last putting these all steps together to get the final code.

Design

Mobile UX Design: Sliders

In this article Nick Babich shows why should we use Sliders. He shows two types of sliders, first is Single which is good for selecting single value and second is Double which is good for searching within a range of values. He also shows Continuous and Discrete sliders and also covers the topic about- Is an Exact Value Necessary?, If You Still Need an Exact Value, Show The Range and Histogram and Provide a Visual Feedback.

Improve User Experience With Real-Time Features

Lauren Plews writes about the Real time technology. She tells the answer of- do real time is an attractive feature in our product? And for being an attractive feature we must have to include these features which are Performance, Attractive and Indifferent. She also talk about Early Adopters Of Real-Time Technology, Seamless Integration Of Real-Time and so on.