Skip to content

Commit 202a0ba

Browse files
author
Tang Qiao
committed
MOD: update snippet.
1. Delete synthesize snippet. 2. Update retain to strong, assign to weak.
1 parent 5c1bcf2 commit 202a0ba

7 files changed

+11
-68
lines changed

CodeSnippets/20888CE5-13E0-4B11-9BE3-4EEEB93DB277.codesnippet

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#define UI_TAB_BAR_HEIGHT 49
3131
#define UI_STATUS_BAR_HEIGHT 20
3232
#define UI_SCREEN_WIDTH 320
33-
#define UI_SCREEN_HEIGHT 480
33+
#define UI_SCREEN_HEIGHT ([[UIScreen mainScreen] bounds].size.height)
3434

3535
#define UI_LABEL_LENGTH 200
3636
#define UI_LABEL_HEIGHT 15
@@ -65,9 +65,9 @@
6565
<key>IDECodeSnippetLanguage</key>
6666
<string>Xcode.SourceCodeLanguage.Objective-C</string>
6767
<key>IDECodeSnippetSummary</key>
68-
<string>Macro Utils</string>
68+
<string>TQ Macro Utils</string>
6969
<key>IDECodeSnippetTitle</key>
70-
<string>Macro Utils</string>
70+
<string>TQ Macro Utils</string>
7171
<key>IDECodeSnippetUserSnippet</key>
7272
<true/>
7373
<key>IDECodeSnippetVersion</key>

CodeSnippets/3CB757A1-0B42-4923-94AF-5F4FFA67CC0B.codesnippet

Lines changed: 0 additions & 33 deletions
This file was deleted.

CodeSnippets/3E679099-2C9D-4275-AC7C-258AC1D581C9.codesnippet

Lines changed: 0 additions & 24 deletions
This file was deleted.

CodeSnippets/7707FE2A-C6CF-4774-8A7D-EA6BEE058C11.codesnippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<string>ClassInterfaceMethods</string>
1010
</array>
1111
<key>IDECodeSnippetContents</key>
12-
<string>@property (nonatomic, assign) &lt;#type#&gt; &lt;#name#&gt;</string>
12+
<string>@property (assign, nonatomic) &lt;#type#&gt; &lt;#name#&gt;</string>
1313
<key>IDECodeSnippetIdentifier</key>
1414
<string>7707FE2A-C6CF-4774-8A7D-EA6BEE058C11</string>
1515
<key>IDECodeSnippetLanguage</key>

CodeSnippets/A83AE4CD-E79A-464F-B849-29BEB3CF4B01.codesnippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<string>All</string>
1010
</array>
1111
<key>IDECodeSnippetContents</key>
12-
<string>@property (nonatomic, strong) &lt;#type#&gt; * &lt;#name#&gt;;</string>
12+
<string>@property (strong, nonatomic) &lt;#type#&gt; * &lt;#name#&gt;;</string>
1313
<key>IDECodeSnippetIdentifier</key>
1414
<string>A83AE4CD-E79A-464F-B849-29BEB3CF4B01</string>
1515
<key>IDECodeSnippetLanguage</key>

CodeSnippets/E10BEAE2-7433-4892-9314-95759F276395.codesnippet

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
<plist version="1.0">
44
<dict>
55
<key>IDECodeSnippetCompletionPrefix</key>
6-
<string>rrr</string>
6+
<string>www</string>
77
<key>IDECodeSnippetCompletionScopes</key>
88
<array>
99
<string>ClassInterfaceMethods</string>
1010
</array>
1111
<key>IDECodeSnippetContents</key>
12-
<string>@property (nonatomic, retain) &lt;#type#&gt; &lt;#name#&gt;;</string>
12+
<string>@property (weak, nonatomic) &lt;#type#&gt; &lt;#name#&gt;;</string>
1313
<key>IDECodeSnippetIdentifier</key>
1414
<string>E10BEAE2-7433-4892-9314-95759F276395</string>
1515
<key>IDECodeSnippetLanguage</key>
1616
<string>Xcode.SourceCodeLanguage.Objective-C</string>
1717
<key>IDECodeSnippetTitle</key>
18-
<string>ELC Property declaration - retain</string>
18+
<string>TQ Property declaration - weak</string>
1919
<key>IDECodeSnippetUserSnippet</key>
2020
<true/>
2121
<key>IDECodeSnippetVersion</key>

CodeSnippets/F2945E28-8E0F-4E27-8840-F40C4E7E7E5D.codesnippet

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
<key>IDECodeSnippetContents</key>
1212
<string>#pragma mark - Network Request Delegate
1313

14-
- (void) requestFinished:(BaseRequest *) request {
14+
- (void)requestFinished:(BaseRequest *)request {
1515

1616
}
1717

18-
- (void) requestFailed:(BaseRequest *) request {
18+
- (void)requestFailed:(BaseRequest *)request {
1919

2020
}
2121

22-
- (void) clearRequest {
22+
- (void)clearRequest {
2323

2424
}
2525
</string>

0 commit comments

Comments
 (0)