Every time the user interacts with our app, that requires us to do some work (e.g. calling an endpoint or fetching data from the backend). We must let them know that the app is doing something. We should never put the user in a position where they don’t know what is currently happening.
This is why loading animations are so important. They give the user a hint that something is happening in the app at that moment.
One of the most common scenarios is the sign-in button. When the user enters their credentials and taps the button, you probably must…
If you had to do an onboarding for any of your apps, you have probably searched for a third-party library that solves the logic for you. Although there’re a bunch of pretty cool libs for onboarding out there, you can do it yourself in a couple of steps.
Doing things yourself eliminates the third-party dependencies, which means for example, that you don’t need to worry if the library is currently maintained or if it’s up to date to the latest versions of swift. And also (the funniest part), it gives you the possibility to learn a lot in the process.
If you’re an iOS developer who doesn’t like to use storyboards and prefer to code (like me =) ), then you probably ended at some point with something like this:
What happens with this approach is that our code starts growing with a bunch of initialization code that makes our readability a lot more difficult. And, other than that, we start to replicate the same initialization logic over and over again instead of reusing it.
In this article I want to show you some simple, clean and light way to handle this type of initialization using the advantages that…
When I made my transition from UIKit to SwiftUI one of the first challenges that I faced was how to make a custom text field. Text fields are one of the most common components in every app and there'll be times when the default UI won't be enough for us. Very often we need to make some customizable text fields with icons in one side, borders, animations, etc. Lucky for us, SwiftUI gives us more flexibility to do that and an easiest way than UIKit.
In this article we’re gonna make a custom text field using SwiftUI instead UIKit.
Have you ever found yourself spending a lot of time playing around with an app just because it feels cool to use? Animations are for sure the reason why this happens. This is why they are so important and it’s why we need to dedicate a good amount of time in our development process to think about them.
Creating animations is one of the funniest parts of developing an app (or maybe the funniest part). It’s awesome to see what your imagination can come up with and then translate it into an actual application. …
iOS Engineer at Houlak.