Home
About
Thoughts
Playground
Projects
karl@kejk.tech
Home
About
Thoughts
Playground
Projects
karl@kejk.tech
Bookmarks
Bookmarks
How to let users move rows in a list - a free SwiftUI by Example tutorial
Updated for Xcode 14.2 SwiftUI provides two ways to let us move items in a list: a simple way supported on iOS 16.0 or later, and a more advanced way that works on older iOS versions too. Regardless of which approach you choose, you can also selectively disable moving a row using the moveDisabled() modifier.
28 March 2023
hackingwithswift.com
How to let users edit your navigation title - a free SwiftUI by Example tutorial
Updated for Xcode 14.2 SwiftUI’s NavigationStack can display a simple string by using navigationTitle(), but that same modifier can also accept a string binding so the user can edit the title by tapping on it.
28 March 2023
hackingwithswift.com
How to support drag and drop in SwiftUI - a free SwiftUI by Example tutorial
Updated for Xcode 14.2 Improved in iOS 16 SwiftUI’s Transferable protocol allows us to add drag and drop support to our apps without a great deal of code, using the dropDestination() and draggable() modifiers.
28 March 2023
hackingwithswift.com
Rename a file in Swift/SwiftUI
Instantly share code, notes, and snippets. Rename a file in Swift Raw
25 March 2023
gist.github.com
Open-In Links
Open-In Link for Mastodon
25 March 2023
andadinosaur.com
AlertToast – Swift Package Index
Create Apple-like alerts & toasts using SwiftUI
25 March 2023
swiftpackageindex.com
Previous
Next