Coder Social home page Coder Social logo

v8tr / listcrudswiftui Goto Github PK

View Code? Open in Web Editor NEW
27.0 4.0 7.0 21 KB

Add, Edit, Move, and Drag and Drop in SwiftUI List https://www.vadimbulavin.com/add-edit-move-and-drag-and-drop-in-swiftui-list/

Home Page: https://www.vadimbulavin.com/

Swift 100.00%
swiftui swift xcode list foreach edit move drag-and-drop ipados

listcrudswiftui's Introduction

ListCRUDSwiftUI

Step-by-step tutorial on how to implement add, edit, move, and drag and drop operations in a list with SwiftUI. Read my article on the subject to learn more.

listcrudswiftui's People

Contributors

v8tr 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

Watchers

 avatar  avatar  avatar  avatar

listcrudswiftui's Issues

Drop to upper position

Hello,
I was search how to reorder a list on SwiftUI using this technique and what a surprise find your code!
I was using your project only for reordering the list and I've found a couple issues:

  1. I notice that dropping to upper position, just one up, makes a row superposition. Two steps up works well
  2. On iPhone doesn't work the drag interaction

Thanks!

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.