PartialSheet | SwiftUI Partial Sheet fully customizable with dynamic height | iOS library

 by   AndreaMiotto Swift Version: 3.1.0 License: MIT

kandi X-RAY | PartialSheet Summary

kandi X-RAY | PartialSheet Summary

PartialSheet is a Swift library typically used in Mobile, iOS, React Native applications. PartialSheet has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

A custom SwiftUI modifier to present a Partial Modal Sheet based on his content size.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              PartialSheet has a medium active ecosystem.
              It has 1445 star(s) with 176 fork(s). There are 22 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 20 open issues and 105 have been closed. On average issues are closed in 135 days. There are 10 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of PartialSheet is 3.1.0

            kandi-Quality Quality

              PartialSheet has 0 bugs and 0 code smells.

            kandi-Security Security

              PartialSheet has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              PartialSheet code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              PartialSheet is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              PartialSheet releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of PartialSheet
            Get all kandi verified functions for this library.

            PartialSheet Key Features

            No Key Features are available at this moment for PartialSheet.

            PartialSheet Examples and Code Snippets

            No Code Snippets are available at this moment for PartialSheet.

            Community Discussions

            Trending Discussions on PartialSheet

            QUESTION

            Observing Binding or State variables
            Asked 2020-Mar-17 at 14:33

            I'm looking for a way of observing @State or @Binding value changes in onReceive. I can't make it work, and I suspect it's not possible, but maybe there's a way of transforming them to Publisher or something while at the same time keeping the source updating value as it's doing right now?

            Below you can find some context why I need this:

            I have a parent view which is supposed to display half modal based on this library: https://github.com/AndreaMiotto/PartialSheet

            For this purpose, I've created a @State private var modalPresented: Bool = false and I'm using it to show and hide this modal view. This works fine, but my parent initializes this modal immediately after initializing self, so I completely loose the onAppear and onDisappear modifiers. The problem is that I need onAppear to perform some data fetching every time this modal is being presented (ideally I'd also cancel network task when modal is being dismissed).

            ...

            ANSWER

            Answered 2020-Mar-17 at 14:33

            use ObservableObject / ObservedObject instead.

            an example

            Source https://stackoverflow.com/questions/60722806

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install PartialSheet

            In Xcode 13 or grater, in you project, select: File > Add Pacakages. In the search bar type PartialSheet and when you find the package, with the next button you can proceed with the installation. If you can't find anything in the panel of the Swift Packages you probably haven't added yet your github account. You can do that under the Preferences panel of your Xcode, in the Accounts section.
            iOS 15.0+ / macOS 12.0+
            Xcode 13+
            Swift 5+

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/AndreaMiotto/PartialSheet.git

          • CLI

            gh repo clone AndreaMiotto/PartialSheet

          • sshUrl

            git@github.com:AndreaMiotto/PartialSheet.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular iOS Libraries

            swift

            by apple

            ionic-framework

            by ionic-team

            awesome-ios

            by vsouza

            fastlane

            by fastlane

            glide

            by bumptech

            Try Top Libraries by AndreaMiotto

            ActionOver

            by AndreaMiottoSwift

            SwiftUI-JTAppleCalendar

            by AndreaMiottoSwift

            Cool-SwiftUI

            by AndreaMiottoSwift

            TheForcePedia

            by AndreaMiottoSwift