SwiftUI Custom View modifiers A brief introductionEverything is a View in SwiftUI. This was made clear from the very first SwiftUI talk at WWDC 2019. This concept is core to how SwiftUI works -
SwiftShorts Custom SwiftUI View Modifiers At the heart of SwiftUI are view modifiers, they allow us to easily add a variety of transformations to our views that often require multiple lines of code in UIKit. In a single line of code we can add shadows, change fonts, colours, scaling,
SwiftUI Build home screen widgets in iOS14 Updated for Xcode 12 beta 6Home screen widgets were one of the flagship features introduced for iOS and MacOS at WWDC20, they're a powerful extension allowing users a window into
SwiftShorts Multidimensional lists in SwiftUI with OutlineGroup Along with the updated sidebar design introduced this year at WWDC, Apple gave us the ability to add multidimensional lists - that is - a list who's tree structure is recursive, in even simpler terms, multiple submenus. At the time of writing you'll need
SwiftUI SwiftUI DatePicker At WWDC20 Apple released an update to their standard DatePicker control. From iOS14 your date picker won't be the scroll wheel by default, but a new compact or inline style that's much more user friendly and easy on the eye. In this short post
SwiftShorts Using ContextMenu in SwiftUI At WWDC20 this year we received a lot of (awesome) SwiftUI updates, most of which supporting multiple apple platforms. One of my favourite new interactions Apple gave us is the ContenxtMenu view type and .contextMenu view modifier. Adding a context menu to a button
wwdc SwiftUI collapsable lists inside multi-platform sidebar Learn how to build a collapsable list with SwiftUI in conjunction with the updated sidebar for multiple apple platforms.
wwdc Grids in SwiftUI The UICollectionView is a wildly popular control in UIKit, developers have been hungry for a SwiftUI counterpart since it was introduced at WWDC19. Up until now we've been able to
Combine MVVM & Networking with SwiftUI and Combine MVVM (Model-View-ViewModel) is a UI design pattern created to help us separate logic from our views, in turn this helps us write more succinct, maintainable modules for our apps. We're
SwiftUI Build a Deck of cards with SwiftUI At the time of writing this nearly the whole world is in lockdown, a time of excessive home baking, DIY and video calls. A recent trend to emerge from this
Swift Building a searchable list with SwiftUI and Combine SwiftUI is a powerful framework for building UIs across the apple ecosystem, it's also very new and therefore missing some components we've become accustomed to in UIKit, one such component