Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

Xcode snippets that are useful when working in Swift.

License

Notifications You must be signed in to change notification settings

gowithfloat/swift-xcode-snippets

Repository files navigation

Swift Xcode Snippets Build Status

A collection of useful Xcode snippets for working with Swift.

About

Installing the .codesnippet files is easy; just place them in ~/Library/Developer/Xcode/UserData/CodeSnippets/ and Xcode will recognize them. You can view all code snippets by opening the right-hand Utilities pane in Xcode and then selecting the "Show the Code Snippet library" button (the curly braces) at the bottom.

When defining a code snippet, you can use <#PlaceholderText#> to generate placeholders. You will then be able to tab between these placeholders after placing the snippet.

Completion Shortcuts

Once these code snippets are installed, you can type the following commands to bring up code snippets in autocomplete.

  • doc: Generates SwiftLint compatible documentation for a single method. Options include a number of parameter/return combinations.

References

License

© 2016 Float. Shared under an MIT license. See license.md for details.

About

Xcode snippets that are useful when working in Swift.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published