Permalink
Browse files

Use ARC-compatible autorelease pool syntax

  • Loading branch information...
1 parent 8731c2f commit 831a333ef07c48d71d9f6ceb92466b53102b1d53 @sorbits sorbits committed Sep 25, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 Snippets/NSAutoreleasePool (pool).plist
@@ -3,11 +3,11 @@
<plist version="1.0">
<dict>
<key>content</key>
- <string>NSAutoreleasePool${TM_C_POINTER: *}pool = [NSAutoreleasePool new];
-$0
-[pool drain];</string>
+ <string>@autoreleasepool {
+ $0
+}</string>
<key>name</key>
- <string>NSAutoreleasePool</string>
+ <string>Autorelease Pool</string>
<key>scope</key>
<string>source.objc, source.objc++</string>
<key>tabTrigger</key>

0 comments on commit 831a333

Please sign in to comment.