Last Week in Mobile: JSON Parsing in Swift and Room With RxJava
Among the highlights of the week, we have JSON parsing in Swift 4 and an example of getting the Room architecture component working nicely with RxJava.
Join the DZone community and get the full member experience.Join For Free
With all the post-WWDC excitement about Core ML, here’s one article that might burst your bubble; Why Core ML Will Not Work For Your App (most likely).
SiriKit extensions were the big news in iOS 10, and at WWDC further extensions were added. This tutorial shows how you Can Create Lists With SiriKit on iOS 11.
Here are some iOS Simulator Powerups for developers who are happy to hit the terminal to get more from the simulator. Gaining quick access to logs, listing devices and recording videos quickly is just the tip of the iceberg here.
There are some excellent examples of the power of ARKit surfacing. The best place to keep track of them is @madewithARKit on Twitter.
Fastlane is an excellent tool suite that every app developer should be using. The most recent addition is FastLane Precheck, which checks your app for the most common reasons for app store rejection. Better to find out on your machine than getting a heart sinking email.
Some projects to check out:
- DeallocationChecker: Catch leaking view controllers without opening Instruments.
- ARBrush: Quick demo of 3D drawing in ARKit using Metal + SceneKit.
- YapAnimator: Your fast and friendly physics-based animation system.
- iOS-11-by-Examples: Examples of new iOS 11 APIs.
- LGButton: A fully customizable subclass of the native UIControl which allows you to create beautiful buttons without writing any lines of code.
Now that you’ve read about the benefits of the Architecture Components, you’ll want to start integrating them into your apps. This article describes how to do observable queries in Room with RxJava.
RxJava: The First 3 Patterns takes you through the most useful cases for RxJava in your Android app - fetching data from a cache or network, making 2 requests where the second depends on the first and combining results from multiple requests.
When moving to Kotlin, you can use the Kotlin Converter tool in Android Studio. But before you do, read these Lessons Learned by one developer who did just that.
While on the topic of Kotlin, here’s a look at how to create delegates in Kotlin, focussing on lazy and map standard delegates.
Getting a high level of code coverage can be a challenge, especially in mobile apps. Here are some suggestions on how to go about Improving Code Coverage in an Android App.
Some projects to check out:
- VirtualAPK: A powerful and lightweight plugin framework.
- RePlugin: A flexible and easy to use Android plugin framework.
- VectorMaster: Dynamic control over vector drawables.
- duo-navigation-drawer: A flexible, easy to use, unique drawer library.
- Lawnchair: Customizable pixel style launcher.
The Facebook design team explain How to enhance mobile interactions with sound design, with the release of SoundKit, their collection of interaction sounds for prototypes.
This Framework for Measuring Design Maturity gives one way for you to see if the design processes that you have in place are rich enough for your company.
Having development and design teams working more closely together is a common theme in many app development conferences. Here’s a point of view on how it is The Future of App Development, moving us beyond prototypes.
How Human Memory Works: Tips for UX Designers has a few tips that could give your user experience the edge.
Opinions expressed by DZone contributors are their own.