Open in app

Sign In

Write

Sign In

Pablo Blanco
Pablo Blanco

354 Followers

Home

About

Nov 13, 2022

What is Dependency Injection?

And why you need it in your iOS projects — What is Dependency Injection? Dependency Injection or DI, is a design pattern in which an object or function receives other objects or functions (dependencies) that it depends on. In other words, Dependency Injection consists of passing or injecting dependencies as parameters of a method. This pattern is mainly used to avoid tight coupling, as…

IOS

3 min read

What Is Dependency Injection?
What Is Dependency Injection?
IOS

3 min read


Published in

Better Programming

·Jan 12, 2021

How To Add a Background in SwiftUI

In UIKit it is very straight-forward to set a background on any view — in SwiftUI it is a little bit trickier — From plain colors to gradients and custom views, this article will teach you how to add a background to a SwiftUI view, and how to wrap the functionality to reuse it whenever you need it. The Basics Let’s start with a simple view: Colored background In this article I will explain to you…

Programming

3 min read

How To Add a Background in SwiftUI
How To Add a Background in SwiftUI
Programming

3 min read


Published in

Better Programming

·Nov 23, 2020

How to Validate Complex Passwords in SwiftUI

Combine to the rescue — We still need passwords. Strong passwords. And strong passwords mean complex validations. Bank info, family photos, emails, etc. Unauthorized access is a major problem when sensitive data is behind the wall. For that reason, you need to create strong, complex passwords more than ever, and they also need to be…

Programming

6 min read

How to Validate Complex Passwords in SwiftUI
How to Validate Complex Passwords in SwiftUI
Programming

6 min read


Published in

The Startup

·Nov 2, 2020

How to Retain Your Users While Loading Data in SwiftUI

Custom placeholders for making the wait more pleasant — Waiting is boring. None of us like it. But sometimes we have to. In 1993, an article named Response Times: The 3 Important Limits by User Experience world-reference Nielsen Group stated the following: 1 second is about the limit for the user’s flow of thought to stay uninterrupted, even though…

Programming

5 min read

How to Retain Your Users While Loading Data in SwiftUI
How to Retain Your Users While Loading Data in SwiftUI
Programming

5 min read


Oct 19, 2020

How does App Store purchase button work?

A state-based approach in SwiftUI —

App Development

6 min read

How does App Store purchase button work?
How does App Store purchase button work?
App Development

6 min read


Published in

The Startup

·Sep 30, 2020

Handling environments in Swift

How to create a great structure for environment configuration in Swift — In real-world apps, developers deal with many different backend environments. Every environment has its properties and configuration so it is important to have a proper structure to manage them. In this article, I explain how to create a great structure for environment configuration in Swift, that can easily evolve but…

Swift

2 min read

Handling environments in Swift
Handling environments in Swift
Swift

2 min read


Published in

The Startup

·Sep 24, 2020

Better REST API Management in Swift

Spending time developing new features is great. Spending unnecessary time updating your REST API endpoints is not. But… how to avoid it? A non-unified approach to managing endpoints can provoke many issues if API updates imply a lot of similar, repetitive code changes. In this article, you will understand how…

Swift

3 min read

Better API Management in Swift
Better API Management in Swift
Swift

3 min read


Sep 17, 2020

How to style your app in SwiftUI

Styling makes your product recognizable. Styling makes your brand stronger. Styling is key. But when apps grow in size, styling gets harder and harder. That’s why centralize styling becomes a must. In this article, you will understand why styling schemes are necessary and how to create and apply a styling…

Swift

3 min read

How to style your app in SwiftUI
How to style your app in SwiftUI
Swift

3 min read


Aug 30, 2020

Coding tests: Tips to succeed

During the process of being hired as a developer, you will be probably asked to pass an online coding test. No matter your experience, this kind of tests can be hard and stressful. In this article, you will get some tips to make your coding test better: Prepare the test …

Programming

3 min read

Coding tests: Tips to succeed
Coding tests: Tips to succeed
Programming

3 min read


Sep 28, 2019

5 tips for painless UI Testing

UI Testing is a great thing to keep apps maintainable and reliable during its whole lifecycle, but sometimes this user interface testing could become a big pain. Here we will transform a bad test case into a better one, applying some code refactors. In this article, it’s assumed that the…

Swift

4 min read

Swift

4 min read

Pablo Blanco

Pablo Blanco

354 Followers

iOS Engineer @ Spotify

Following
  • Joie Cooper

    Joie Cooper

  • Crypto Beat

    Crypto Beat

  • Sean Kernan

    Sean Kernan

  • The Objective

    The Objective

  • Darius Foroux

    Darius Foroux

See all (278)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech