Using Redacted Placeholders in SwiftUI

Learn how to apply redaction to views in SwiftUI. By Ryan Ackermann.

Leave a rating/review
Download materials
Save for later
Share
You are currently viewing page 3 of 3 of this article. Click here to view the first page.

Where to Go From Here?

Download the completed project files by clicking the Download Materials button at the top or bottom of the tutorial.

To recap what you learned:

  • Blank loading views cause confusion.
  • Simple spinners are helpful in most situations.
  • Placeholders are even better and look great.
  • Not only do placeholders work well for loading, but they're great for concealing data too.

For more information, refer to Apple's documentation on redaction. Additionally, the Build SwiftUI views for widgets video from WWDC2020 is worth a watch.

To learn more about SwiftUI, check out the other raywenderlich.com tutorials on the subject.

Hopefully you enjoyed this tutorial. If you have any questions or comments, please join the discussion below!