Over a million developers have joined DZone.

This Week in Mobile: Hacking the Swift Compiler

DZone's Guide to

This Week in Mobile: Hacking the Swift Compiler

See how to make your own changes to the Swift compiler, and some lessons learned from using Coroutines in Kotlin in this week's mobile review.

· Mobile Zone ·
Free Resource


Writing Swift: Adventures in Compiler Mods gives you a look under the hood of the Swift compiler, showing how to create a few build directives. 

John Sundell has written up part one of his series on Observers In Swift. One to bookmark.

They sound old-fashioned, but they’re important even for your app development, so learn about The Beauty Of Semaphores in Swift

Blurring the Lines Between MVVM and VIPER illustrates the similarities in both architecture approaches. 

Some projects to check out: 

  • FunctionKit: A framework for functional types and operations designed to fit naturally into Swift.
  • AnyCodable: Type-erased wrappers for Enacodable, Decodable and Codable values.
  • Deli: An easy-to-use Dependency Injection Container. 


Have you been using co-routines in Kotlin? If you’re just thinking about getting into them, make sure to read this developer’s list of the Things I Wish I Knew At the Beginning

It is always refreshing to see how Android developers consider iOS. Here’s one developer’s diary of their One-Night Stand With iOS.

Joe Birch did some work on Exploring the v28 Android Design Support Library Additions, such as the addition of Material Button and Chip. 

It’s the layout most of us couldn’t be without, so now that it’s been made stable, learn what’s new in version 1.1 of ConstraintLayout. In fact, here’s another rundown worth checking.

Some projects to check out: 

  • Paris: Define and apply styles to Android views programmatically. 
  • liquidrefreshlayout: A simple SwipeToRefresh library that performs a simple clean liquid animation.
  • Fuel: Easiest HTTP networking library for Kotlin/Android.


Here’s a great list of Questions UX Designers Should Be Asking, in different situations from product kickoff meetings, stakeholder interviews, user research and more.

You hear a lot about playing with signup forms, and how adding forms can actually be successful. I often question this, but read about how one team made a decision to add six more steps to their onboarding, and how it actually worked!

Finally, it’s an old article, but if you’re in a management or leadership role, you should check out Ben Horowitz’s Good Product Manager/Bad Product Manager.

ios ,java ,kotlin ,android ,swift ,mobile ,mobile app development

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}