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 !

Lily

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 !

Cheers,

MAB

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 !

Cheers,

MAB