SwiftUI custom segmented control

Boring start: You need to create a segmented control. The effect is as follows: Does it look familiar? Yes, it looks like Android, right?! The black underline will move under the selected title, and can automatically expand and shrink according to the length of the text. Why is it so Android like? Because I spent an afternoon getting i ...

Posted by pl_harish on Thu, 23 Dec 2021 20:52:54 +0100

In depth analysis of SwiftUI how to create list display page and navigation jump detail page

1, Foreword The landmark details page view has been created. We need to provide a way for users to view the complete landmark list and view the details of each landmark. For the creation of landmark details page view, please refer to my blog: SwiftUI's in-depth analysis of how to create and combine views. This paper will analyze how to create ...

Posted by amirbwb on Sun, 19 Dec 2021 20:41:55 +0100