Adding Double Column Navigation to a SwiftUI Document App
Jan 19, 2021, 12:00 AM
Double Column Navigation in SwiftUI Document based apps is unfortunately not as straight forward as one might expect.
KeyWindow a better way of exposing values from the Key window
Jan 1, 2021, 6:00 PM
A new way of passing values to the commands section of a SwiftUI app even when the user is not focused on a text field.
Reading from the Window in a SwiftUI lifecycle app
Dec 21, 2020, 1:30 AM
Exploring how to access the hosting UIWindow & NSWindow in SwiftUI exposing its attributes and methods to your app.
Accessing the document in the SwiftUI macOS menu commands
Dec 17, 2020, 12:00 AM
How to access and modify the current document from menu items in SwiftUI.
Operating on a Binding to an Array of items in SwiftUI
Nov 28, 2020, 12:00 AM
Handing a dynamic Binding to an Array in SwiftUI. So that users and seemly edit new items.
Customise About Panel on macOS in SwiftUI
Sep 30, 2020, 1:00 AM
How to add custom information and copyright to your app's About window on macOS Big Sur when using the SwiftUI app lifecycle.
Handling Undo & Redo in SwiftUI
Sep 28, 2020, 3:23 AM
Integrate with UndoManager in SwiftUI by building a reusable UndoProvider view that can be used with any Binding.
Save Custom Codable Types in AppStorage or SceneStorage
Sep 1, 2020, 12:00 AM
Add RawRepresentable conformance to a custom type that represents a setting or a view state in SwiftUI to be able to save it in AppStorage or SceneStorage.
Add Placeholder Text to SwiftUI TextEditor
Aug 18, 2020, 12:00 AM
How to add placeholder text to the new iOS 14 TextEditor view, that doesn't support placeholder by default.
Preview Files with QuickLook in SwiftUI
Aug 14, 2020, 2:00 AM
Let users preview various file formats such as Images, Live Photos, PDFs etc. in your SwiftUI app using QuickLook framework.
Getting Ready for New iOS 14 Local Network Privacy Restrictions
Jun 25, 2020, 6:00 AM
Exploring how to add support for local network privacy if, for example, your app uses URLSession to access local servers.
Scroll to Newly Added Item using ScrollViewReader and onChange Modifier
Jun 24, 2020, 6:00 AM
Programmatically scroll SwiftUI ScrollView to a new item by combining the new APIs in iOS14: ScrollViewReader and onChange view modifier.
Using SceneStorage for State Restoration in SwiftUI Apps
Jun 23, 2020, 6:00 AM
How to use the new iOS 14 @SceneStorage property to implement simple but powerful state restoration in SwiftUI.
Building a Realtime Social Network using Django Channels
Jun 16, 2020, 1:00 AM
An example realtime social network written with Django Channels Rest Framework that lets you subscribe in realtime to a hashtag.
Dynamic Height for Text Field in SwiftUI
Jun 7, 2020, 9:00 PM
How to implement a text field that can automatically resize if the text doesn't fit on one line.
View Modifier for a Custom Hover Effect in SwiftUI
Jun 3, 2020, 9:00 PM
In this article we will look into how to create a custom hover effect in SwiftUI and how to abstract this logic into a reusable view modifier.
Access Application files on iOS Simulator
May 24, 2020, 1:00 AM
How to view and manage files created by your app on the simulator, for example browse the Documents folder or Core Data SQLite Database.
Scroll List to Row in SwiftUI
May 18, 2020, 9:00 PM
Programmatically scroll SwiftUI List to a particular item, using the fact that its internal implementation is based on UITableView in iOS 13.
SwiftUI Navigation in List View: Default Selection
May 14, 2020, 11:00 PM
How to navigate to a list item by default on app launch to avoid showing an empty detail view on iPad or for state restoration.
Subscribing to Django ORM changes over a WebSocket Connection
May 11, 2020, 6:00 PM
Publishing database changes to subscribed WebSocket clients using Django Channels Rest Framework.
SwiftUI Navigation in List View: Programmatically Dismiss Detail
May 7, 2020, 9:00 PM
Looking into the differences of programmatically dismissing the detail view on iPhone and in a split view on iPad.
SwiftUI Navigation in List View: Programmatic Navigation
May 3, 2020, 9:00 PM
How to implement navigation in a SwiftUI List that works for both iPhone and iPad, so that we can programmatically select a list item.
SwiftUI Navigation in List View: Exploring Available Options
Apr 29, 2020, 9:00 PM
Looking into different ways to use NavigationLink to navigate from List to a detail view and what problems we can encounter while implementing programmatic navigation.
Exposing a Django REST-like API over a WebSocket Connection
Apr 28, 2020, 2:00 AM
Explore the features of Django Channels REST Framework for building WebSocket API consumers with Django.
Mapping SwiftUI State to View Binding Types
Apr 22, 2020, 9:00 PM
How to modify the value of the binding before assigning it to the state and modify the state to match the binding type of the view, if we have a model that doesn't exactly match the binding that a view accepts.
SwiftUI Vertical ScrollView not Updating Width when Content Changes
Apr 17, 2020, 6:00 PM
At the moment there seems to be an issue with ScrollView: it will keep the width of its initial content and not resize/grow in width when the content changes. But there are some workarounds that we can use.
Codable Conformance for Swift Enums with Multiple Associated Values of Different Types
Apr 15, 2020, 9:00 PM
Make complex Swift Enums Encodable and Decodable for saving data to disk or interacting with Web APIs.
iOS Keyboard Shortcuts in SwiftUI
Apr 2, 2020, 8:00 PM
Add keyboard shortcuts to a SwiftUI iOS/iPadOS app to improve user experience when using your app with an attached hardware keyboard.
Test iOS Build from Production Xcode on Beta iOS Simulators
Mar 11, 2020, 8:00 PM
How to transfer an app build from a production Xcode to a beta iOS simulator and why we would want to do it.
WebSocket Demo Server in Node.js
Feb 28, 2020, 7:00 PM
Build a WebSocket server in Node.js using ws library and test it with a WebSocket client app.
Custom Environment Values in SwiftUI
Feb 19, 2020, 7:00 PM
How to define and use custom environment key-value pairs in SwiftUI to pass values to the hierarchy of child views.
Scroll TextField into visible range in SwiftUI by wrapping UITextField
Feb 10, 2020, 7:00 PM
How to tell a scrollable view in SwiftUI to scroll the active text field into visible range when the keyboard appears.