xcode6: fix xcode6 crash on ios8 issue.
xcode6: fix xcode6 crash on ios8 issue.

kzjeef/ShiftScheduler-iOS,kzjeef/ShiftScheduler-iOS,kzjeef/ShiftScheduler-iOS,kzjeef/ShiftScheduler-iOS,kzjeef/ShiftScheduler-iOS