With iOS 13, Apple released a feature that I don’t think many people are aware of, developers included. Last year’s WWDC had plenty of new and sweet candy which made all the developers’ fingers very sticky.

Among all those features, one got little to no attention. The possibility to screenshot more than just the visible area of the screen. I have only seen this feature working on safari.

Here’s what I’m talking about:

Image for post
Image for post

As we can see, the screen only shows 17 items, and when we take a screenshot we have two options. …


Image for post
Image for post

Have you ever stored sensitive information in a remote version control repository? Sure you haven’t…

Just take a look at this link on GitHub

Does your app contain any form of secret you wouldn’t like your mom to see? So why do you put it in the web for everybody’s delight? :)

This post is not about telling you not to put your credentials on source control (but you shouldn’t) but rather, how you accomplish that on Xcode projects.

For the sake of brevity, let’s just assume you’re using GitHub from here on,

Let’s say you have a file with app/api/provider credentials … while all your development stays in your local machine, keeping the keys out of the internet’s dirty hands is a fairly easy task. …


A while ago I wrote about how I started using protocol extensions to help with network calls abstraction.

As I continued with this approach, new requirements arose, and eventually every time I needed to make a new request I was already cooking up a bit of boilerplate. Take a look at the following example:

How a tipical caller object would look like


Image for post
Image for post

Me and my wife are 35 weeks and 2 days pregnant so in about a month our lives are about to change in the biggest way yet. Is it possible to have a bigger change than this? We will welcome a baby girl which will be the best baby girl in the whole world! No matter what you say!

Here’s a few things I’ve learned, or realised these past few months. In no specific order.

  • You actually start believing that health is the best gift you can get. And you really wish it. Nothing else matters as much.
  • You stop thinking about that Mac book pro or big fat TV you’ve been wanting so much and start thinking about baby carriages, cribs and diapers. …


Image for post
Image for post

A few weeks ago I published my very first iOS app to the App Store. It felt great after many years to have something I built on the App Store. It was like a mix of accomplishment and victory.

For the last 5 years I’ve been working as a web developer but mobile has always stayed in the back of my head. I started playing around with Android in 2011 while working close to a team that was building an Android app.

At that time I had an Android device, and got curious about how it worked. …


Protocol oriented programming is the new cool kid on the block in swift. It was first introduced at Apple’s WWDC last year and there are already plenty of articles discussing it. I have to admit it, when I first saw this I couldn’t quite figure how it could change/improve my code structure in practice.

A few days ago I came across this excellent post from @mhollemans that helped me giving it a try again.

This post just shows how I implemented my very first protocol extension, which made me quite happy. …

About

Nuno Gonçalves

iOS developer @ Farfetch

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store