Fluent syntax extensions in Swift January 5, 2022
In the early days of Swift, one thing I really enjoyed was the focus on properties (bye-bye ivars!) and the unification of stored and computed property syntax. It became very...
A world of coding đź’», by Alejandro Martinez
In the early days of Swift, one thing I really enjoyed was the focus on properties (bye-bye ivars!) and the unification of stored and computed property syntax. It became very...
Swift's Optional type is one of the biggest hits of the language. Mainly because it's opt-in. Everything is non-optional by default, which solves the old problem of having to deal...
Sometimes some topic gets in my head and doesn't leave until I've gone far enough to satisfy my curiosity. Usually this ends up with me spending days writing some code...
In this post I want to show you a little behind the curtain. As you may have noticed if you follow me on Twitter, recently the tweets with links to...
SwiftUI is an amazing tool to create all sorts of views in our applications. But many times we want that ease of use to generate graphics that can be used...
Legends of Runeterra has become one of my favourite games. I started playing it since the beta was available and haven't stopped since. It caught me by surprise, but it's...
My birthday is the middle of July, seven days from now, which has always made me consider summer as the division between years. That mentality was reaffirmed when as a...
A couple of weekends ago I was reading my Twitter timeline and I, don't know how, ended up in this old tweet."This isn't a Louie Mantia color."(That means it isn't...
One year ago I decided to start working on a Lox interpreter in Swift following Bob Nystrom's book Crafting Interpreters. Today I'm happy to say that the work has been...
I've been always a big fan of productivity, time is gold. But funny enough, as many other people, we fall into the traps of being productive by just spending more...
The chapter 5 of Crafting Interpreters has been published and after a first read I started writing some Swift code to continue my implementation of the interpreter. Here there are...
A couple of days ago I was reading Crafting Interpreters written by Bob Nystrom and it awoke my passion for programming languages so I decided to implement an interpreter for...
One of the things I think is really important in any team is to keep track of the performance. Not to use it as ammo to blame individuals but to...
Facebook has brought to the open source world a bunch of amazing technologies, React being one of the more widespread ones. It is really interesting how old ways of doing...
One of the things that Apple released on WWDC was the official support for Xcode plugins. Although in a very limited way, is really nice to see Apple opening Xcode...
In the script that I was recently writing, from where the post “The state of Swift scripting” emerged, I found that when the scrip is interrupted (Ctrl + C in...
In the past few days I’ve spend some time writing a little script in Swift and I thought it was a good time to revisit the state of the Swift...
For those occasions when you need to check something some state at regular intervals.Just drop this snippet at the top of your file:static dispatchsourcet timer; void DebugTimer(dispatchblockt block) { dispatchqueuet...
A while ago I wondered how easy would be to make a screenshot of a window in OS X from another application using some system API. With that idea in...
A couple of months ago I wrote a small prototype of the well known Conway's Game of Life. This kind of simulation has always fascinated me. Giving a set of...
Sometimes is a small Swift library that makes it easy to run code... sometimes. Well, actually, just once.Sometimes.execute(key) { // This will run just once }It was highly inspired by...
In the last version of BWallpapers I added the ability to save the wallpaper to a specific Wallpaper album in the Photos app.You can use the Photos.framework to do that....
Today I’ve been updating BingWallpapers to use the last version of Swift and also include the latest changes of WallpapersKit, the framework that is shared across the Mac and iOS...
When I wrote my srly script I thought on doing it in Swift, but at the end I decided to go with a well known scripting language, Ruby.After Ayaka’s talk...
On March 1st of 2015 I released ScrumVotes in the App Store. It’s an application that helps in the Sprint Planning Meeting when the development team has to give estimates...
This weekend I wrote a little script that helped me to connect two of the main things that I do everyday: save things into the Safari Reading List and watch...
In the previous post I talked how to connect Minecraft and the Real World. In that case I made my real lamps follow open at the same time as my...
The other day I was talking about games with my friend Marc and we ended up talking about Don’t Starve, an amazing game. He confess me a little frustration about...
I'm happy to present my last little app: BWallpapers for iOS. The App is a mobile version of my Mac App BingWallpapers. I've been using the Mac version for a while...
One of the most exciting things in Swift is the possibility to write and run scripts. It turns out that writing scripts is one of the best ways to learn...
Today I released AMPActivityIndicator. I wrote this little class a year ago and today I made a little clean up and made it available through Cocoapods.It's been very pleasant to...
A sad notice today. I've retired Shopless from the AppStore. The reason is simple: I can't afford the costs of the server that stores and syncs the data.I'm happy with...
En esta nueva versión los wallpapers se actualizan en todas las pantallas que estén conectadas al Mac. Recordad que en la versión 1.1 añadà la opción de compartir el wallpaper actual...