Make use of ARC Macros and fix missing NSWorkspace on iOS