Photo by Jean-Daniel Francoeur from Pexels
Photo by Jean-Daniel Francoeur from Pexels

Recently, I had the fun task of setting up my Mac from scratch… twice.

The first time, because my computer died after a macOS update and the second time because I got a new computer from work. In both cases, I decided not to use a Time Machine Backup, so that means I had to install a lot of apps to make my computer feel familiar. This endeavour takes a lot of time, mostly spent looking for installers and waiting for downloads/installs and, sometimes waiting for expanding compressed files (I’m looking at you Xcode). …


An Ansible playbook to enable ethernet + power over USB

The Raspberry Pi is an amazing device and the ability to play with it remotely with the iPad (over ssh) wherever I am, is super convenient. But there are some scenarios where either the network is not available or there isn’t a ethernet cable available(for the Zero) or sometimes there’s no free socket to draw power from.

Turns out, you don’t necessarily need all that! I recently found out that it is possible to configure a Raspberry Pi to be used over a single USB cable. …


How to use AutoLayout in your UITableView Footer

Photo by Igor Starkov from Pexels

Just as with some other simple things like setting translatesAutoresizingMaskIntoConstraints = false, I often forget that UITableView’s tableFooterView doesn’t support auto layout out of the box, as one might expect. There’s an additional not-so-intuitive step required.

In this article, I want to talk about using a custom UIView as a footer with autoLayout. I hope this will help someone out there trying to do this — I know it will help myself next time I need to use it.

Footers

In a UITableView we can use two different types: section footers and table footers. …


A quick look into how to make nested self-sizing cells work

Photo by Alizee Marchand from Pexels

The idea for this article began when I faced a challenge in my job, I was given the task of implementing a nested version of self-sizing-cells: a self-sizing UICollectionViewCell inside a self-sizing UITableViewCell.

At first glance, it seemed to be a fairly straightforward task, and I naively thought that everything would “just work” from the beginning, but man, was I wrong.

Since the early days of iPhone development, UITableViews and UICollectionViews have been used by almost every app to display content.

Usually, this content is not static and doesn’t always have the same size, but since the introduction of dynamic…

Daniel Munoz

Senior iOS Engineer at Issuu @makias

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