Skip to content

vladimir-anisimov/OverFullScreenSheet-SwiftUI

Repository files navigation

OverFullScreenSheet

OverFullScreenSheet is a SwiftUI way to show cotnent over current context.

Installation

Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

Xcode 11+ is required to build OverFullScreenSheet using Swift Package Manager.

To integrate OverFullScreenSheet into your Xcode project using Swift Package Manager, add it to the dependencies value of your Package.swift:

dependencies: [
    .package(url: "https://github.com/anisim101/OverFullScreenSheet")
]

Quick Start

Use OverFullScreenSheet like .sheet(item), .sheet(isPresented).

.overFullScreenSheet(item: selectedItem) { item in
       ZStack {
        Color.black
            .opacity(0.3)
        Text(item)
    }
}
.overFullScreenSheet(isPresented: $show) {
       ZStack {
        Color.black
            .opacity(0.3)
        Text("Hello World")
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages