.gitignore for Xcode

I end up rewriting this file for every Xcode project I create, so I thought I’d post it in case it is of use to anyone:

**/.DS_Store
.xcodeproj/xcuserdata/
.xcodeproj/project.xcworkspace/xcuserdata/

Comments and suggestions for improvement are welcome!