SwiftUI came with very easy implementations in many type of areas in development. We can create onboarding view easily in few minutes far better than storyboard and UICollectionView.
So, I have created sample code for this.
Let’s Code!
Technology Makes A Wonderful World
SwiftUI came with very easy implementations in many type of areas in development. We can create onboarding view easily in few minutes far better than storyboard and UICollectionView.
So, I have created sample code for this.
Let’s Code!
I will demonstrate today how to pass data between views in the SwiftUI by using property.
Today I will show you how to display the data from the JSON API response to list view of SwiftUI.
SpriteKit gives inbuilt great animated particles, we can take advantage of it to create nice animated splash screen or scratch card win celebration screen!
Picker is a control in SwiftUI which allows you to select a value from a list of possible options. There are many types of inbuilt pickers coming in SwiftUI and it’s really easy to implement.
Let see how to create navigation bar in SwiftUI.
Widget in iOS is massive update by Apple. Today we will discuss about the deep link on widget.
As per apple suggestions small widget have single tap target, medium and large widget can have multiple tap targets. For Example, a widget with multiple photos can have different tap targets to perform action on the specific photo.
Apple suggested to avoid offering so many targets that people have trouble tapping the one they want.
Let see how we can add it by code…
SwiftUI has lots of new features with easiest way of implementation. In this tutorial, you’ll learn how to add fancy 3D animations with SwiftUI.
The rotation3DEffect() modifier gives output like as rotating views in 3D.
This modifier have two parameters:
angle: for rotate view in specified angle/degrees
axis: for X, Y and Z axis to perform rotation.
For Example:
1 2 |
Text("SwiftUI Animations") .rotation3DEffect(.degrees(45), axis: (x: 1, y: 0, z: 0)) |
Now we will create one button with rotating view by 3D Effect.