leetaoleetao.hashnode.dev·a day agoRecord voice in the background SwiftUICurrently, I am working on VoiceBox, which is an application based on Whisper that can transcribe audio offline. To enable this, I needed to build an app that could record audio in the background. After searching online and some trial and error, I wa...DiscussSwift
Lynda Chiwetelulyndachiwetelu.hashnode.dev·Sep 20, 2023How to manage State in your SwiftUI iOS AppHi Friends, I'm so excited to make my first post! In this video I explored how to correctly manage State - data passed around and shared by views - in your SwiftUI iOS apps. State management can be tricky, but is also something most applications cann...DiscussSwift
Ai-Lyn Tangcoderlyn.hashnode.dev·Sep 18, 2023Using `UIView` inside `SwiftUI: View`First: create a new view that adheres to UIViewRepresentable e.g. struct SwiftUIVersion: UIViewRepresentable This is the SwiftUI version of your UIView. Then, inside your original UIView, you need to add: override var intrinsicContentSize: C...DiscussSwiftUI
laurent brusalaurentbrusa.hashnode.dev·Sep 15, 2023Code-Along Project With MapKit for SwiftUI - Part 5For iOS17 and Xcode 15 beta, or now even RC :) Exploring SwiftUI with MapKit can be quite fun. In iOS 17 and macOS 14, MapKit has reached a new level with a few new additions for SwiftUI. Keep in mind that these views and modifiers are still in beta ...DiscussSwiftUI
Ai-Lyn Tangcoderlyn.hashnode.dev·Sep 15, 2023SwiftUI: state management across UI elementshttps://developer.apple.com/tutorials/app-dev-training/managing-data-flow-between-views @State or @Published : source of truth Value types (struct or enum): use @State private var @State is a property wrapper Reference types (class): use @Publish...DiscussSwiftUI
Alexandre Alcuvillaswiftuicentral.com·Sep 13, 2023SwiftUI - Decoupling ModelsProblem: How can we avoid breaking an entire app when a model changes? Solution: Decouple each model based on their specific domain. A Deeper Dive When working with data from various sources, a common challenge developers face is the potential for e...Discuss·10 likesSwiftUI
Ai-Lyn Tangcoderlyn.hashnode.dev·Sep 11, 2023Objc.io - SwiftUI state explainedEpisode 1: setup the groundwork https://talk.objc.io/episodes/S01E261-views-and-nodes What is covered There are 8 videos. Goal is to recreate SwiftUI using import Foundation only. That way we can see what import SwiftUI is doing under the hood to up...DiscussSwiftUI
Irem Karaogluiremkaraoglu.com·Sep 8, 2023Notes to myself about SwiftUI - 1🐦I've been studying Stoicism, and one of the important books on this topic is 'Meditations' by Marcus Aurelius, who was a wise emperor and philosopher. In his book, he wrote notes to himself, creating a valuable guide to Stoicism. He talks to himself ...Discuss·10 likes·34 readsSwiftUI
laurent brusalaurentbrusa.hashnode.dev·Sep 8, 2023Code-Along Project With MapKit for SwiftUI - Part 4For iOS17 and Xcode 15 beta. Exploring SwiftUI with MapKit can be quite fun. In iOS 17 and macOS 14, MapKit has reached a new level with a few new additions for SwiftUI. Keep in mind that these views and modifiers are still in beta and are subject to...Discuss·27 readscode
Ai-Lyn Tangcoderlyn.hashnode.dev·Sep 7, 2023Objc.io: advanced alignment part 1https://talk.objc.io/episodes/S01E291-advanced-alignment-part-1 What did I learn? I kinda zoned out here Nice use of generics - good to get more familiar with these Noted that @ViewBuilder is a concept, which I have never seen before ForEach and ...DiscussSwiftUI