Xcode 6.1 Enum Fix

Add .gitignore
replace Enum deprecated method