Swift Compiled
  • Home
  • Swift Shorts
  • WWDC 2020
  • Author

Swift Compiled

Custom View modifiers
SwiftUI

Custom View modifiers

A brief introductionEverything is a View in SwiftUI. This was made clear from the very first SwiftUI talk at WWDC 2019. This concept is core to how SwiftUI works -

  • Alex Brown
    Alex Brown
Alex Brown 18 Jan 2021 • 2 min read
Concurrency In Swift Part 2: OperationQueue
Swift

Concurrency In Swift Part 2: OperationQueue

This is part two of a two-part series on concurrency. Part one introduced you to concurrency as a concept and how to write concurrent code with DispatchQueue. If you haven't

  • Alex Brown
    Alex Brown
Alex Brown 23 Sep 2020 • 4 min read
Concurrency in Swift Part 1: DispatchQueue
Swift 5.1

Concurrency in Swift Part 1: DispatchQueue

As iOS developers we're spoilt when it comes to thread management. The complexity of spinning up and tearing down threads is largely abstracted away into compact APIs like DispatchQueue and

  • Alex Brown
    Alex Brown
Alex Brown 8 Sep 2020 • 8 min read
Build home screen widgets in iOS14
SwiftUI

Build home screen widgets in iOS14

Updated for Xcode 12 beta 6Home screen widgets were one of the flagship features introduced for iOS and MacOS at WWDC20, they're a powerful extension allowing users a window into

  • Alex Brown
    Alex Brown
Alex Brown 2 Jul 2020 • 9 min read
SwiftUI collapsable lists inside multi-platform sidebar
wwdc

SwiftUI collapsable lists inside multi-platform sidebar

Learn how to build a collapsable list with SwiftUI in conjunction with the updated sidebar for multiple apple platforms.

  • Alex Brown
    Alex Brown
Alex Brown 24 Jun 2020 • 2 min read
Grids in SwiftUI
wwdc

Grids in SwiftUI

The UICollectionView is a wildly popular control in UIKit, developers have been hungry for a SwiftUI counterpart since it was introduced at WWDC19. Up until now we've been able to

  • Alex Brown
    Alex Brown
Alex Brown 24 Jun 2020 • 3 min read
WWDC20 Platform State of the Union Summary
wwdc

WWDC20 Platform State of the Union Summary

WWDC2020 kicked off on June 22nd with an all new online format, it's very different to what we're used to, I imagine a welcome change to developers who don't have

  • Alex Brown
    Alex Brown
Alex Brown 23 Jun 2020 • 9 min read
MVVM & Networking with SwiftUI and Combine
Combine

MVVM & Networking with SwiftUI and Combine

MVVM (Model-View-ViewModel) is a UI design pattern created to help us separate logic from our views, in turn this helps us write more succinct, maintainable modules for our apps. We're

  • Alex Brown
    Alex Brown
Alex Brown 19 Jun 2020 • 9 min read
Build a Deck of cards with SwiftUI
SwiftUI

Build a Deck of cards with SwiftUI

At the time of writing this nearly the whole world is in lockdown, a time of excessive home baking, DIY and video calls. A recent trend to emerge from this

  • Alex Brown
    Alex Brown
Alex Brown 12 Jun 2020 • 13 min read
Codable
Swift 5.1

Codable

Most apps we build function based on a flow of data, whether it be data that lives on the device or data consumed via an API, there really is no

  • Alex Brown
    Alex Brown
Alex Brown 1 Jun 2020 • 3 min read
Simple Swift Enums
Swift

Simple Swift Enums

Whether you pronounce it the correct way (e-num) or the other way (e-noom), there's no avoiding enums in Swift, they're everywhere - and for good reason! Enums enable us to

  • Alex Brown
    Alex Brown
Alex Brown 12 Feb 2020 • 4 min read
Working with Result in Swift
Swift

Working with Result in Swift

Result is an elegant solution to what can be a syntactically complex problem, it enables us to work with asynchronous code in a strongly typed and meaningful way. To fully

  • Alex Brown
    Alex Brown
Alex Brown 4 Feb 2020 • 3 min read
Property Wrappers
Swift

Property Wrappers

If you've worked with SwiftUI you've most likely come across property wrappers, @State, @ObservableObject are both implementations of property wrappers which are heavily used within the framework. The @ syntax is

  • Alex Brown
    Alex Brown
Alex Brown 28 Jan 2020 • 4 min read
The power of Generics in Swift
Swift

The power of Generics in Swift

From the docs Generic code enables you to write flexible, reusable functions and types that can work with any type, subject to requirements that you define. You can write code

  • Alex Brown
    Alex Brown
Alex Brown 20 Jan 2020 • 5 min read
Building a searchable list with SwiftUI and Combine
Swift

Building a searchable list with SwiftUI and Combine

SwiftUI is a powerful framework for building UIs across the apple ecosystem, it's also very new and therefore missing some components we've become accustomed to in UIKit, one such component

  • Alex Brown
    Alex Brown
Alex Brown 15 Jan 2020 • 5 min read
Working remotely as an iOS Developer
Remote Work

Working remotely as an iOS Developer

I've been working remotely or semi-remotely now for the past 5 years, it's been a mixed experience, there are definitely times you miss the day to day interaction of office

  • Alex Brown
    Alex Brown
Alex Brown 8 Jan 2020 • 4 min read
Self-sizing UIScrollView
iOS

Self-sizing UIScrollView

Recently i've been porting sections of our iPadOS client over to iOS, which means a lot of size class dependent layouts and reworking some of our horizontal layouts into vertical

  • Alex Brown
    Alex Brown
Alex Brown 1 Jan 2020 • 2 min read
Swift Compiled
  • Home
  • Swift Shorts
  • WWDC 2020
  • Author
Swift Compiled © 2021
Latest Posts Twitter Ghost