Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Xcode 4 support #2

Merged
merged 2 commits into from

2 participants

@JanX2

Check das mal!

Jan Weiß added some commits
Jan Weiß Converting “MyMacros.xctxtmacro” to Xcode 4 “.codesnippets”.
TextMacro2Snippet (https://github.com/ppm/TextMacro2Snippet) was used for the conversion.
The result can be found in the “MyMacros-CodeSnippets” folder.
e4812be
Jan Weiß Adding installation instructions for Xcode 4 to the README. 956eb5b
@liyanage liyanage merged commit 419af4b into liyanage:master
@liyanage liyanage was assigned
@liyanage
Owner

Super, vielen Dank!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 22, 2012
  1. Converting “MyMacros.xctxtmacro” to Xcode 4 “.codesnippets”.

    Jan Weiß authored
    TextMacro2Snippet (https://github.com/ppm/TextMacro2Snippet) was used for the conversion.
    The result can be found in the “MyMacros-CodeSnippets” folder.
This page is out of date. Refresh to see the latest.
Showing with 810 additions and 0 deletions.
  1. +24 −0 MyMacros-CodeSnippets/@property Declaration - IBOutlet.codesnippet
  2. +24 −0 MyMacros-CodeSnippets/@property Declaration - assign.codesnippet
  3. +24 −0 MyMacros-CodeSnippets/@property Declaration - copy.codesnippet
  4. +24 −0 MyMacros-CodeSnippets/@property Declaration - retain.codesnippet
  5. +24 −0 MyMacros-CodeSnippets/@selector.codesnippet
  6. +24 −0 MyMacros-CodeSnippets/@synthesize Property, assign ivar.codesnippet
  7. +24 −0 MyMacros-CodeSnippets/@synthesize Property.codesnippet
  8. +26 −0 MyMacros-CodeSnippets/Block Literal.codesnippet
  9. +22 −0 MyMacros-CodeSnippets/Bracket Expression.codesnippet
  10. +26 −0 MyMacros-CodeSnippets/If Block Single Statement.codesnippet
  11. +27 −0 MyMacros-CodeSnippets/If Block.codesnippet
  12. +22 −0 MyMacros-CodeSnippets/Marker Comment.codesnippet
  13. +24 −0 MyMacros-CodeSnippets/Method Declaration - BOOL.codesnippet
  14. +24 −0 MyMacros-CodeSnippets/Method Declaration - Generic Method.codesnippet
  15. +24 −0 MyMacros-CodeSnippets/Method Declaration - IBAction.codesnippet
  16. +24 −0 MyMacros-CodeSnippets/Method Declaration - NSString Return Value.codesnippet
  17. +24 −0 MyMacros-CodeSnippets/Method Declaration - Return Value no Parameters.codesnippet
  18. +24 −0 MyMacros-CodeSnippets/Method Declaration - void no Parameters.codesnippet
  19. +25 −0 MyMacros-CodeSnippets/Method Declaration.codesnippet
  20. +24 −0 MyMacros-CodeSnippets/Method Parameter.codesnippet
  21. +24 −0 MyMacros-CodeSnippets/NSDictionary with Objects and Keys.codesnippet
  22. +26 −0 MyMacros-CodeSnippets/NSError: creation.codesnippet
  23. +24 −0 MyMacros-CodeSnippets/NSLog() Call 1 Argument.codesnippet
  24. +24 −0 MyMacros-CodeSnippets/NSLog() Call.codesnippet
  25. +24 −0 MyMacros-CodeSnippets/NSMutableArray *.codesnippet
  26. +24 −0 MyMacros-CodeSnippets/NSMutableArray array.codesnippet
  27. +24 −0 MyMacros-CodeSnippets/NSString *.codesnippet
  28. +24 −0 MyMacros-CodeSnippets/NSString With Format.codesnippet
  29. +24 −0 MyMacros-CodeSnippets/Release and nil ivar.codesnippet
  30. +22 −0 MyMacros-CodeSnippets/String Literal.codesnippet
  31. +26 −0 MyMacros-CodeSnippets/dispatch_async() to Global Queue.codesnippet
  32. +26 −0 MyMacros-CodeSnippets/dispatch_async() to Main Queue.codesnippet
  33. +26 −0 MyMacros-CodeSnippets/dispatch_sync() to Main Queue.codesnippet
  34. +8 −0 README.md
View
24 MyMacros-CodeSnippets/@property Declaration - IBOutlet.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>@pri</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>@property (retain) IBOutlet &lt;#!type and name!#&gt;;</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>9D114631-9303-46D8-A410-A1101E38D4B8</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>@property Declaration - IBOutlet</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/@property Declaration - assign.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>@pra</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>@property (assign) &lt;#!type and name!#&gt;;</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>84A084B2-C08A-4E16-90EC-60287972765E</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>@property Declaration - assign</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/@property Declaration - copy.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>@prc</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>@property (copy) &lt;#!type and name!#&gt;;</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>1C89DB27-B8F3-479A-8E7F-E31FAC850F53</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>@property Declaration - copy</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/@property Declaration - retain.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>@pr</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>@property (retain) &lt;#!type and name!#&gt;;</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>6428B711-5109-44D6-B778-CAF731FF797C</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>@property Declaration - retain</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/@selector.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>sel</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>@selector(&lt;#!selector!#&gt;)</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>AA48E605-80E1-44D1-AAB4-EB51570F5CDD</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>@selector</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/@synthesize Property, assign ivar.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>@syni</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>@synthesize &lt;#!name!#&gt; = &lt;#ivar#&gt;;</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>A34FCFBF-F868-46CE-B88D-041F831ED2C8</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>@synthesize Property, assign ivar</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/@synthesize Property.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>@syn</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>@synthesize &lt;#!name!#&gt;;</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>923A2BA8-15BE-4FE1-80C3-D72C412B0CF8</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>@synthesize Property</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
26 MyMacros-CodeSnippets/Block Literal.codesnippet
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>bl</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>^$(ArgumentList){
+ &lt;#!statements!#&gt;
+}</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>C03455F8-D8DD-4F21-B146-7E96B03AF510</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>Block Literal</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
22 MyMacros-CodeSnippets/Bracket Expression.codesnippet
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>[&lt;#!expression!#&gt;]</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>F244C8AB-0FC8-477B-8E59-AA92271BCD1B</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>Bracket Expression</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
26 MyMacros-CodeSnippets/If Block Single Statement.codesnippet
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>iff</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>$(Statement)
+ &lt;#!statement!#&gt;
+</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>A1BF5D7E-E343-4BB4-B9C9-D17BE6052689</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>If Block Single Statement</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
27 MyMacros-CodeSnippets/If Block.codesnippet
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>if</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>$(Statement) {
+ &lt;#!statements!#&gt;
+}
+</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>B5A0B497-2106-4AB9-94FC-77737D5AF368</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>If Block</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
22 MyMacros-CodeSnippets/Marker Comment.codesnippet
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>// $(MarkerName): &lt;#!comment!#&gt;</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>6AAEBF45-241C-4866-9D92-3EC87D2D9A36</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>Marker Comment</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/Method Declaration - BOOL.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>meb</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>$(Declaration);</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>F4E2ED60-AEF6-4003-AEB7-7D6A4491AECD</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>Method Declaration - BOOL</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/Method Declaration - Generic Method.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>meg</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>$(Declaration);</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>B49B95A7-70DB-4E66-8085-E4CDF26A2234</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>Method Declaration - Generic Method</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/Method Declaration - IBAction.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>mei</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>$(Declaration);</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>2D75E8EA-9D7F-4835-B428-AB1D80113D1A</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>Method Declaration - IBAction</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/Method Declaration - NSString Return Value.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>mes</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>$(Declaration);</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>1A3C6011-34E6-4808-811B-395AD72D09D2</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>Method Declaration - NSString Return Value</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/Method Declaration - Return Value no Parameters.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>me</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>$(Declaration);</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>9C858FD0-A344-4F89-A219-2D995AE0A1C8</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>Method Declaration - Return Value no Parameters</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/Method Declaration - void no Parameters.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>mev</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>$(Declaration);</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>D5738A7E-EA25-4235-95A9-8D708C00210A</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>Method Declaration - void no Parameters</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
25 MyMacros-CodeSnippets/Method Declaration.codesnippet
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>$(Declaration)
+{
+ &lt;#!statements!#&gt;
+}</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>1983F2F0-7C3C-403F-8242-0DD39ED67BC7</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>Method Declaration</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/Method Parameter.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>para</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>&lt;#description#&gt;:(&lt;#type#&gt;)&lt;#name#&gt;</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>C0648F2E-4382-492B-8FC6-5D82DB3342E0</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>Method Parameter</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/NSDictionary with Objects and Keys.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>nsdok</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>[NSDictionary dictionaryWithObjectsAndKeys:&lt;#(id)firstObject#&gt;nil]</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>8AC4D5AC-7F7C-4EEF-A1F6-C34C78CE0884</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>NSDictionary with Objects and Keys</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
26 MyMacros-CodeSnippets/NSError: creation.codesnippet
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>*&lt;#theErr#&gt; = [NSError errorWithDomain:&lt;#theDomain#&gt;
+ code:&lt;#code#&gt;
+ userInfo:[NSDictionary dictionaryWithObjectsAndKeys:
+ NSLocalizedDescriptionKey, NSLocalizedString(@"&lt;#description here#&gt;", @""),
+ nil]];</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>4612A351-BFFF-4CDD-89DA-4CD1B0FFA814</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>NSError: creation</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/NSLog() Call 1 Argument.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>log1</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>NSLog$(PreFunctionArgsSpacing)($(InFunctionArgsSpacing)@"&lt;#message#&gt; %@", &lt;#!argument!#&gt;$(InFunctionArgsSpacing));</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>D0D74010-728D-4B23-986B-6DB90E5238D3</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>NSLog() Call 1 Argument</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/NSLog() Call.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>log</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>NSLog$(PreFunctionArgsSpacing)($(InFunctionArgsSpacing)@"&lt;#!message!#&gt;"$(InFunctionArgsSpacing));</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>ECB85962-085A-4340-B0E9-88B0E68DE8D8</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>NSLog() Call</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/NSMutableArray *.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>nsma</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>NSMutableArray *</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>FE2F6BBD-1444-47C6-B6AF-C845561E7F15</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>NSMutableArray *</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/NSMutableArray array.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>nsmaa</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>[NSMutableArray array]</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>811DF6F3-CF55-478D-BD56-9C11A5D99836</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>NSMutableArray array</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/NSString *.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>nss</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>NSString *</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>A330580A-EEBB-4703-953E-4F57A9DB2EE9</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>NSString *</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/NSString With Format.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>sf</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>[NSString stringWithFormat:@"&lt;#!format!#&gt;", &lt;#arguments#&gt;]</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>17A0E07F-EDD6-43E8-A088-CD37185186C0</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>NSString With Format</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
24 MyMacros-CodeSnippets/Release and nil ivar.codesnippet
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>rel</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>[&lt;#!ivar!#&gt; release], &lt;#!ivar!#&gt; = nil;</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>8B70DD9C-AA2A-41E1-B972-17640BE1BE28</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>Release and nil ivar</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
22 MyMacros-CodeSnippets/String Literal.codesnippet
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>@"&lt;#!string!#&gt;"</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>7848FE2B-125D-41CB-8AAF-6A8D99AE4F07</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>String Literal</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
26 MyMacros-CodeSnippets/dispatch_async() to Global Queue.codesnippet
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>dia</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>dispatch_async(dispatch_get_global_queue(0, 0), ^{
+ &lt;#!statements!#&gt;
+});</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>BA0EB735-4100-4BE7-8A89-0FBC7442EA52</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>dispatch_async() to Global Queue</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
26 MyMacros-CodeSnippets/dispatch_async() to Main Queue.codesnippet
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>diam</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>dispatch_async(dispatch_get_main_queue(), ^{
+ &lt;#!statements!#&gt;
+});</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>CFD869AA-0414-4112-86F6-C922C45B73FA</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>dispatch_async() to Main Queue</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
26 MyMacros-CodeSnippets/dispatch_sync() to Main Queue.codesnippet
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDECodeSnippetCompletionPrefix</key>
+ <string>dis</string>
+ <key>IDECodeSnippetCompletionScopes</key>
+ <array>
+ <string>All</string>
+ </array>
+ <key>IDECodeSnippetContents</key>
+ <string>dispatch_sync(dispatch_get_main_queue(), ^{
+ &lt;#!statements!#&gt;
+});</string>
+ <key>IDECodeSnippetIdentifier</key>
+ <string>E739FF98-FA0C-4626-907E-470AF6CDEE30</string>
+ <key>IDECodeSnippetLanguage</key>
+ <string>Xcode.SourceCodeLanguage.Objective-C</string>
+ <key>IDECodeSnippetTitle</key>
+ <string>dispatch_sync() to Main Queue</string>
+ <key>IDECodeSnippetUserSnippet</key>
+ <true/>
+ <key>IDECodeSnippetVersion</key>
+ <integer>2</integer>
+</dict>
+</plist>
View
8 README.md
@@ -93,6 +93,14 @@ gets wrapped, where the cursor ends up, what placeholders get inserted.
If you spend a lot of time in Xcode, you’ll really want to get familiar
with text macros.
+Installation Xcode 4
+--------------------
+
+ cd *your-git-repository*
+ ln -s "$PWD/MyMacros-CodeSnippets" ~/Library/Developer/Xcode/UserData/CodeSnippets
+
+Sadly, you currently can’t collect links/aliases to your code snippets within the `~/Library/Developer/Xcode/UserData/CodeSnippets` directory. Xcode 4 seems to expect a flat directory structure.
+
Installation
------------
Something went wrong with that request. Please try again.