
Inline Edit Profile
Profile rows that morph in place into editable fields when you tap Edit, while the button morphs into a filled Save. Saving morphs the rows back with the new values, a check pulse and a success haptic.
- profile
- form
- transition
snippet.swift388 lines
6 files • Scroll to see all →
public struct InlineEditProfileFields: Equatable { public var name: String public var username: String public var bio: String public var location: String public init(name: String, username: String, bio: String, location: String) { self.name = name self.username = username self.bio = bio self.location = location } public static let samples: [InlineEditProfileFields] = [ InlineEditProfileFields( name: "Maya Okafor", username: "mayaokafor", bio: "Product designer. Film photography and slow runs.", location: "San Francisco, CA" ),// ... (click "Show full code" to see more)Viewing: Model.swift•1 of 6