Week 89 Newsletter

iOS News

Code

Converting Swift Code to Kotlin made easier via ‘SwiftKotlin’

Now, no need to rewrite the whole code while creating an android app from an iOS one! Angel in this post has described how to use ‘SwiftKotlin’, a tool to convert Swift code to Kotlin easily and effectively. Along with the usage, he has also discussed various similarities and differences between Swift and Kotlin code languages and the limitations of ‘SwiftKotlin’.

New Features in AppCode!

In the latest version of AppCode, get acquainted with some of the most awaited features, such as, Objective-C/Swift translation, Override/Implement multiple methods at once, C++ support. You can now even add emojis to your code! With even more features like improved highlighting system and a first-class set of Swift formatting options, this version is the best till date.

Bender: Creating neural networks on mobile devices.

With the growth in the AI sector, the demands for the access of neural networks on mobile devices increases. Bender is an abstraction layer over MetalPerformanceShaders which helps us to define and run neural networks with the help of common layers like Convolution, Pooling, FullyConnected.

What is ‘UIDebuggingInformationOverlay’?

Ryan Peterson along with others has described the class ‘UIDebuggingInformationOverlay’ present in the UIKit’s headers. This option is a subclass under the private ‘UIWindow’, considerably for the developers and designers to debug iOS apps. The Overlay consists various different features which acts as a perfect substitute for the multiple open-source tools present for debugging.

Design

Give a ‘Bouncy’ look to your App:

For a fun and exuberant look, use this bouncy-layout with almost zero hassle. You can get a bouncy look either while scrolling horizontally or vertically. It’s a playful look, useful for game developers or social networking apps for informal purposes.

Getting-to-know the Collection View Layouts:

The basics of Collection Views along with other features like Custom Layouts, Layout subclasses, Decoration Views, Floating Views and Self-sizing cells are detailed in this article written by Richard Turton. He has also explained how to access and work on them easily and effectively.

Android News

Code

Easier permission handling in Kotlin:

This article written by Nebojsa grants us access to those Kotlin extensions that make permission handling brief and effortless. Though some limits and conditions are applied but these extensions are effective and friendly.

What is Android Clean Code?

Described by Mohanraj in his article is how to test the Android activity, first by Unit Testing and then by using Android Clean Code. This article describes how to test your app thoroughly and effectively.

XAML Standard and .NET Standard 2.0

Microsoft recently announced the release of XAML Standard which is supported by Xamarin.Forms and UWP, to help developers reuse their XAML source files. Also, a completely new set of APIs in the form of .NET Standard 2.0 is released!

New Convenient Location APIs:

With the release of the latest version of Google Play Services, we can now access LocationServices directly without any requirement for some intermediate. Aaron in his blog has described how this method prevents any errors or crashes from happening.

Design

Implementing common Design Patterns in Kotlin

Lovis has described some types of (gof) patterns and successfully explained them. In this article, you’ll be introduced to several easier and simpler ways to solve a problem in Kotlin. Because of the differences between java and kotlin, many problems are resolved easily.

ItemDecoration: Easiest and Efficient way to Decorate

This feature of android not only acts as a substitute for dividers and padding, but also helps developers to decorate. Riyaz, in his article has strongly suggested to avoid using dividers due to various difficulties created by them and explained what ItemDecoration is and how it works.