The whole screenshots folder shouldn't be ignore since there could be frameit configuration in it (Framefile.json, fonts, background.jpg, *.strings, etc...). It'd be better to just ignore the generated PNG screenshots.
Update Objective-C and Swift to match Xcode.gitignore
The Objective-C and Swift gitignore files are missing `*.xccheckout`
and `*.xcscmblueprint`, but these are still included in the Xcode
gitignore. This commit synchronises the three files.
The files themselves contain information about the user's local
source control status and shouldn't be included in most Xcode
repositories.
`*.xcuserstate` appears to always be contained in `xcuserdata/`
which is already ignored.
These files are automatically generated by Xcode and maintain
information regarding source control. Xcode is typically used
in Objective-C and Swift projects, so add these to the ignored files for
these platforms.
xcuserstate files are generated from within Xcode and saved in your project bundle to remember your last opened file, the open state of any group folders, open tabs, and any other user setting your project might need to remember
Reverted a change that was causing build directories at the root folder to show up in git. If you need to ignore subdirectories the leading slash needs to be omitted.
[Objective-C] No longer ignore `xcworkspace` documents.
Workspaces are real documents that can be opened, just like `xcodeproj`
documents. These documents are also generated/used by CocoaPods to
configure a project’s dependencies. For these reasons, there does not
seem a good reason to ignore these any longer.