Aligning Views like UICollectionView in SwiftUI
How to make it look like a UICollectionView in SwiftUI. It's easy to use a library called Q-Mobile/QGrid . I wrote this with reference to QGrid. Read more
How to make it look like a UICollectionView in SwiftUI. It's easy to use a library called Q-Mobile/QGrid . I wrote this with reference to QGrid. Read more
How to display a Firestore image in SwiftUI. UIImage can be easily displayed using SDWebImage, but SwiftUI can't do that. I used SDWebImage/SDWebImageSwiftUI to write Read more
Detects changes to the SwiftUI toggle and executes a print statement. Reference: How can I trigger an action when a swiftUI toggle() is toggled?
This is a way to create a multi-line picker like UIPickerView. The usability is quite different from UIPickerView and I was puzzled. Reference: Multi-Component Picker (UIPickerView) in SwiftUI Read more
How not to display the Label in the SwiftUI Picker. It is possible to do so by setting labelsHidden. 参考: How to hide Read more
This is a sample to display the picker in SwiftUI. In case of multiple lines, click here. Creating a multi-line picker in SwiftUI Reference: Is there a way to call a function when a SwiftUI Picker selection changes? Read more
This is a sample that calls the transition source method from the view of the screen transition destination in SwiftUI. I used delegate, but it might be better to write in Combine. Read more
How to display an alert in SwiftUI. It is written quite differently from UIAlertController. The @State of the Property Wrapper is still unfamiliar.
How to get an alert when you tap a cell in a list in SwiftUI. I still haven't gotten used to SwiftUI yet.
Here's how to edit a list in SwiftUI. I was able to write shorter code than UITableView. Reference: How to enable editing on a list using EditButton Read more