Fixed missed Xcode 6 warning
Moved helper method to local static function, added default label to switch to handle warning that unknown orientation was not handled