The debut of the ButtonRepeatBehavior view modifier in SwiftUI

SwiftUI makes it finally natively possible to repeat a button’s action on long press.

Gabriel Theodoropoulos

--

Photo by Laura Tancredi: https://www.pexels.com/photo/background-of-bright-red-bricks-7078227/

As it happens every year in WWDC, Apple came to announce new development tools and bring advancements to existing ones. Some of them are big, some others are more subtle and not that apparent until they get discovered.

--

--

Gabriel Theodoropoulos

An iOS & macOS app maker writing code in Swift. Author of countless programming tutorials. Content creator. https://serialcoder.dev