my snippet for Xcode