State & Binding
Source: https://developer.apple.com/tutorials/app-dev-training/managing-data-flow-between-views State and Binding For SwiftUI, to manage a single source of truth, you can use @State. @ denotes a ...
Source: https://developer.apple.com/tutorials/app-dev-training/managing-data-flow-between-views State and Binding For SwiftUI, to manage a single source of truth, you can use @State. @ denotes a ...
Source: https://developer.apple.com/tutorials/app-dev-training/creating-the-edit-view VoiceOver reads label text + accessibility trait Button(action: {}) { Image(systemName: "forward.fill") ...
https://developer.apple.com/tutorials/app-dev-training/creating-a-card-view Shortcut to embed in Stack: right click Padding, ForegroundColor VStack(alignment: .leading) { Text(scrum....
Years ago, Apple tutorial included .0 when initializing CGFloat. However, this pattern has since been removed. CardView(scrum: scrum) .background(scrum.theme.mainColor) .pr...
For better readability of Swift code blocks, I’ve moved my blog from jihyunsblog to this site in March 2025. Thanks for visiting!
Core Data Tips How to initiate core data object without inserting it to the context let gif = Gif(entity: NSEntityDescription.entity(forEntityName: String(describing: Gif.self), in: DataController...