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:
As we can see, the screen only shows 17 items, and when we take a screenshot we have two options. …
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:
I need to tell the requester class the url, the HTTP method, the headers, the body, the encoding, and how to deserialize the data in case of a successful response (soon probably the same for failure but not the point now). …
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.
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.
This post just shows how I implemented my very first protocol extension, which made me quite happy. …