top of page
Search
Hui Wang
Jan 26, 20222 min read
13. SwiftUI: Open a modal window via Button
Today I will introduce how to use the sheet method of the Button control to open a modal window with specified content. Knowledge points:...
Hui Wang
Jan 24, 20223 min read
11. SwiftUI: How to use the Button control
The Button control is the most common interactive control in the user interface. Today I will show you the basic usage of the Button and...
Hui Wang
Jan 22, 20223 min read
9. SwiftUI: Use TextField text input box to receive data from users
Today I will show you how to use TextField. TextField is a control that displays an editable text interface, mainly for receiving and...
Hui Wang
Jan 21, 20221 min read
8. SwiftUI: Creating rich text with Text view
Here I will show you how to use the Text view to create rich text by connecting multiple Text views of different styles. Knowledge...
Hui Wang
Jan 20, 20221 min read
7. SwiftUI: How to format the date in Text view
I'll describe here how to format the date content and display it in the text view. Knowledge points: First, add a date property to the...
Hui Wang
Jan 20, 20221 min read
6. SwiftUI: How to make the view fill the entire screen
When building a user interface with SwiftUI, we need to consider the safe area of screen devices, and the elements of the user interface...
Hui Wang
Jan 18, 20222 min read
3. SwiftUI: The padding property of the Text view
For the inner padding property of the Text view, we can use the padding property to modify the distance between the text content and the...
Hui Wang
Jan 18, 20222 min read
2. SwiftUI: Properties of the Text View
Use the properties of the Text view to adjust the visual style of text such as kerning, line spacing, offset values, framing, and...
Hui Wang
Jan 17, 20223 min read
1. SwiftUI: Display the text using the Text view
Text and UILabel views are similar and are mainly used to display information. Knowledge points: Interface elements need to be placed in...
bottom of page