Apps often require separate loading, loaded, empty and error views. With SwiftUI we can solve this problem generically and give any view the ability to represent these states.

The loading state

Presenting a shimmering skeleton of the expected data during loading has become an increasing popular design (see the Facebook, Yelp and Meetup apps for example). Facebook provides a popular pod FBShimmering to to help you achieve this effect in UIKit, although it requires that you provide loading images for all of the possible placeholders.

Josh Homann

iOS Architect @ Raya

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store