Still alive

I am now working full time at Sherpa Solutions, a company that provides solutions for big shows and venues in a few country but mainly in the US.  I intend to continue posting good stuff here but I really don’t know if I can kick my *** to get the job done. We’ll see !


Xcode color scheme

The official MABDEV Xcode color scheme !

What I tried to achieve:

  1. Better distinguish local and instance variables with color and italic ( I don’t like to use “self” when it’s unnecessary).
  2. Blue strings because red should be for errors.
  3. Bold types names ( more like Eclipse )

You’ll need the Consolas Font for a better result.

MABDEV Xcode Color scheme download

Hope you like it !



URLSession and the missing policy

Hi !

Usually you want to make your app behave better under poor network conditions but you also want it to fetch the latest data when available.  In terms of caching policy it would mean : “loadFromWebElseUseCache”

Unfortunately it does not exists.  What’s available is :

Some of them aren’t even implemented !  I solved the problem by using two different URLSession :

Hope you like it !



Xcode crash, Storyboard Container Extension

Is it just me or Xcode isn’t the piece of software it used to be ?  I mean, it’s never been awesome but recently I crash it 2-3 times a day.  Not to mention the two fingers swipe ( for back & fwd ) that also breaks often.  I expect the same software quality from Apple that my clients expect from me.

Sorry its been a while here it is :

The Extension of the month

Simple but handy


Closure in Swift: A reminder on how awesome they are.

I was re-reading Apple’s documentation about closure and I tough it couldn’t hurt anybody to share this little resume about closure syntax.

Here’s a simple closure :

Here’s the same but simpler :

Hmm even simpler :

Huh ?!? Even more :

WTF ?!?! Really ?! (but yeah it works) :

And finally (unreadable but still) :

From The Swift Programming Language (Swift 3.0.1)



It’s free pub for them but they certainly deserve it !  All of you dev out there you need to try this.  Pick you project PSD or Sketch, import it and enjoy.

  • Easy asset integration
  • Code generation for UIColors and UIFont extensions used in the PSD
  • Measurements for everything in point ‘pt’
  • Comments on UI elements between users

Downside … a little bit expensive in my humble opinion.