Fixed an analyzer warning
Use NS_FORMAT_FUNCTION
Updated NSAppLoginItems to ignore 10.10 deprecation
Replaced deprecated method