Swiftpack.co - NickAtGit/NSExpandableView as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by NickAtGit.
NickAtGit/NSExpandableView 1.0.8
Expandable SwiftUI View in a Card like style with 3D effect and scaling animation
⭐️ 4
🕓 1 year ago
iOS macOS
.package(url: "https://github.com/NickAtGit/NSExpandableView.git", from: "1.0.8")

NSExpandableView

Expandable SwiftUI View in a Card like style with 3D effect and scaling animation.

Do not use in List. Use ScrollView and ForEach to get a list like style.

Usage:

var body: some View {
    ScrollView {
        NSExpandableView {
            Text("Title")
                .bold()
                .padding()
        } bottomContent: {
            Text("Message")
                .padding([.leading, .trailing, .bottom])
        }
        Spacer()
    }
}

GitHub

link
Stars: 4
Last commit: 21 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics