Skip to content

Commit 6fefbf5

Browse files
committed
added UIView animation block
1 parent 2eaffde commit 6fefbf5

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

animblock.codesnippet

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDECodeSnippetCompletionPrefix</key>
6+
<string>animblock</string>
7+
<key>IDECodeSnippetCompletionScopes</key>
8+
<array>
9+
<string>CodeBlock</string>
10+
</array>
11+
<key>IDECodeSnippetContents</key>
12+
<string> [UIView animateWithDuration:&lt;#secs#&gt; animations:^{
13+
&lt;#code#&gt;
14+
} completion:^(BOOL finished) {
15+
}];</string>
16+
<key>IDECodeSnippetIdentifier</key>
17+
<string>A858B244-50CD-40EE-AA15-BCE28179F6DB</string>
18+
<key>IDECodeSnippetLanguage</key>
19+
<string>Xcode.SourceCodeLanguage.Objective-C</string>
20+
<key>IDECodeSnippetSummary</key>
21+
<string>Use a block to animate values</string>
22+
<key>IDECodeSnippetTitle</key>
23+
<string>Animation Block</string>
24+
<key>IDECodeSnippetUserSnippet</key>
25+
<true/>
26+
<key>IDECodeSnippetVersion</key>
27+
<integer>2</integer>
28+
</dict>
29+
</plist>

0 commit comments

Comments
 (0)