Sync build versions between targets
Feb 19, 2020, 4:30 PM
I've been working for a while on a new project (stay tuned!) which has a watch app. Up until now I used a script that automatically increases the build number of the app, based on the value in `Info.plist`:
Feb 12, 2019, 11:30 AM
Work without distractions!
Improved UIFont naming
Jan 16, 2019, 1:13 PM
Using static properties with semantic names, we can improve the readability of our UIFont usage.
Long parameter lists
Jan 9, 2019, 9:11 AM
Trimming long parameter lists with the help of a struct wrapper.
Learning new languages
Jan 2, 2019, 12:42 PM
Just like it’s beneficial for the brain to learn several spoken languages, the same can be said about programming languages. The benefit might not seem big, but it adds up.
Dec 12, 2018, 7:12 AM
We all love animations. On one hand, they help our eyes be guided, but they also bring a nice finishing touch, a bit of extra care, a bit of emotion; we also prefer a lively UI to a static one, a UI that gives us feedback, that interacts...
Learning through mini habits
Nov 22, 2018, 12:42 PM
If you’d like to learn a new programming language, try to aim for ”write a line of code” every day. You might rightfully ask ”how will one line help in the long run?” and the answer is rather simple: you will almost never stop at one line...
CAAnimations and groups
Nov 8, 2018, 2:49 PM
Short introduction to animating CALayer properties like borderColor and borderWidth.
Easier UIFont usage
Nov 1, 2018, 12:37 AM
In a previous post I was writing about improving working with UIFont and now I’d like to take it one step further in regards with having a quick and easy way to set fonts, if you use a single typeface (font family):
My Travel Stories
Oct 24, 2018, 10:11 AM
The other week we released My Travel Stories, an app to journal your travels, share beautiful photos with the world, but also find inspiration from others.
Avoiding the keyboard on UITextField focus
Oct 18, 2018, 9:55 AM
A couple of posts ago I was writing about handling the Next button automatically. In this post I’d like to write about avoiding the keyboard automatically, in a manner that provides both a good user experience and a good developer...
Optionals, flatMap and you
Oct 11, 2018, 10:33 AM
Say we have a UILabel where we want to display a birthdate with a full format, and an API from where we get a String? with iso8601 format. One of the ways to do this would be:
Oct 8, 2018, 7:00 AM
Yesterday we released Goalee, an app that helps you not lose sight of your life’s goals. The main idea behind the app is that all the annoyances, conflicts or so-called problems we face in our everyday lives pale in comparison with our...
Handling the Next button automatically
Sep 24, 2018, 6:59 AM
Entering text in multiple text fields is such a common pattern — everywhere, not just iOS — there should be a way to easily navigate from on field to the next, preferably the ”correct” one. Sadly, iOS doesn’t offer this feature, but let’s...
Increasing the tap area of a UIButton
Sep 9, 2018, 12:08 PM
The other day, Soroush wrote a great post about hitTest(_:with:) (you should check it out), which reminded me of a problem I solved the other week: I wanted to increase a UIButton’s tap area, without increasing the button’s frame.
Extracting the location from a photo
Aug 6, 2018, 2:51 PM
I’d like to quickly explain how to let the user pick a photo and automatically extract the location for them. The post is targeted at iOS 11+, because starting with this version, to use an UIImagePickerController we don’t need to ask the...
Extracting and parsing tweets from your Twitter archive
Jun 21, 2018, 4:08 PM
I’ve recently gave Micro.blog a try and shortly after I thought of importing all my tweets here, because … why not own my content? This post will be about extracting and converting your Twitter archive into simpler objects with just text...
UITextView and UITextField knobs; a story
Jun 4, 2018, 7:01 AM
UIKit does this really nice thing, where the user can tap around a text knob — with quite some margin, too — and still intercept the touch; but it appears that all knobs are created equal, but some are more equal than others; and so our...
May 17, 2018, 9:27 AM
A few months ago I was writing about a new beginning and I mentioned a couple of projects. I mentioned the first one in a previous post and now I'm writing about the second.
May 5, 2018, 7:59 AM
2 years and a half ago, I was writing about how I recently started using Tower — didn't even realize it's been so long. In that post I was explaining how I solved the fact that it doesn't support opening Pull Requests. Well ... The latest...
Observing and broadcasting
Apr 29, 2018, 10:32 AM
The usual solution to observe and broadcast is to use NotificationCenter:
Mar 26, 2018, 9:40 AM
A few months ago I was writing about a new beginning and I mentioned a couple of projects. I would like to present one of them today. It took longer than expected, but we launched today and we're really happy about the results. I'll start...
Easier NSLayoutConstraint interactions #2
Feb 5, 2018, 3:07 PM
In a previous post I talked about a new struct (LayoutPriority) and a couple of extension methods on NSLayoutConstraint to ease interacting with them. But, as I later discovered, there is no need for the new struct – we can do the same...
Creating an interactive label
Jan 19, 2018, 1:56 PM
I would like to write about how you can create a label that detects and responds to various UIDataDetectorTypes. Well, we won't really make use of UIDataDetectorTypes, but NSTextCheckingResult, since we'll be using an NSDataDetector. We...
Easier NSLayoutConstraint interactions
Nov 15, 2017, 1:59 PM
In Swift 4 UILayoutPriority has become a struct, with an initializer and a rawValue, instead of being a rawValue of Float itself. This means that simple assignments became slightly harder:
Nov 9, 2017, 2:42 PM
One of my biggest dreams has always been to create a great product of my own, and/or be part of a great team that creates one. Today I took a step towards this dream, and I'm happy to announce that I started a small software company. For...
Updated to Swift 4 and Vapor 2
Oct 12, 2017, 8:32 AM
Took a while, but it was a bit ... nostalgic 😁.
Oct 8, 2017, 7:23 AM
The other day I gave IconJar a try. It's an app to store, group, preview, search and export your icons. I won't go into much detail, because the feature list is nicely presented on their website, but I'd like to mention one thing, the...
Caret, a great Markdown editor
Oct 3, 2017, 7:12 AM
I guess it's that time of year again, when I change the editor I use to write. The last editor I was using, LightPaper, hasn't seen any updates in the past year and a half, which is a bummer, because I really think it has potential, and...
The App Store and the state of pay to play
Sep 20, 2017, 3:45 PM
Truth be told, I haven't installed a free game like this since ... as long as I can remember. I haven't played games like Candy Crush et al, so I don't really know if this is the standard or not, but I'd like to share my latest experience....
Tips for consuming APIs
Sep 12, 2017, 7:45 AM
Last time I wrote a few tips for writing APIs; this time I'd like to write a few for consuming them.
Tips for writing APIs
Aug 27, 2017, 2:18 PM
I'd like to leave a few tips that I think are adamant in writing good APIs. I've come across all of these mistakes, and they are a pain to deal with. Some more than others, but all decrease the enjoyability of working with them.