Archivo mensual: noviembre 2015

Swift blog: Protocols are not always the way to go

I keep forcing myself to use protocols more and more when coding Swift. Today’s issue came from the following scenario: I have a (static) table view with 4 prototype cells defined on Interface Builder. Each cell has its own identifier … Sigue leyendo

Publicado en Uncategorized | Etiquetado , , , | Dejar un comentario

When working with Interface Builder…

If something goes wrong, just delete and start over. Yesterday I was trying to create a complex layout that had several UIStackViews nested… The most that Xcode could handle? 3. After that, it just choke and wouldn’t even load my … Sigue leyendo

Publicado en Uncategorized | Dejar un comentario

Links from Tweetbot for Mac won't load on Safari (El Capitan)

If you use Safari as your default browser and use Tweetbot for Mac, you may have had an issue on OS X El Capitan where links wouldn’t load the first time, they would just appear as “loading.” You need to … Sigue leyendo

Publicado en Uncategorized | Etiquetado , , , , , , , , | Dejar un comentario

No more excuses

Now that I live on my own, I’ve started to recognize the actual challenges of life: things that may sound superfluous but really make a dent on how you go through your day if you just don’t do them right; … Sigue leyendo

Publicado en Uncategorized | Dejar un comentario

Swift blog: Why is my Hashable implementation crashing on an iPhone 4s?

Today I found what I thought of as a bug that had me scratching my head for about an hour. My app ran just perfectly on my iPhone 6S Plus. However, when I sent a build to my designer for … Sigue leyendo

Publicado en Uncategorized | Etiquetado , , , | Dejar un comentario

Reset Xcode's "Load Bundles" warning

If you don’t use Alcatraz, the plugin manager for Xcode, you should. When you install new plugins via Alcatraz (or any other way, really), you need to restart Xcode and then it prompts you with the following dialog: If you’re … Sigue leyendo

Publicado en Uncategorized | Etiquetado | Dejar un comentario

Swift blog: Wrangling protocols

The app I’m working on has a set of interesting requirements on the data layer. Let’s try to break it down: I have a set of data that can be represented on 2 different ways, although is the same type … Sigue leyendo

Publicado en Uncategorized | Etiquetado , , | Dejar un comentario

Friday Q&A 2015-11-06: Why is Swift's String API So Hard?

Your usual dose of awesomeness from Mike Ash. Read it.

Publicado en Uncategorized | Dejar un comentario