Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

This Week in Mobile: Swift Concurrency and Android Oreo

DZone's Guide to

This Week in Mobile: Swift Concurrency and Android Oreo

Want better concurrency in Swift? Chris Lattner has a suggestion that you should take the time to read, plus lots more news on your favorite mobile platforms.

· Mobile Zone
Free Resource

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.

So now we know that Android O is actually Android Oreo. No big surprises there.

A while back, there was some talk about getting Swift code running on Android. Things have moved on a little and now there’s this concept of sharing business logic and network code between Android and iOS in Swift. Whether it’s wise to do this or not, I’ll leave to your judgment.

iOS

Looking ahead to the future of Swift, Chris Lattner gives use One Possible Approach to better concurrency in the language. 

If you haven’t had to chance to get push notifications into your app, but you’d like to, check out this article on Push Notification Basics which will take you through getting the APN certificate and configuring your app correctly. 

John Sundell has been creating some seriously good weekly articles on Swift. Here he gives us the Best of the First 6 Months of Swift by Sundell. I’ve linked to quite a few of them previously, and this post gives you a look at the most popular. While you’re at it, make sure to check his latest on Replacing Legacy Code Using Swift Protocols.

Some projects to check out: 

  • Disk: A delightful framework for iOS to easily persist structs, images, and data.
  • GoogleNewsStandAnimation: Google News Stand Animation with a customizable configuration file.
  • DataSources: Type-safe data-driven CollectionView, TableView Framework (we can also use ASCollectionNode).
  • TvOSScribble: Handwriting numbers recognizer for Siri Remote.

Android 

The team at Pinterest continue to give their insights into their Kotlin experience in Anything Java Can Do Kotlin Can Do Better. This article focusses on how Kotlin treats properties and nullability. 

Loading images in Android can be tricky and error prone. To get around this you might want to look at using Glide or Fresco. Here’s a deep dive into how these libraries work so that you can make a more informed decision about which is best.  

So you’ve heard all about the power of Lambda expressions but you still don’t get it? This article on Lambda Expressions Explained has got you covered. 

Here’s How To Become More Productive in Android With Android Studio Plugins with some useful code generators, UI plugins, debugging and utility tools that you might not be aware of. 

Some projects to check out: 

General 

Lena Tyo explains How Becoming a Parent Made Her A Better Designer. Apart from developing empathy, practicing creativity and embracing flexibility, maybe the most important part is remembering to take a break. 

Foursquare has launched a new version of Swarm. Greg Dougherty, one of the team’s product designers explains How They Redesigned Foursquare Swarm 5.0

Finally here’s a great collection of Sketch resources for designers

Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.

Topics:
swift ,ios ,android ,kotlin ,java ,mobile ,mobile app development ,android o

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}