Best of SwiftUIOctober 2024

  1. 1
    Article
    Avatar of verygoodventuresVery Good Ventures·1y

    Why Learn SwiftUI as a Flutter Developer?

    Flutter offers many advantages, but it doesn't cover all edge cases, especially with the evolving features of iOS, iPadOS, and macOS. Developers might need to write native code in Swift to leverage features like watchOS, Siri Shortcuts, App Clips, widgets, and Live Activities. Swift and Dart have similarities, making the transition smoother. Moreover, SwiftUI—the reactive UI framework for Swift—shares similarities with Flutter's widgets, facilitating easier integration. Learning SwiftUI can enhance the user experience on Apple platforms without moving entirely away from Flutter.

  2. 2
    Article
    Avatar of devswiftlyDev Swiftly·2y

    Essential SwiftUI Concepts: A Complete Study Guide for Beginners

    A comprehensive guide for beginners to understand essential SwiftUI views and containers. It covers basic views like Text, Image, and Button, as well as layout views such as HStack, VStack, and ZStack. The guide also includes containers and controls, layout support & utility views, modifiers & effects, advanced views like Map and VideoPlayer, utility & support views, gesture handling & interaction, state management, environment customization, accessibility, Combine integration for data flow, and additional debugging & preview features. The information is designed to help developers build flexible and sophisticated user interfaces with SwiftUI.

  3. 3
    Video
    Avatar of vpradeillesVincent Pradeilles·1y

    Don't write this code! (use a Swift Regex instead 😌)

    Regular expressions in Swift have been simplified and made safer with a new syntax introduced in iOS 16. The older NSRegularExpression API from Objective-C was verbose and exception-prone. The new Swift regex syntax offers compile-time checks and easier string capture via tuples. A regex builder syntax is also available for complex expressions.