Сделал package для добавления swipe-меню на любое View для iOS 13.0 (Apple-овский аналог доступен только для List, начиная с iOS 15.0)
Made the package for creating swipe actions for any SwiftUI View, similar to Apple's swipeActions(edge:allowsFullSwipe:content:) that available from iOS 15 and only in List 🤷🏼♂️. You can use SwipeActions in project targeting iOS 13 with any view (for ex. Text in VStack)
#swiftpm #getsources
Made the package for creating swipe actions for any SwiftUI View, similar to Apple's swipeActions(edge:allowsFullSwipe:content:) that available from iOS 15 and only in List 🤷🏼♂️. You can use SwipeActions in project targeting iOS 13 with any view (for ex. Text in VStack)
#swiftpm #getsources
GitHub
GitHub - c-villain/SwipeActions: Swipe actions for any view, swipe menu based on SwiftUI, full swiping and RTL languages supporting…
Swipe actions for any view, swipe menu based on SwiftUI, full swiping and RTL languages supporting, iOS 13+, add your own views to swipes - c-villain/SwipeActions
This media is not supported in your browser
VIEW IN TELEGRAM
Сделал package с примером реализации показа всплывающих окон/alert-ов/popover-ов/sheet-ов из любого места в приложении на SwiftUI.
Перед просмотром советую освежить в памяти про EnvironmentValues и прочитать эту статью.
Made a package with an example of the implementation of showing pop-up windows / alerts / popovers / sheets from anywhere in the application on SwiftUI.
Before watching, I advise you to refresh in memory for EnvironmentValues and read this article.
#swiftpm #getsources
Перед просмотром советую освежить в памяти про EnvironmentValues и прочитать эту статью.
Made a package with an example of the implementation of showing pop-up windows / alerts / popovers / sheets from anywhere in the application on SwiftUI.
Before watching, I advise you to refresh in memory for EnvironmentValues and read this article.
#swiftpm #getsources