Swift Bharat – The conference like never before in India

So, two months ago, I saw that a big conference was taking place in Bangalore which was named “Swift Bharat”. Also, I checked that the speaker lineup was so good. I was discussing it with my wife, as she is also an iOS Developer. She said yes yes, it’s your passion. You definitely have to go. Then I booked tickets quickly in the early bird along with some of my friends from Swift Ahmedabad (Gujarat, India).

Also, there was one other event that was taking place together, which was “Meet with Apple” in Bangalore too!!! And it’s about “Build delightful visuals and animations with SwiftUI”. I had registered for that too.

So, let me drive to that day directly. 

Read more

Did you know? How to hide keyboard in SwiftUI?

iOS 15 have new property wrapper: @FocusState. This is exactly like a regular @State property, except it’s specifically designed to handle input focus in our UI.

In this tutorial we will get to know that how to hide keyboard or you can say how to work with the @FocusState in SwiftUI.

Read more

SwiftUI Animations – 3D Rotation Effect

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. 

rotation3DEffect

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:

 Text("SwiftUI Animations")
    .rotation3DEffect(.degrees(45), axis: (x: 1, y: 0, z: 0)) 

Let’s Do It With Animation

Now we will create one button with rotating view by 3D Effect.

Read more