SwiftUI's in-depth analysis of the timeline TimelineView of advanced animation
1, Foreword
This article will explore TimelineView in detail, starting with the most common usage. However, I think the greatest potential lies in the combination of TimelineView and the existing animation we already know. With a little creativity, this combination will let us finally make the animation of "key frame class".
2, Co ...
Posted by neel_basu on Mon, 07 Mar 2022 08:22:59 +0100
Advanced SwiftUI animation - Part 2: GeometryEffect
In the first part of this series, I introduced the Animatable protocol and how we can use it to animate paths. Next, we will use a new tool: GeometryEffect to animate the transformation matrix with the same protocol. If you haven't read the first part and don't know what Animatable protocol is, you should read it first. Or if you're just inte ...
Posted by stevepatd on Mon, 21 Feb 2022 05:02:11 +0100
SwiftUI dynamically modifies iOS status bar style
. 1. Set the style of Status in the item setting options page.
-Click item -Click the application to be set -Set the style of Status
**Status Bar Style: * * Status Bar Style -* * Default: * * the Default style is based on the currently applied color mode. Dark Model displays white status bar and Light Model displays black status bar -* * Dar ...
Posted by ktstowell on Mon, 14 Feb 2022 15:42:32 +0100
Netease cloud music iOS14 widget Practice Manual
Original address: Netease cloud music iOS14 widget practical manual
preface
Apple released a widget kit on this year's WWDC20, which supports the display of dynamic information and personalized content on iOS and iPad OS home screens. With the addition of iOS system application drawer, Apple has always been conservative about the home screen, ...
Posted by milsaw on Thu, 10 Feb 2022 21:58:50 +0100
Basic use and advanced practice of NavigationView of SwiftUI
1, Foreword
In the framework of UIKit, we often use UINavigationViewController to manage page push and pop, which is the basic operation of page management. When it comes to SwiftUI, the operation is completed by NavigationView and NavigationLink.This article starts with the basic application of NavigationView, and then adds how to flexibly us ...
Posted by poisa on Thu, 27 Jan 2022 14:55:16 +0100
TCA - SwiftUI's savior?
preface
stay Last article on TCA In, we saw the operation mode of a Feature in TCA through overview, and tried to implement a minimum Feature and its test. In this article, we will continue to go deep into the processing of Binding in TCA and the method of using Environment to decouple dependencies from reducer.
If you want to follow, you ...
Posted by misc00500 on Sat, 22 Jan 2022 02:11:34 +0100
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