Fix a number of XCode warnings related to UI attributes unavailable on versions prior to 10.7. Fix a warning on non-static formatting string being used.