-
Notifications
You must be signed in to change notification settings - Fork 6
/
C3_swift_delay.codesnippet
29 lines (29 loc) · 936 Bytes
/
C3_swift_delay.codesnippet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?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>delay</string>
<key>IDECodeSnippetCompletionScopes</key>
<array>
<string>CodeBlock</string>
</array>
<key>IDECodeSnippetContents</key>
<string> let dispatchTime =
DispatchQueue.main.asyncAfter(deadline: dispatchTime) {
// your code here
}</string>
<key>IDECodeSnippetIdentifier</key>
<string>26C7DCD2-C57D-4BBA-A2AC-C90AC4797296</string>
<key>IDECodeSnippetLanguage</key>
<string>Xcode.SourceCodeLanguage.Swift</string>
<key>IDECodeSnippetSummary</key>
<string>DispatchQueue.main.asyncAfter</string>
<key>IDECodeSnippetTitle</key>
<string>Swift delay</string>
<key>IDECodeSnippetUserSnippet</key>
<true/>
<key>IDECodeSnippetVersion</key>
<integer>2</integer>
</dict>
</plist>