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
⭐️ 1
🕓 2 weeks ago
iOS
.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: 1
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

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