Adding custom Edit Menu on long press - Draw Part 2
We will present an Edit Menu with custom actions when the user performs a long press gesture on the shapes. We will display the option to remove the shape or change its color.
Chapters:
0:00 Using LongPress Gesture to present custom Edit Menu
0:28 Adding UILongPressGesture
2:31 Presenting UIMenuController
5:30 Presenting UIColorPickerViewController
6:56 Making Shape redraw with new color
Source code: https://github.com/codingWithTom/Draw/tree/SecondVideo
Draw - UIKit playlist: https://www.youtube.com/playlist?list=PLbbbO6664WGSlD6eF7YAKRzWL-ESvkc8y
Intro song: All That from Bensound.com
Outro song: Endless Motion from Bensound.com
Видео Adding custom Edit Menu on long press - Draw Part 2 канала Coding With Tom
Chapters:
0:00 Using LongPress Gesture to present custom Edit Menu
0:28 Adding UILongPressGesture
2:31 Presenting UIMenuController
5:30 Presenting UIColorPickerViewController
6:56 Making Shape redraw with new color
Source code: https://github.com/codingWithTom/Draw/tree/SecondVideo
Draw - UIKit playlist: https://www.youtube.com/playlist?list=PLbbbO6664WGSlD6eF7YAKRzWL-ESvkc8y
Intro song: All That from Bensound.com
Outro song: Endless Motion from Bensound.com
Видео Adding custom Edit Menu on long press - Draw Part 2 канала Coding With Tom
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Using LongPress and ColorPicker - Draw SwiftUI Part 2The untapped power of Text #swift #swiftprogramming #tutorial #swiftuiUsing SwiftUI Gestures - Draw SwiftUI Part 1Using PhaseAnimator and KeyFrameAnimation in SwiftUI - ReservApp Part 3Getting Images from Photos Library and the Camera - Collage Part 1Creating custom SwiftUI Containers - ReservApp Part 2Using AsyncStream to receive CoreMotion updates - WWDC21 SwiftUI Part 4Using typealias #swift #swiftprogramming #tutorialTrying out UICalendarView - Components App Part 1More Combine, Nested Lists, and URLSession with SwiftUI - RestApp Part 2Animating Tilt and Shake with GeometryEffect - WWDC21 SwiftUI Part 8Using NavigationStack and NavitationSplitView - RestApp Part 12Formatting text in UITextFields - Components App Part 2Creating a Heart Rate Monitor Animation - Animation Showcase Part 4Creating a Custom IG Story Container - View Containers Showcase App Part 2Using Adaptive for size in a LazyGrid #swift #swiftui #tutorial #swiftprogrammingFill and stroke a SwiftUI shapeScheduling Local Notifications in SwiftUI - RestApp Part 10Improving Voice Over Experience - Furniture Shop App Part 5Making TabBar adapt to Sidebar - Furniture App Part 8