What's New Sheet

What's New Sheet

An Apple-style What's New sheet for app updates, with an app icon that springs in and feature rows that reveal one after another. Each row pops its icon first and slides its text in a beat later, and Continue dismisses the sheet.

Luiz Mello
  • sheet
  • list
  • animation

snippet.swift275 lines

7 files • Scroll to see all →
/// One row in the "What's New" list.public struct WhatsNewSheetFeature: Identifiable, Hashable {    public let id = UUID()    let symbol: String    let title: String    let subtitle: String    let tint: Color​    public init(symbol: String, title: String, subtitle: String, tint: Color) {        self.symbol = symbol        self.title = title        self.subtitle = subtitle        self.tint = tint    }​    public static let samples: [WhatsNewSheetFeature] = [        WhatsNewSheetFeature(            symbol: "target",            title: "Reading Goals",            subtitle: "Set a daily page target and keep your streak alive from the Home Screen widget.",​// ... (click "Show full code" to see more)
Viewing: Model.swift•1 of 7