Skip to content

Commit

Permalink
Merge branch 'master' of github.com:liyanage/xcode-text-macros
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Liyanage committed Apr 27, 2010
2 parents cac6a2b + 639fa5f commit ff29721
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions MyMacros.xctxtmacro
Original file line number Diff line number Diff line change
Expand Up @@ -515,5 +515,12 @@
TextString = "@selector(<#!selector!#>)";
},

{
Identifier = objc.nserror.creation;
Name = "NSError: creation";
IsMenuItem = YES;
BasedOn = objc;
TextString = "*<#theErr#> = [NSError errorWithDomain:<#theDomain#>\n\tcode:<#code#>\n\tuserInfo:[NSDictionary dictionaryWithObjectsAndKeys:\n\t\tNSLocalizedDescriptionKey, NSLocalizedString(@\"<#description here#>\", @\"\"),\n\t\tnil]];";
},
)

0 comments on commit ff29721

Please sign in to comment.