Skip to content

Instantly share code, notes, and snippets.

import Foundation
import PlaygroundSupport
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
self.view.backgroundColor = .white
import SwiftUI
struct ListAnimationsView: View {
struct Item: Identifiable {
var name: String
var id: String { name }
static var currentID = 0
static func new() -> Item {
currentID += 1