Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
27 мая 2021 г. 0:00:14
00:08:21
Яндекс.Метрика