diff --git a/CodeSnippets/Snappy Constraint Make.codesnippet b/CodeSnippets/Snappy Constraint Make.codesnippet
new file mode 100644
index 0000000..35bf0b8
--- /dev/null
+++ b/CodeSnippets/Snappy Constraint Make.codesnippet
@@ -0,0 +1,26 @@
+
+
+
+
+ IDECodeSnippetCompletionPrefix
+ snp_make
+ IDECodeSnippetCompletionScopes
+
+ CodeBlock
+
+ IDECodeSnippetContents
+ <#view#>.snp_makeConstraints { make in
+ <#code#>
+}
+ IDECodeSnippetIdentifier
+ FF434629-7B96-4AB9-BD96-522275E7B106
+ IDECodeSnippetLanguage
+ Xcode.SourceCodeLanguage.Swift
+ IDECodeSnippetTitle
+ Snappy Constraint Make
+ IDECodeSnippetUserSnippet
+
+ IDECodeSnippetVersion
+ 2
+
+
diff --git a/CodeSnippets/Snappy Constraint Remake.codesnippet b/CodeSnippets/Snappy Constraint Remake.codesnippet
new file mode 100644
index 0000000..3b28109
--- /dev/null
+++ b/CodeSnippets/Snappy Constraint Remake.codesnippet
@@ -0,0 +1,26 @@
+
+
+
+
+ IDECodeSnippetCompletionPrefix
+ snp_remake
+ IDECodeSnippetCompletionScopes
+
+ TopLevel
+
+ IDECodeSnippetContents
+ <#view#>.snp_remakeConstraints { make in
+ <#code#>
+}
+ IDECodeSnippetIdentifier
+ FD093546-D614-4311-82C3-E8FE842F62B1
+ IDECodeSnippetLanguage
+ Xcode.SourceCodeLanguage.Swift
+ IDECodeSnippetTitle
+ Snappy Constraint Remake
+ IDECodeSnippetUserSnippet
+
+ IDECodeSnippetVersion
+ 0
+
+
diff --git a/README.md b/README.md
index 8b43247..5e9e57d 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
Snappy is a light-weight layout framework which wraps AutoLayout with a nicer syntax. Snappy has its own layout DSL which provides a chainable way of describing your NSLayoutConstraints which results in layout code that is more concise and readable. Snappy supports both iOS and OS X.
-> Snappy uses some Swift only features like function overloading it cannot be used from Objective-C. Because of this we’ve chosen to swap prefixes from Masonry’s `mas_` to `snp_` so you can use both Masonry and Snappy in the same project.
+> Snappy uses some Swift-only features like function overloading, so it cannot be used from Objective-C. Because of this we’ve chosen to swap prefixes from Masonry’s `mas_` to `snp_` so you can use both Masonry and Snappy in the same project.
## Requirements
@@ -274,6 +274,14 @@ func changeButtonPosition() {
}
```
+## Code Snippets
+
+Copy the included code snippets to ``~/Library/Developer/Xcode/UserData/CodeSnippets`` to write your snappy closures at lightning speed!
+
+`snp_make` -> `.snp_makeConstraints { make in }`
+
+`snp_remake` -> `.snp_remakeConstraints { make in }`
+
## TODO
* Eye candy