Giter VIP home page Giter VIP logo

partitionkit's People

Contributors

kieranb662 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

partitionkit's Issues

Could not find the Package kieranb662/Interact

Hey,

I love your all packages. Too much to learn from your code.

I was in need to implement something like your package Interact. When I came to this source kieranb662/Interact, I was not able to find it.
Can you update me on this please!

Fix position of other lines and collision avoidance

( I found this library while researching this: https://stackoverflow.com/questions/67403140/drag-separators-in-swiftui )

Is there a way to keep the other lines from moving, so that only the line being moved with handle (or the two lines being moved with crosshair) moves?

Also, is there a way to stop handle lines overlapping other areas, so each section has a minimum size (10 pixels square, for example)? So that the Console doesn't spit out this:
PartitionKitExample[34446:1101291] [SwiftUI] Invalid frame dimension (negative or non-finite).

Define a version on this package to properly use as Swift Package

I'm having problems using your package as version range in Xcode, checking the repo I'm observing that you don't have define any tag on the repo, and XCode use this as version identifier.

I'm asking you to define a version number (0.0.0) to mark the initial release (for development) and permit us to use it in Xcode as Version Range. Thanks

undocumented bahavior of layers in partitions

Hey there,

I am playing with the DragGesture in VPart and encountered in undefined behavior of partition layers. For example, when I drag a rectangle from the top partition to the bottom one using offset, it appears beneath the bottom's partition rectangle. I am looking for the way to implement the opposite behavior but as of now I cannot understand what influences it.

here's the example VPart:
@GestureState var isLongPressed = false
@State private var offset: CGSize = .zero
var body: some View {

  VPart(top: {
       HStack {

            Rectangle()
            .fill(Color.green)
            .cornerRadius(10)
            .frame(minWidth: 20, maxWidth: 200, minHeight: 20, maxHeight: 200)
            .offset(offset)
            .gesture(DragGesture()
            .onChanged { self.offset = $0.translation }
            .onEnded { _ in self.offset = .zero }
            )`
        }
        }, bottom: {
        Rectangle()
            .fill(Color.red)
            .cornerRadius(10)
            .frame(minWidth: 20, maxWidth: 200, minHeight: 20, maxHeight: 200)
        })
}

License?

Please think of adding a license so that this can be used by others.

Quoting opensource.org:

Can I call my program "Open Source" even if I don't use an approved license?
Please don't do that. If you call it "Open Source" without using an approved license, you will confuse people. This is not merely a theoretical concern โ€” we have seen this confusion happen in the past, and it's part of the reason we have a formal license approval process. See also our page on license proliferation for why this is a problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.