├── .gitignore
├── 01DDFCA9-ADDF-4728-B100-1C894A791BE2.codesnippet
├── 021EC00A-EA32-4F78-8832-4FEA248C7188.codesnippet
├── 04589E08-4365-4B36-A4C4-4C0F88AD6537.codesnippet
├── 05118B70-8FEC-4BA5-98DD-03255D646E0F.codesnippet
├── 0A6CC597-0D3F-467D-9EA9-632E2F474AEC.codesnippet
├── 0AD64C98-73B3-4AC5-BCA3-7FB66773333E.codesnippet
├── 0B715AEB-E97F-4E74-8BA7-EB87A45CDAFD.codesnippet
├── 0EE9D515-ED49-4993-8970-3930D1C1306A.codesnippet
├── 0FD2D0E6-5310-483D-A574-E9C426FC24B3.codesnippet
├── 10F6B03C-3D54-459B-8F68-C9D006288D47.codesnippet
├── 146FB07B-D16E-4DA8-B0F4-682ACAF65909.codesnippet
├── 1B8EFC7E-7640-457C-A05A-EC6A154F9632.codesnippet
├── 1BFB9AEA-4E88-4E7C-8101-9BAF962594F0.codesnippet
├── 1CD78119-2DDF-45A2-AF2D-E60F6F82B139.codesnippet
├── 1EC25B87-E457-4618-9DAE-EEA83FA25869.codesnippet
├── 1F01DF1A-C8C4-4AA0-B9B8-42868E1AF634.codesnippet
├── 248802BD-95B9-4FF7-A80A-F28976960C0D.codesnippet
├── 25735F6C-227B-45E8-A1A9-79244C9950B3.codesnippet
├── 26980113-1801-4991-8728-C5CBDD068F00.codesnippet
├── 278ED0B8-2B09-4314-859E-E91E1DDA26FA.codesnippet
├── 29697711-96FD-4CD3-942C-E8E8F8040688.codesnippet
├── 2A037EA4-E43E-47CA-A30A-0312A9A27A80.codesnippet
├── 2B60D924-0BCA-4825-8914-D3B5763E5942.codesnippet
├── 34E681D8-967A-42AC-BFF3-3855393F746F.codesnippet
├── 36E76C36-B8A5-4792-8E26-A8FCDFE9D653.codesnippet
├── 38E6C3CF-0A8D-4BDC-90A1-A3F6923D79F6.codesnippet
├── 3BCB0492-9D8E-456B-BFA6-776A2E57512D.codesnippet
├── 41EE7849-4843-46BE-B5F4-A32BC15DF6D5.codesnippet
├── 42813D0D-9EF0-481E-914E-723441B22CD7.codesnippet
├── 455D95AB-2D12-44DC-9BD5-6CFE36E9BC62.codesnippet
├── 462D9242-3EBC-4FAA-BBDA-B8CC44978CDA.codesnippet
├── 46995303-0343-4A1D-919E-47E7C76EB9E9.codesnippet
├── 486EB062-CF40-4C68-A4D9-D7C29B707226.codesnippet
├── 4BB42E75-34EC-465A-ADF6-5FEA0CA89513.codesnippet
├── 55055D47-63EC-477F-B737-A168CDC7B587.codesnippet
├── 598C0A78-30C8-4F92-8ED4-FECA7D97A584.codesnippet
├── 5A75C951-63AE-405D-86EA-CDFE2435A2FA.codesnippet
├── 5A8E4979-819A-421D-8E99-4CB60F630D9D.codesnippet
├── 5F485366-EA33-4F74-899A-94F2AE47117F.codesnippet
├── 6121ABB8-A970-4A01-9491-E90ADB411807.codesnippet
├── 63467D08-D688-4CB5-924E-5C3CD733D7ED.codesnippet
├── 6A5151F3-CD54-4E1C-AE84-897F13139EAA.codesnippet
├── 6A91CC59-6AF0-4D8B-B065-9DE05DC9413E.codesnippet
├── 6D620BA1-3C06-4E62-93D1-24B25B31774E.codesnippet
├── 6EF3E604-A08D-4164-90D8-D735E1B2AEA4.codesnippet
├── 70292FBA-B85D-4265-83D6-4E8A202D9654.codesnippet
├── 7A5CD87B-B4F8-4F8A-A3CC-D5EC9851BBB0.codesnippet
├── 7B8CC1AE-32E9-44FD-A62F-A557CA50BC81.codesnippet
├── 7FD19F46-0EF5-45D1-9DC5-4B6EAE01D94C.codesnippet
├── 821CD466-F0E2-4014-8FFD-DBDA5CE95B8C.codesnippet
├── 82B61335-8995-4F93-9AC1-D22236E5B35C.codesnippet
├── 82C48288-C50A-4229-9CA9-4D9D75DAD4D8.codesnippet
├── 84AFE70C-111E-4DE3-84F5-C86457D8369B.codesnippet
├── 8A08932B-8D05-4102-864E-DFBA78545AB1.codesnippet
├── 8A19F296-11BC-404E-95F8-6C69341C3125.codesnippet
├── 8ADF5D4E-2779-4CBD-8C96-4256C27B3A43.codesnippet
├── 8BE20E8E-4083-4B58-BAE6-DFA46448B66F.codesnippet
├── 8C25E887-D929-41E6-B020-3195325EC9BC.codesnippet
├── 9187C0A5-94FF-4FA0-B0EC-5D2562C5AD4B.codesnippet
├── 9217BD17-FE92-4179-AD6D-327C7B6BDD1C.codesnippet
├── 926B47FD-30A2-44BB-B54C-C229B71917DF.codesnippet
├── 967991F2-FA29-421B-BC44-9982D735374A.codesnippet
├── 971F3F1A-7391-4FA9-8EB2-45B1E224B80C.codesnippet
├── 9B4640DA-22FA-48B5-B0D4-2DBE890B1C0A.codesnippet
├── 9B6961BC-A224-43A6-A333-735CEBC34500.codesnippet
├── 9DE2BD6A-0B6F-4012-9B59-324735A06035.codesnippet
├── A0F1160A-96ED-4806-B46F-78FFBB79B162.codesnippet
├── A2803C4C-F430-45A2-B88D-18A5DF6F63A7.codesnippet
├── A6D05535-BD7A-4257-B7F4-7B840BECCDDE.codesnippet
├── A84C1E80-2A11-4887-AE93-992FC5EA12B1.codesnippet
├── AC26BA42-9E1E-470D-916A-6E1FAA01382F.codesnippet
├── AEE92D80-8ABF-4076-88AD-1D7520FBD638.codesnippet
├── B13B8BAC-A385-4B1A-90C5-C1148B87090B.codesnippet
├── B14205BA-45FD-486A-9AC7-98B08B2D6105.codesnippet
├── B249C11C-BCCE-4DEC-9DD9-8B5B019B91B4.codesnippet
├── B3D74C58-0499-435B-88A4-3A3531F0F6AD.codesnippet
├── C20F4CAA-C2BF-47EF-ADC0-7F50FAA8DE1C.codesnippet
├── C761C363-3A14-42E0-B845-90179901B7AC.codesnippet
├── E9045F0D-33C5-41A9-AC61-35B1ED15A081.codesnippet
├── EBB2F795-D487-410E-8CE8-5733CFE6E508.codesnippet
├── ED4741DF-0E00-417D-B168-CC66A531E8B2.codesnippet
├── ED59DA03-0656-4B33-ABFE-ACDD5F6FFCFB.codesnippet
├── EE024200-31ED-4F0F-BB4F-F237AB15E9F5.codesnippet
├── F8B1A911-9071-4746-8821-6E5FC64F1B8F.codesnippet
├── LICENSE
├── WCDB.ColumnCodableClass.Int32.swift.codesnippet
└── WCDB.TableCodableClass.swift.codesnippet
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4 |
5 | ## Build generated
6 | build/
7 | DerivedData/
8 |
9 | ## Various settings
10 | *.pbxuser
11 | !default.pbxuser
12 | *.mode1v3
13 | !default.mode1v3
14 | *.mode2v3
15 | !default.mode2v3
16 | *.perspectivev3
17 | !default.perspectivev3
18 | xcuserdata/
19 |
20 | ## Other
21 | *.moved-aside
22 | *.xcuserstate
23 |
24 | ## Obj-C/Swift specific
25 | *.hmap
26 | *.ipa
27 | *.dSYM.zip
28 | *.dSYM
29 |
30 | # CocoaPods
31 | #
32 | # We recommend against adding the Pods directory to your .gitignore. However
33 | # you should judge for yourself, the pros and cons are mentioned at:
34 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
35 | #
36 | # Pods/
37 |
38 | # Carthage
39 | #
40 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
41 | # Carthage/Checkouts
42 |
43 | Carthage/Build
44 |
45 | # fastlane
46 | #
47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
48 | # screenshots whenever they are needed.
49 | # For more information about the recommended setup visit:
50 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
51 |
52 | fastlane/report.xml
53 | fastlane/screenshots
54 |
55 | #Code Injection
56 | #
57 | # After new code Injection tools there's a generated folder /iOSInjectionProject
58 | # https://github.com/johnno1962/injectionforxcode
59 |
60 | iOSInjectionProject/
61 |
--------------------------------------------------------------------------------
/01DDFCA9-ADDF-4728-B100-1C894A791BE2.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxtdelegate
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // UITableViewDelegate
14 | //=================================================================
15 | #pragma mark - UITableViewDelegate
16 | IDECodeSnippetIdentifier
17 | 01DDFCA9-ADDF-4728-B100-1C894A791BE2
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线-UITableViewDelegate
22 | IDECodeSnippetTitle
23 | Objective-C 分割线-UITableViewDelegate
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/021EC00A-EA32-4F78-8832-4FEA248C7188.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxcsh
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // 初始化
14 | //=================================================================
15 | // MARK: - 初始化
16 | IDECodeSnippetIdentifier
17 | 021EC00A-EA32-4F78-8832-4FEA248C7188
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线-初始化
22 | IDECodeSnippetTitle
23 | Swift 分割线-初始化
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/04589E08-4365-4B36-A4C4-4C0F88AD6537.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | hideNavShadow
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | override func viewWillAppear(_ animated: Bool) {
13 | super.viewWillAppear(animated)
14 | self.hiddenNavBarShadowImage()
15 | }
16 | override func viewWillDisappear(_ animated: Bool) {
17 | super.viewWillDisappear(animated)
18 | self.showNavBarShadowImage()
19 | }
20 | IDECodeSnippetIdentifier
21 | 04589E08-4365-4B36-A4C4-4C0F88AD6537
22 | IDECodeSnippetLanguage
23 | Xcode.SourceCodeLanguage.Swift
24 | IDECodeSnippetSummary
25 | swift 隐藏导航栏阴影
26 | IDECodeSnippetTitle
27 | swift 隐藏导航栏阴影
28 | IDECodeSnippetUserSnippet
29 |
30 | IDECodeSnippetVersion
31 | 2
32 |
33 |
34 |
--------------------------------------------------------------------------------
/05118B70-8FEC-4BA5-98DD-03255D646E0F.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | swiftNetResponse
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | if responseData.errorCode != nil {
13 | EDToast.show(waitViewHideLoading: self.view, message: responseData.message)
14 | return
15 | }
16 | IDECodeSnippetIdentifier
17 | 05118B70-8FEC-4BA5-98DD-03255D646E0F
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 处理请求返回的数据
22 | IDECodeSnippetTitle
23 | Swift 处理请求返回的数据
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/0A6CC597-0D3F-467D-9EA9-632E2F474AEC.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | zjtupple
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | ///<RESULT>=[<#name#>: <#Type#>, <#name#>: <#Type#>]
13 | IDECodeSnippetIdentifier
14 | 0A6CC597-0D3F-467D-9EA9-632E2F474AEC
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift 注解元组
19 | IDECodeSnippetTitle
20 | Swift 注解元组
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/0AD64C98-73B3-4AC5-BCA3-7FB66773333E.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | linkenable
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //swiftlint:enable <#xxxxxx#>
13 | IDECodeSnippetIdentifier
14 | 0AD64C98-73B3-4AC5-BCA3-7FB66773333E
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift Link-Enable
19 | IDECodeSnippetTitle
20 | Swift Link-Enable
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/0B715AEB-E97F-4E74-8BA7-EB87A45CDAFD.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | hanshuTime
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | let begin = Date().timeIntervalSince1970 * 1000
13 | let end = Date().timeIntervalSince1970 * 1000
14 | print("耗时时间:\(end - begin)")
15 | IDECodeSnippetIdentifier
16 | 0B715AEB-E97F-4E74-8BA7-EB87A45CDAFD
17 | IDECodeSnippetLanguage
18 | Xcode.SourceCodeLanguage.Swift
19 | IDECodeSnippetSummary
20 | Swift 函数耗时
21 | IDECodeSnippetTitle
22 | Swift 函数耗时
23 | IDECodeSnippetUserSnippet
24 |
25 | IDECodeSnippetVersion
26 | 2
27 |
28 |
29 |
--------------------------------------------------------------------------------
/0EE9D515-ED49-4993-8970-3930D1C1306A.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | ThemeColorConfig
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | /// 使用场景 <#使用场景#>
13 | static var <#colorName#>: UIColor { ["<#亮色主题颜色#>", "<#暗色主题颜色#>"].themeColor() }
14 | IDECodeSnippetIdentifier
15 | 0EE9D515-ED49-4993-8970-3930D1C1306A
16 | IDECodeSnippetLanguage
17 | Xcode.SourceCodeLanguage.Swift
18 | IDECodeSnippetSummary
19 | Swift ThemeColorConfig
20 | IDECodeSnippetTitle
21 | Swift ThemeColorConfig
22 | IDECodeSnippetUserSnippet
23 |
24 | IDECodeSnippetVersion
25 | 2
26 |
27 |
28 |
--------------------------------------------------------------------------------
/0FD2D0E6-5310-483D-A574-E9C426FC24B3.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | racWeak
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | @weakify(<#instance#>);
13 | IDECodeSnippetIdentifier
14 | 0FD2D0E6-5310-483D-A574-E9C426FC24B3
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Objective-C
17 | IDECodeSnippetSummary
18 | Objective-C rac的weak操作
19 | IDECodeSnippetTitle
20 | Objective-C rac的weak操作
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/10F6B03C-3D54-459B-8F68-C9D006288D47.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxpragma
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // <#name#>
14 | //=================================================================
15 | #pragma mark - <#name#>
16 | IDECodeSnippetIdentifier
17 | 10F6B03C-3D54-459B-8F68-C9D006288D47
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线-pragma
22 | IDECodeSnippetTitle
23 | Objective-C 分割线-pragma
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/146FB07B-D16E-4DA8-B0F4-682ACAF65909.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | swiftquery
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | /// <#函数注释#>
13 | static func query<#请求什么#>(holder: AnyObject?, handler: @escaping (EDResponseData) -> Void) {
14 | let apiModel = <#apiModel#>()
15 | EDNetworkClient.request(apiModel: apiModel.requestModel, holder: holder, handler: handler)
16 | }
17 | IDECodeSnippetIdentifier
18 | 146FB07B-D16E-4DA8-B0F4-682ACAF65909
19 | IDECodeSnippetLanguage
20 | Xcode.SourceCodeLanguage.Swift
21 | IDECodeSnippetSummary
22 | Swift query
23 | IDECodeSnippetTitle
24 | Swift query
25 | IDECodeSnippetUserSnippet
26 |
27 | IDECodeSnippetVersion
28 | 2
29 |
30 |
31 |
--------------------------------------------------------------------------------
/1B8EFC7E-7640-457C-A05A-EC6A154F9632.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | zs
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | /** <#注释#> */
13 | IDECodeSnippetIdentifier
14 | 1B8EFC7E-7640-457C-A05A-EC6A154F9632
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift 注释
19 | IDECodeSnippetTitle
20 | Swift 注释
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/1BFB9AEA-4E88-4E7C-8101-9BAF962594F0.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxmark
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // <#注释#>
14 | //=================================================================
15 | // MARK: - <#注释#>
16 | IDECodeSnippetIdentifier
17 | 1BFB9AEA-4E88-4E7C-8101-9BAF962594F0
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线+Mark
22 | IDECodeSnippetTitle
23 | Swift 分割线+Mark
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/1CD78119-2DDF-45A2-AF2D-E60F6F82B139.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | todo
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //TODO: <#todo#>
13 | IDECodeSnippetIdentifier
14 | 1CD78119-2DDF-45A2-AF2D-E60F6F82B139
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Generic
17 | IDECodeSnippetSummary
18 | Swift todo
19 | IDECodeSnippetTitle
20 | Swift todo
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/1EC25B87-E457-4618-9DAE-EEA83FA25869.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxtdatasource
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // UITableViewDataSource
14 | //=================================================================
15 | // MARK: - UITableViewDataSource
16 | IDECodeSnippetIdentifier
17 | 1EC25B87-E457-4618-9DAE-EEA83FA25869
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线-UITableViewDataSource
22 | IDECodeSnippetTitle
23 | Swift 分割线-UITableViewDataSource
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/1F01DF1A-C8C4-4AA0-B9B8-42868E1AF634.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | mjReplace
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | + (NSDictionary *)mj_replacedKeyFromPropertyName {
13 | return @{
14 | @"<#name#>" : @"<#name#>"
15 | };
16 | }
17 | IDECodeSnippetIdentifier
18 | 1F01DF1A-C8C4-4AA0-B9B8-42868E1AF634
19 | IDECodeSnippetLanguage
20 | Xcode.SourceCodeLanguage.Objective-C
21 | IDECodeSnippetSummary
22 | Objective-C mjReplace MJExtention 数据转模型,属性映射的处理
23 | IDECodeSnippetTitle
24 | Objective-C mjReplace
25 | IDECodeSnippetUserSnippet
26 |
27 | IDECodeSnippetVersion
28 | 2
29 |
30 |
31 |
--------------------------------------------------------------------------------
/248802BD-95B9-4FF7-A80A-F28976960C0D.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxAlert
7 | IDECodeSnippetCompletionScopes
8 |
9 | ClassImplementation
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // UIAlertViewDelegate
14 | //=================================================================
15 | #pragma mark - UIAlertViewDelegate
16 | IDECodeSnippetIdentifier
17 | 248802BD-95B9-4FF7-A80A-F28976960C0D
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线-UIAlertViewDelegate
22 | IDECodeSnippetTitle
23 | Objective-C 分割线-UIAlertViewDelegate
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/25735F6C-227B-45E8-A1A9-79244C9950B3.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxibaction
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // IBAction
14 | //=================================================================
15 | #pragma mark - IBAction
16 | IDECodeSnippetIdentifier
17 | 25735F6C-227B-45E8-A1A9-79244C9950B3
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线-IBAction
22 | IDECodeSnippetTitle
23 | Objective-C 分割线-IBAction
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/26980113-1801-4991-8728-C5CBDD068F00.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxgzq
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // 构造器
14 | //=================================================================
15 | // MARK: - 构造器
16 | IDECodeSnippetIdentifier
17 | 26980113-1801-4991-8728-C5CBDD068F00
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线-构造器
22 | IDECodeSnippetTitle
23 | Swift 分割线-构造器
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/278ED0B8-2B09-4314-859E-E91E1DDA26FA.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | racStrong
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | @strongify(<#instance#>);
13 | IDECodeSnippetIdentifier
14 | 278ED0B8-2B09-4314-859E-E91E1DDA26FA
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Objective-C
17 | IDECodeSnippetSummary
18 | Objective-C rac的strong操作
19 | IDECodeSnippetTitle
20 | Objective-C rac的strong操作
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/29697711-96FD-4CD3-942C-E8E8F8040688.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | copy
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | /** <#注释#> */
13 | @property (nonatomic, copy) NSString *<#name#>;
14 | IDECodeSnippetIdentifier
15 | 29697711-96FD-4CD3-942C-E8E8F8040688
16 | IDECodeSnippetLanguage
17 | Xcode.SourceCodeLanguage.Objective-C
18 | IDECodeSnippetSummary
19 | Objective-C 属性copy
20 | IDECodeSnippetTitle
21 | Objective-C 属性copy
22 | IDECodeSnippetUserSnippet
23 |
24 | IDECodeSnippetVersion
25 | 2
26 |
27 |
28 |
--------------------------------------------------------------------------------
/2A037EA4-E43E-47CA-A30A-0312A9A27A80.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | objectiveCiphone
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | #if TARGET_IPHONE_SIMULATOR == 0
13 | IDECodeSnippetIdentifier
14 | 2A037EA4-E43E-47CA-A30A-0312A9A27A80
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Objective-C
17 | IDECodeSnippetSummary
18 | Objective-C iphone 真机条件编译
19 | IDECodeSnippetTitle
20 | Objective-C iphone 真机条件编译
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/2B60D924-0BCA-4825-8914-D3B5763E5942.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxhttp
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // Http Request
14 | //=================================================================
15 | #pragma mark - Http Request
16 | IDECodeSnippetIdentifier
17 | 2B60D924-0BCA-4825-8914-D3B5763E5942
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线-网络请求
22 | IDECodeSnippetTitle
23 | Objective-C 分割线-网络请求
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/34E681D8-967A-42AC-BFF3-3855393F746F.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxibaction
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // @IBAction
14 | //=================================================================
15 | // MARK: - @IBAction
16 | IDECodeSnippetIdentifier
17 | 34E681D8-967A-42AC-BFF3-3855393F746F
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线-IBAction
22 | IDECodeSnippetTitle
23 | Swift 分割线-IBAction
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/36E76C36-B8A5-4792-8E26-A8FCDFE9D653.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxset
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // set方法
14 | //=================================================================
15 | #pragma mark - set方法
16 | IDECodeSnippetIdentifier
17 | 36E76C36-B8A5-4792-8E26-A8FCDFE9D653
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线-set方法
22 | IDECodeSnippetTitle
23 | Objective-C 分割线-set方法
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/38E6C3CF-0A8D-4BDC-90A1-A3F6923D79F6.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | controllersmzq
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | override func viewWillAppear(_ animated: Bool) {
13 | super.viewWillAppear(animated)
14 | print("\(self) viewWillAppear")
15 | }
16 | override func viewDidAppear(_ animated: Bool) {
17 | super.viewDidAppear(animated)
18 | print("\(self) viewDidAppear")
19 | }
20 | override func viewWillDisappear(_ animated: Bool) {
21 | super.viewWillDisappear(animated)
22 | print("\(self) viewWillDisappear")
23 | }
24 | override func viewDidDisappear(_ animated: Bool) {
25 | super.viewDidDisappear(animated)
26 | print("\(self) viewDidDisappear")
27 | }
28 | IDECodeSnippetIdentifier
29 | 38E6C3CF-0A8D-4BDC-90A1-A3F6923D79F6
30 | IDECodeSnippetLanguage
31 | Xcode.SourceCodeLanguage.Swift
32 | IDECodeSnippetSummary
33 | Swift 生命周期
34 | IDECodeSnippetTitle
35 | Swift 生命周期
36 | IDECodeSnippetUserSnippet
37 |
38 | IDECodeSnippetVersion
39 | 2
40 |
41 |
42 |
--------------------------------------------------------------------------------
/3BCB0492-9D8E-456B-BFA6-776A2E57512D.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgx
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // <#注释#>
14 | //=================================================================
15 | IDECodeSnippetIdentifier
16 | 3BCB0492-9D8E-456B-BFA6-776A2E57512D
17 | IDECodeSnippetLanguage
18 | Xcode.SourceCodeLanguage.Swift
19 | IDECodeSnippetSummary
20 | Swift 分割线
21 | IDECodeSnippetTitle
22 | Swift 分割线
23 | IDECodeSnippetUserSnippet
24 |
25 | IDECodeSnippetVersion
26 | 2
27 |
28 |
29 |
--------------------------------------------------------------------------------
/41EE7849-4843-46BE-B5F4-A32BC15DF6D5.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | linkDisable
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //swiftlint:disable <#xxxxxx#>
13 | IDECodeSnippetIdentifier
14 | 41EE7849-4843-46BE-B5F4-A32BC15DF6D5
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift Link-Disable
19 | IDECodeSnippetTitle
20 | Swift Link-Disable
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/42813D0D-9EF0-481E-914E-723441B22CD7.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxheng
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | /*--------------------------<#name#>-------------------------*/
13 | IDECodeSnippetIdentifier
14 | 42813D0D-9EF0-481E-914E-723441B22CD7
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Objective-C
17 | IDECodeSnippetSummary
18 | Objective-C 分割线-横线
19 | IDECodeSnippetTitle
20 | Objective-C 分割线-横线
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/455D95AB-2D12-44DC-9BD5-6CFE36E9BC62.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | tzs
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | /**< <#注释#> */
13 | IDECodeSnippetIdentifier
14 | 455D95AB-2D12-44DC-9BD5-6CFE36E9BC62
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Objective-C
17 | IDECodeSnippetSummary
18 | Objective-C 单行结尾的注释
19 | IDECodeSnippetTitle
20 | Objective-C 单行结尾的注释
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/462D9242-3EBC-4FAA-BBDA-B8CC44978CDA.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | swiftiphone
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | #if !targetEnvironment(simulator)
13 | IDECodeSnippetIdentifier
14 | 462D9242-3EBC-4FAA-BBDA-B8CC44978CDA
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift-iphone 真机条件编译
19 | IDECodeSnippetTitle
20 | Swift-iphone 真机条件编译
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/46995303-0343-4A1D-919E-47E7C76EB9E9.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | zjoption
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | ///<RESULT>=<#TypeString#>?
13 | IDECodeSnippetIdentifier
14 | 46995303-0343-4A1D-919E-47E7C76EB9E9
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift 注解可选
19 | IDECodeSnippetTitle
20 | Swift 注解可选
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/486EB062-CF40-4C68-A4D9-D7C29B707226.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | zj
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | ///<RESULT>=<#TypeString#>
13 | IDECodeSnippetIdentifier
14 | 486EB062-CF40-4C68-A4D9-D7C29B707226
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift 结果注解
19 | IDECodeSnippetTitle
20 | Swift 结果注解
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/4BB42E75-34EC-465A-ADF6-5FEA0CA89513.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxheng
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | /*--------------------------<#name#>-------------------------*/
13 | IDECodeSnippetIdentifier
14 | 4BB42E75-34EC-465A-ADF6-5FEA0CA89513
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift 分割线-横线
19 | IDECodeSnippetTitle
20 | Swift 分割线-横线
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/55055D47-63EC-477F-B737-A168CDC7B587.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxhttps
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // Https Request
14 | //=================================================================
15 | // MARK: - Https Request
16 | IDECodeSnippetIdentifier
17 | 55055D47-63EC-477F-B737-A168CDC7B587
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线-网络请求
22 | IDECodeSnippetTitle
23 | Swift 分割线-网络请求
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/598C0A78-30C8-4F92-8ED4-FECA7D97A584.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgx
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // 分割线
14 | //=================================================================
15 |
16 | IDECodeSnippetIdentifier
17 | 598C0A78-30C8-4F92-8ED4-FECA7D97A584
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线
22 | IDECodeSnippetTitle
23 | Objective-C 分割线
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/5A75C951-63AE-405D-86EA-CDFE2435A2FA.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | sfgx
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=======================
13 | // <#注释#>
14 | //=======================
15 | IDECodeSnippetIdentifier
16 | 5A75C951-63AE-405D-86EA-CDFE2435A2FA
17 | IDECodeSnippetLanguage
18 | Xcode.SourceCodeLanguage.Swift
19 | IDECodeSnippetSummary
20 | Swift 短分割线
21 | IDECodeSnippetTitle
22 | Swift 短分割线
23 | IDECodeSnippetUserSnippet
24 |
25 | IDECodeSnippetVersion
26 | 2
27 |
28 |
29 |
--------------------------------------------------------------------------------
/5A8E4979-819A-421D-8E99-4CB60F630D9D.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | ObjectiveCiPhone
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | #if TARGET_IPHONE_SIMULATOR
13 | IDECodeSnippetIdentifier
14 | 5A8E4979-819A-421D-8E99-4CB60F630D9D
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Objective-C
17 | IDECodeSnippetSummary
18 | Objective-C simulator 模拟器条件编译
19 | IDECodeSnippetTitle
20 | Objective-C simulator 模拟器条件编译
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/5F485366-EA33-4F74-899A-94F2AE47117F.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxljz
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // 懒加载
14 | //=================================================================
15 | // MARK: - 懒加载
16 | IDECodeSnippetIdentifier
17 | 5F485366-EA33-4F74-899A-94F2AE47117F
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线-懒加载
22 | IDECodeSnippetTitle
23 | Swift 分割线-懒加载
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/6121ABB8-A970-4A01-9491-E90ADB411807.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxother
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // other
14 | //=================================================================
15 | // MARK: - other
16 | IDECodeSnippetIdentifier
17 | 6121ABB8-A970-4A01-9491-E90ADB411807
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线-其他
22 | IDECodeSnippetTitle
23 | Swift 分割线-其他
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/63467D08-D688-4CB5-924E-5C3CD733D7ED.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | staticCellId
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | private let <#cellID#>: String = "<#cellID#>"
13 | IDECodeSnippetIdentifier
14 | 63467D08-D688-4CB5-924E-5C3CD733D7ED
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift StaticCellId
19 | IDECodeSnippetTitle
20 | Swift StaticCellId
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/6A5151F3-CD54-4E1C-AE84-897F13139EAA.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxtdelegate
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // UITableViewDelegate
14 | //=================================================================
15 | // MARK: - UITableViewDelegate
16 | IDECodeSnippetIdentifier
17 | 6A5151F3-CD54-4E1C-AE84-897F13139EAA
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线-UITableViewDelegate
22 | IDECodeSnippetTitle
23 | Swift 分割线-UITableViewDelegate
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/6A91CC59-6AF0-4D8B-B065-9DE05DC9413E.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | varoption
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | var <#属性#>: <#类型#>?
13 | IDECodeSnippetIdentifier
14 | 6A91CC59-6AF0-4D8B-B065-9DE05DC9413E
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift var可选
19 | IDECodeSnippetTitle
20 | Swift var可选
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/6D620BA1-3C06-4E62-93D1-24B25B31774E.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | staticCellID
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | static NSString *const <#name#> = @"<#name#>";
13 | IDECodeSnippetIdentifier
14 | 6D620BA1-3C06-4E62-93D1-24B25B31774E
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Objective-C
17 | IDECodeSnippetSummary
18 | Objective-C staticCellID 创建静态CellID
19 | IDECodeSnippetTitle
20 | Objective-C staticCellID
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/6EF3E604-A08D-4164-90D8-D735E1B2AEA4.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxFieldDelegate
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // UITextFieldDelegate
14 | //=================================================================
15 | #pragma mark - UITextFieldDelegate
16 | IDECodeSnippetIdentifier
17 | 6EF3E604-A08D-4164-90D8-D735E1B2AEA4
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线-UITextFieldDelegate
22 | IDECodeSnippetTitle
23 | Objective-C 分割线-UITextFieldDelegate
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/70292FBA-B85D-4265-83D6-4E8A202D9654.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxScrollViewDelegate
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // UIScrollViewDelegate
14 | //=================================================================
15 | // MARK: - UIScrollViewDelegate
16 | IDECodeSnippetIdentifier
17 | 70292FBA-B85D-4265-83D6-4E8A202D9654
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线-UIScrollViewDelegate
22 | IDECodeSnippetTitle
23 | Swift 分割线-UIScrollViewDelegate
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/7A5CD87B-B4F8-4F8A-A3CC-D5EC9851BBB0.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | zjlj
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //====================================================================================================
13 | // 属性解析拦截开始
14 | //====================================================================================================
15 |
16 |
17 | /// 需要拦截的代码字符串
18 | let codeString: String =
19 | """
20 | <#code#>
21 | """
22 | /// 需要拦截的文件名,如果忽略文件名,则传nil
23 | let ljFileName: String? = <#swiftName#>
24 | if let ljFileName = ljFileName, let path: Path, ljFileName.isEmpty == false, ljFileName == path.fileName {
25 | if codeString.contains(self.getNodeString(node: <#node#>)) {
26 | print("\n\n=============================================================拦截解析")
27 | print(self.getNodeString(node: property_declaration_node))
28 | print("\n\n")
29 | }
30 | }
31 | //====================================================================================================
32 | //====================================================================================================
33 | IDECodeSnippetIdentifier
34 | 7A5CD87B-B4F8-4F8A-A3CC-D5EC9851BBB0
35 | IDECodeSnippetLanguage
36 | Xcode.SourceCodeLanguage.Swift
37 | IDECodeSnippetSummary
38 | Swift 代码解析断点拦截
39 | IDECodeSnippetTitle
40 | Swift 代码解析断点拦截
41 | IDECodeSnippetUserSnippet
42 |
43 | IDECodeSnippetVersion
44 | 2
45 |
46 |
47 |
--------------------------------------------------------------------------------
/7B8CC1AE-32E9-44FD-A62F-A557CA50BC81.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | zjfunction
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | ///<RESULT>=[<#name#>: <#Type#>, <#name#>: <#Type#>] -> <#Type#>
13 | IDECodeSnippetIdentifier
14 | 7B8CC1AE-32E9-44FD-A62F-A557CA50BC81
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift 注解函数
19 | IDECodeSnippetTitle
20 | Swift 注解函数
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/7FD19F46-0EF5-45D1-9DC5-4B6EAE01D94C.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxsingle
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | IDECodeSnippetIdentifier
14 | 7FD19F46-0EF5-45D1-9DC5-4B6EAE01D94C
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift 分割线 - 单行
19 | IDECodeSnippetTitle
20 | Swift 分割线 - 单行
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/821CD466-F0E2-4014-8FFD-DBDA5CE95B8C.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxTableViewDatasourceCode
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // UITableViewDataSource
14 | //=================================================================
15 | // MARK: - UITableViewDataSource
16 | extension <#class#> {
17 | func numberOfSections(in tableView: UITableView) -> Int {
18 | return <#number#>
19 | }
20 | func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
21 | return <#number#>
22 | }
23 | func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
24 | var returnCell: UITableViewCell!
25 | <#toDo#>
26 | return returnCell
27 | }
28 | }
29 | IDECodeSnippetIdentifier
30 | 821CD466-F0E2-4014-8FFD-DBDA5CE95B8C
31 | IDECodeSnippetLanguage
32 | Xcode.SourceCodeLanguage.Swift
33 | IDECodeSnippetSummary
34 | swift 分割线-UITableViewDataSource 代码块
35 | IDECodeSnippetTitle
36 | swift 分割线-UITableViewDataSource 代码块
37 | IDECodeSnippetUserSnippet
38 |
39 | IDECodeSnippetVersion
40 | 2
41 |
42 |
43 |
--------------------------------------------------------------------------------
/82B61335-8995-4F93-9AC1-D22236E5B35C.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxoverride
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // override
14 | //=================================================================
15 | // MARK: - override
16 | IDECodeSnippetIdentifier
17 | 82B61335-8995-4F93-9AC1-D22236E5B35C
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线-override
22 | IDECodeSnippetTitle
23 | Swift 分割线-override
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/82C48288-C50A-4229-9CA9-4D9D75DAD4D8.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | zjdictionary
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | ///<RESULT>=Dictionary<<#keyString#>, <#valueString#>>
13 | IDECodeSnippetIdentifier
14 | 82C48288-C50A-4229-9CA9-4D9D75DAD4D8
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift 注解字典
19 | IDECodeSnippetTitle
20 | Swift 注解字典
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/84AFE70C-111E-4DE3-84F5-C86457D8369B.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxsmzq
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // 生命周期
14 | //=================================================================
15 | #pragma mark - 生命周期
16 | IDECodeSnippetIdentifier
17 | 84AFE70C-111E-4DE3-84F5-C86457D8369B
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线-生命周期
22 | IDECodeSnippetTitle
23 | Objective-C 分割线-生命周期
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/8A08932B-8D05-4102-864E-DFBA78545AB1.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | strong
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | /** <#注释#> */
13 | @property (nonatomic, strong) <#type#> *<#name#>;
14 | IDECodeSnippetIdentifier
15 | 8A08932B-8D05-4102-864E-DFBA78545AB1
16 | IDECodeSnippetLanguage
17 | Xcode.SourceCodeLanguage.Objective-C
18 | IDECodeSnippetSummary
19 | Objective-C 属性strong
20 | IDECodeSnippetTitle
21 | Objective-C 属性strong
22 | IDECodeSnippetUserSnippet
23 |
24 | IDECodeSnippetVersion
25 | 2
26 |
27 |
28 |
--------------------------------------------------------------------------------
/8A19F296-11BC-404E-95F8-6C69341C3125.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | makeall
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | make.left.equalToSuperview()
13 | make.top.equalToSuperview()
14 | make.bottom.equalToSuperview()
15 | make.right.equalToSuperview()
16 | IDECodeSnippetIdentifier
17 | 8A19F296-11BC-404E-95F8-6C69341C3125
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 |
22 | IDECodeSnippetTitle
23 | Swift-make-all
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/8ADF5D4E-2779-4CBD-8C96-4256C27B3A43.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxAlert
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // UIAlertViewDelegate
14 | //=================================================================
15 | // MARK: - UIAlertViewDelegate
16 | IDECodeSnippetIdentifier
17 | 8ADF5D4E-2779-4CBD-8C96-4256C27B3A43
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线-UIAlertViewDelegate
22 | IDECodeSnippetTitle
23 | Swift 分割线-UIAlertViewDelegate
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/8BE20E8E-4083-4B58-BAE6-DFA46448B66F.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | ColumnCodable String Class
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | class <#Class name#>: WCDBSwift.ColumnCodable, WCDBSwift.LiteralValueConvertible, WCDBSwift.ExpressionCanBeOperated {
13 | static var columnType: ColumnType {
14 | return .text
15 | }
16 |
17 | required init?(with value: FundamentalValue) {
18 | <#init with value.stringValue#>
19 | }
20 |
21 | func archivedValue() -> FundamentalValue {
22 | return FundamentalValue(<#String#>)
23 | }
24 | }
25 |
26 | IDECodeSnippetIdentifier
27 | 8BE20E8E-4083-4B58-BAE6-DFA46448B66F
28 | IDECodeSnippetLanguage
29 | Xcode.SourceCodeLanguage.Swift
30 | IDECodeSnippetTitle
31 | ColumnCodable String Snippet
32 | IDECodeSnippetUserSnippet
33 |
34 | IDECodeSnippetVersion
35 | 2
36 |
37 |
38 |
--------------------------------------------------------------------------------
/8C25E887-D929-41E6-B020-3195325EC9BC.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxsj
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // 事件处理
14 | //=================================================================
15 | #pragma mark - 事件处理
16 | IDECodeSnippetIdentifier
17 | 8C25E887-D929-41E6-B020-3195325EC9BC
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线-事件处理
22 | IDECodeSnippetTitle
23 | Objective-C 分割线-事件处理
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/9187C0A5-94FF-4FA0-B0EC-5D2562C5AD4B.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | assign
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | /** <#name#> */
13 | @property (nonatomic, assign) <#type#> <#name#>;
14 | IDECodeSnippetIdentifier
15 | 9187C0A5-94FF-4FA0-B0EC-5D2562C5AD4B
16 | IDECodeSnippetLanguage
17 | Xcode.SourceCodeLanguage.Objective-C
18 | IDECodeSnippetSummary
19 | Objective-C 属性assign
20 | IDECodeSnippetTitle
21 | Objective-C 属性assign
22 | IDECodeSnippetUserSnippet
23 |
24 | IDECodeSnippetVersion
25 | 2
26 |
27 |
28 |
--------------------------------------------------------------------------------
/9217BD17-FE92-4179-AD6D-327C7B6BDD1C.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | zs
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | /** <#注释#> */
13 | IDECodeSnippetIdentifier
14 | 9217BD17-FE92-4179-AD6D-327C7B6BDD1C
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Objective-C
17 | IDECodeSnippetSummary
18 | Objective-C 注释 /** 注释*/
19 | IDECodeSnippetTitle
20 | Objective-C 注释 /** 注释*/
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/926B47FD-30A2-44BB-B54C-C229B71917DF.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | zjgeneric
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | ///<RESULT>=<#Type#><<#Type#>, <#Type#>>
13 | IDECodeSnippetIdentifier
14 | 926B47FD-30A2-44BB-B54C-C229B71917DF
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift 注解泛型
19 | IDECodeSnippetTitle
20 | Swift 注解泛型
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/967991F2-FA29-421B-BC44-9982D735374A.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | zjvoid
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | ///<RESULT>=Void
13 | IDECodeSnippetIdentifier
14 | 967991F2-FA29-421B-BC44-9982D735374A
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift 注解Void
19 | IDECodeSnippetTitle
20 | Swift 注解Void
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/971F3F1A-7391-4FA9-8EB2-45B1E224B80C.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | zjarray
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | ///<RESULT>=Array<<#TypeString#>>
13 | IDECodeSnippetIdentifier
14 | 971F3F1A-7391-4FA9-8EB2-45B1E224B80C
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift 注解-数组
19 | IDECodeSnippetTitle
20 | Swift 注解-数组
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/9B4640DA-22FA-48B5-B0D4-2DBE890B1C0A.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxljz
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // 懒加载
14 | //=================================================================
15 | #pragma mark - 懒加载
16 | IDECodeSnippetIdentifier
17 | 9B4640DA-22FA-48B5-B0D4-2DBE890B1C0A
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线-懒加载
22 | IDECodeSnippetTitle
23 | Objective-C 分割线-懒加载
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/9B6961BC-A224-43A6-A333-735CEBC34500.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | zjset
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | ///<RESULT>=Set<<#TypeString#>>
13 | IDECodeSnippetIdentifier
14 | 9B6961BC-A224-43A6-A333-735CEBC34500
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift 注解Set
19 | IDECodeSnippetTitle
20 | Swift 注解Set
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/9DE2BD6A-0B6F-4012-9B59-324735A06035.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxother
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // other
14 | //=================================================================
15 | #pragma mark - other
16 | IDECodeSnippetIdentifier
17 | 9DE2BD6A-0B6F-4012-9B59-324735A06035
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线-other
22 | IDECodeSnippetTitle
23 | Objective-C 分割线-other
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/A0F1160A-96ED-4806-B46F-78FFBB79B162.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | mjInArray
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | + (NSDictionary *)mj_objectClassInArray {
13 | return @{
14 | @"<#name#>" : @"<#name#>"
15 | };
16 | }
17 | IDECodeSnippetIdentifier
18 | A0F1160A-96ED-4806-B46F-78FFBB79B162
19 | IDECodeSnippetLanguage
20 | Xcode.SourceCodeLanguage.Objective-C
21 | IDECodeSnippetSummary
22 | Objective-C mjInArray MJExtension数据转模型,模型数组的处理
23 | IDECodeSnippetTitle
24 | Objective-C mjInArray
25 | IDECodeSnippetUserSnippet
26 |
27 | IDECodeSnippetVersion
28 | 2
29 |
30 |
31 |
--------------------------------------------------------------------------------
/A2803C4C-F430-45A2-B88D-18A5DF6F63A7.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | swiftCollectionView
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | lazy var layout: UICollectionViewFlowLayout = {
13 | let layout = UICollectionViewFlowLayout()
14 | let itemWidth: CGFloat = <#itemWidth#>
15 | let itemHeight: CGFloat = <#itemHeight#>
16 | layout.itemSize = CGSize(width: itemWidth, height: itemHeight)
17 | layout.minimumInteritemSpacing = <#每个item的间距#>
18 | layout.minimumLineSpacing = <#行的间距#>
19 | layout.scrollDirection = .vertical
20 | return layout
21 | }()
22 | lazy var collectionView: UICollectionView = {
23 | let collectionView = UICollectionView(frame: .zero, collectionViewLayout: layout)
24 | collectionView.backgroundColor = .clear
25 | collectionView.dataSource = self
26 | collectionView.delegate = self
27 | collectionView.register(<#collectionViewCell#>.self, forCellWithReuseIdentifier: <#Cell的ID#>)
28 | return collectionView
29 | }()
30 | IDECodeSnippetIdentifier
31 | A2803C4C-F430-45A2-B88D-18A5DF6F63A7
32 | IDECodeSnippetLanguage
33 | Xcode.SourceCodeLanguage.Swift
34 | IDECodeSnippetSummary
35 | Swift CollectionView
36 | IDECodeSnippetTitle
37 | Swift CollectionView
38 | IDECodeSnippetUserSnippet
39 |
40 | IDECodeSnippetVersion
41 | 2
42 |
43 |
44 |
--------------------------------------------------------------------------------
/A6D05535-BD7A-4257-B7F4-7B840BECCDDE.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fixMe
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //FIXME: fixMe
13 | IDECodeSnippetIdentifier
14 | A6D05535-BD7A-4257-B7F4-7B840BECCDDE
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Generic
17 | IDECodeSnippetSummary
18 | Swift FixMe
19 | IDECodeSnippetTitle
20 | Swift FixMe
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/A84C1E80-2A11-4887-AE93-992FC5EA12B1.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxFieldDelegate
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // UITextFieldDelegate
14 | //=================================================================
15 | // MARK: - UITextFieldDelegate
16 | IDECodeSnippetIdentifier
17 | A84C1E80-2A11-4887-AE93-992FC5EA12B1
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线-UITextFieldDelegate
22 | IDECodeSnippetTitle
23 | Swift 分割线-UITextFieldDelegate
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/AC26BA42-9E1E-470D-916A-6E1FAA01382F.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxcsh
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // 初始化
14 | //=================================================================
15 | #pragma mark - 初始化
16 | IDECodeSnippetIdentifier
17 | AC26BA42-9E1E-470D-916A-6E1FAA01382F
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线-初始化
22 | IDECodeSnippetTitle
23 | Objective-C 分割线-初始化
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/AEE92D80-8ABF-4076-88AD-1D7520FBD638.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | swiftsimulator
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | #if targetEnvironment(simulator)
13 | IDECodeSnippetIdentifier
14 | AEE92D80-8ABF-4076-88AD-1D7520FBD638
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | Swift-simulator 模拟器条件编译
19 | IDECodeSnippetTitle
20 | Swift-simulator 模拟器条件编译
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/B13B8BAC-A385-4B1A-90C5-C1148B87090B.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | weak
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | /** <#注释#> */
13 | @property (nonatomic, weak) <#type#> *<#name#>;
14 | IDECodeSnippetIdentifier
15 | B13B8BAC-A385-4B1A-90C5-C1148B87090B
16 | IDECodeSnippetLanguage
17 | Xcode.SourceCodeLanguage.Objective-C
18 | IDECodeSnippetSummary
19 | Objective-C 属性weak
20 | IDECodeSnippetTitle
21 | Objective-C 属性weak
22 | IDECodeSnippetUserSnippet
23 |
24 | IDECodeSnippetVersion
25 | 2
26 |
27 |
28 |
--------------------------------------------------------------------------------
/B14205BA-45FD-486A-9AC7-98B08B2D6105.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxScrollViewDelegate
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // UIScrollViewDelegate
14 | //=================================================================
15 | #pragma mark - UIScrollViewDelegate
16 | IDECodeSnippetIdentifier
17 | B14205BA-45FD-486A-9AC7-98B08B2D6105
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线-UIScrollViewDelegate
22 | IDECodeSnippetTitle
23 | Objective-C 分割线-UIScrollViewDelegate
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/B249C11C-BCCE-4DEC-9DD9-8B5B019B91B4.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxtdatasource
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // UITableViewDataSource
14 | //=================================================================
15 | #pragma mark - UITableViewDataSource
16 | IDECodeSnippetIdentifier
17 | B249C11C-BCCE-4DEC-9DD9-8B5B019B91B4
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Objective-C
20 | IDECodeSnippetSummary
21 | Objective-C 分割线-UITableViewDataSource
22 | IDECodeSnippetTitle
23 | Objective-C 分割线-UITableViewDataSource
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/B3D74C58-0499-435B-88A4-3A3531F0F6AD.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | sfgx
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================
13 | // <#description#>
14 | //=================
15 | IDECodeSnippetIdentifier
16 | B3D74C58-0499-435B-88A4-3A3531F0F6AD
17 | IDECodeSnippetLanguage
18 | Xcode.SourceCodeLanguage.Objective-C
19 | IDECodeSnippetSummary
20 | Objective-C 短分割线
21 | IDECodeSnippetTitle
22 | Objective-C 短分割线
23 | IDECodeSnippetUserSnippet
24 |
25 | IDECodeSnippetVersion
26 | 2
27 |
28 |
29 |
--------------------------------------------------------------------------------
/C20F4CAA-C2BF-47EF-ADC0-7F50FAA8DE1C.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | ColumnCodable Double Class
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | class <#Class name#>: WCDBSwift.ColumnCodable, WCDBSwift.LiteralValueConvertible, WCDBSwift.ExpressionCanBeOperated {
13 | static var columnType: ColumnType {
14 | return .float
15 | }
16 |
17 | required init?(with value: FundamentalValue) {
18 | <#init with value.doubleValue#>
19 | }
20 |
21 | func archivedValue() -> FundamentalValue {
22 | return FundamentalValue(<#Double#>)
23 | }
24 | }
25 |
26 | IDECodeSnippetIdentifier
27 | C20F4CAA-C2BF-47EF-ADC0-7F50FAA8DE1C
28 | IDECodeSnippetLanguage
29 | Xcode.SourceCodeLanguage.Swift
30 | IDECodeSnippetTitle
31 | ColumnCodable Double Snippet
32 | IDECodeSnippetUserSnippet
33 |
34 | IDECodeSnippetVersion
35 | 2
36 |
37 |
38 |
--------------------------------------------------------------------------------
/C761C363-3A14-42E0-B845-90179901B7AC.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxTableViewDelegateCode
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // UITableViewDelegate
14 | //=================================================================
15 | // MARK: - UITableViewDelegate
16 | extension <#class#> {
17 | func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
18 | <#toDo#>
19 | return nil
20 | }
21 |
22 | func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
23 | <#toDo#>
24 | return 0
25 | }
26 |
27 | func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
28 | <#toDo#>
29 | }
30 | }
31 | IDECodeSnippetIdentifier
32 | C761C363-3A14-42E0-B845-90179901B7AC
33 | IDECodeSnippetLanguage
34 | Xcode.SourceCodeLanguage.Swift
35 | IDECodeSnippetSummary
36 |
37 | IDECodeSnippetTitle
38 | Swift 分割线-UITableViewDelegateCode
39 | IDECodeSnippetUserSnippet
40 |
41 | IDECodeSnippetVersion
42 | 2
43 |
44 |
45 |
--------------------------------------------------------------------------------
/E9045F0D-33C5-41A9-AC61-35B1ED15A081.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | ColumnCodable Int64 Class
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | class <#Class name#>: WCDBSwift.ColumnCodable, WCDBSwift.LiteralValueConvertible, WCDBSwift.ExpressionCanBeOperated {
13 | static var columnType: ColumnType {
14 | return .integer64
15 | }
16 |
17 | required init?(with value: FundamentalValue) {
18 | <#init with value.int64Value#>
19 | }
20 |
21 | func archivedValue() -> FundamentalValue {
22 | return FundamentalValue(<#Int64#>)
23 | }
24 | }
25 |
26 | IDECodeSnippetIdentifier
27 | E9045F0D-33C5-41A9-AC61-35B1ED15A081
28 | IDECodeSnippetLanguage
29 | Xcode.SourceCodeLanguage.Swift
30 | IDECodeSnippetTitle
31 | ColumnCodable Int64 Snippet
32 | IDECodeSnippetUserSnippet
33 |
34 | IDECodeSnippetVersion
35 | 2
36 |
37 |
38 |
--------------------------------------------------------------------------------
/EBB2F795-D487-410E-8CE8-5733CFE6E508.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | ColumnCodable Data Class
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | class <#Class name#>: WCDBSwift.ColumnCodable, WCDBSwift.LiteralValueConvertible, WCDBSwift.ExpressionCanBeOperated {
13 | static var columnType: ColumnType {
14 | return .BLOB
15 | }
16 |
17 | required init?(with value: FundamentalValue) {
18 | <#init with value.dataValue#>
19 | }
20 |
21 | func archivedValue() -> FundamentalValue {
22 | return FundamentalValue(<#Data#>)
23 | }
24 | }
25 |
26 | IDECodeSnippetIdentifier
27 | EBB2F795-D487-410E-8CE8-5733CFE6E508
28 | IDECodeSnippetLanguage
29 | Xcode.SourceCodeLanguage.Swift
30 | IDECodeSnippetTitle
31 | ColumnCodable Data Snippet
32 | IDECodeSnippetUserSnippet
33 |
34 | IDECodeSnippetVersion
35 | 2
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ED4741DF-0E00-417D-B168-CC66A531E8B2.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxsmzq
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // 生命周期
14 | //=================================================================
15 | // MARK: - 生命周期
16 | IDECodeSnippetIdentifier
17 | ED4741DF-0E00-417D-B168-CC66A531E8B2
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线-生命周期
22 | IDECodeSnippetTitle
23 | Swift 分割线-生命周期
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/ED59DA03-0656-4B33-ABFE-ACDD5F6FFCFB.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | fgxsj
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //=================================================================
13 | // 事件处理
14 | //=================================================================
15 | // MARK: - 事件处理
16 | IDECodeSnippetIdentifier
17 | ED59DA03-0656-4B33-ABFE-ACDD5F6FFCFB
18 | IDECodeSnippetLanguage
19 | Xcode.SourceCodeLanguage.Swift
20 | IDECodeSnippetSummary
21 | Swift 分割线-事件处理
22 | IDECodeSnippetTitle
23 | Swift 分割线-事件处理
24 | IDECodeSnippetUserSnippet
25 |
26 | IDECodeSnippetVersion
27 | 2
28 |
29 |
30 |
--------------------------------------------------------------------------------
/EE024200-31ED-4F0F-BB4F-F237AB15E9F5.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | todoFlag
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | //TODO: <#todo#> -- flag
13 | IDECodeSnippetIdentifier
14 | EE024200-31ED-4F0F-BB4F-F237AB15E9F5
15 | IDECodeSnippetLanguage
16 | Xcode.SourceCodeLanguage.Swift
17 | IDECodeSnippetSummary
18 | todoFlag
19 | IDECodeSnippetTitle
20 | Swift todoFlag
21 | IDECodeSnippetUserSnippet
22 |
23 | IDECodeSnippetVersion
24 | 2
25 |
26 |
27 |
--------------------------------------------------------------------------------
/F8B1A911-9071-4746-8821-6E5FC64F1B8F.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | lazyTableView
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | private lazy var tableView: UITableView = {
13 | let tableView = UITableView()
14 | tableView.separatorStyle = .none
15 | tableView.dataSource = self
16 | tableView.delegate = self
17 | tableView.register(nibWithCellClass: <#EDFansAndFollowCell#>.self)
18 | return tableView
19 | }()
20 | IDECodeSnippetIdentifier
21 | F8B1A911-9071-4746-8821-6E5FC64F1B8F
22 | IDECodeSnippetLanguage
23 | Xcode.SourceCodeLanguage.Swift
24 | IDECodeSnippetSummary
25 | lazyTableView
26 | IDECodeSnippetTitle
27 | lazyTableView
28 | IDECodeSnippetUserSnippet
29 |
30 | IDECodeSnippetVersion
31 | 2
32 |
33 |
34 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2016
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/WCDB.ColumnCodableClass.Int32.swift.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | ColumnCodable Int32 Class
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | class <#Class name#>: WCDBSwift.ColumnCodable, WCDBSwift.LiteralValueConvertible, WCDBSwift.ExpressionCanBeOperated {
13 | static var columnType: ColumnType {
14 | return .integer32
15 | }
16 |
17 | required init?(with value: FundamentalValue) {
18 | <#init with value.int32Value#>
19 | }
20 |
21 | func archivedValue() -> FundamentalValue {
22 | return FundamentalValue(<#Int32#>)
23 | }
24 | }
25 |
26 | IDECodeSnippetIdentifier
27 | BD03E1A2-9D1B-432B-B7B8-4AD3BC19023C
28 | IDECodeSnippetLanguage
29 | Xcode.SourceCodeLanguage.Swift
30 | IDECodeSnippetTitle
31 | ColumnCodable Int32 Snippet
32 | IDECodeSnippetUserSnippet
33 |
34 | IDECodeSnippetVersion
35 | 2
36 |
37 |
38 |
--------------------------------------------------------------------------------
/WCDB.TableCodableClass.swift.codesnippet:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDECodeSnippetCompletionPrefix
6 | TableCodableClass
7 | IDECodeSnippetCompletionScopes
8 |
9 | All
10 |
11 | IDECodeSnippetContents
12 | class <#Class name#>: WCDBSwift.TableCodable {
13 | //Your own properties
14 | let variable1: Int = 0
15 | var variable2: String? // Optional if it would be nil in some WCDB selection
16 | var variable3: Double? // Optional if it would be nil in some WCDB selection
17 | let unbound: Date? = nil
18 |
19 | enum CodingKeys: String, CodingTableKey {
20 | typealias Root = <#Class name#>
21 |
22 | //List the properties which should be bound to table
23 | case variable1 = "custom_name"
24 | case variable2
25 | case variable3
26 |
27 | static let objectRelationalMapping = TableBinding(CodingKeys.self)
28 |
29 | //Column constraints for primary key, unique, not null, default value and so on. It is optional.
30 | //static var columnConstraintBindings: [CodingKeys: ColumnConstraintBinding]? {
31 | // return [
32 | // .variable: ColumnConstraintBinding(isPrimary: true, isAutoIncrement: true),
33 | // .variable2: ColumnConstraintBinding(isUnique: true)
34 | // ]
35 | //}
36 |
37 | //Index bindings. It is optional.
38 | //static var indexBindings: [IndexBinding.Subfix: IndexBinding]? {
39 | // return [
40 | // "_index": IndexBinding(indexesBy: CodingKeys.variable2)
41 | // ]
42 | //}
43 |
44 | //Table constraints for multi-primary, multi-unique and so on. It is optional.
45 | //static var tableConstraintBindings: [TableConstraintBinding.Name: TableConstraintBinding]? {
46 | // return [
47 | // "MultiPrimaryConstraint": MultiPrimaryBinding(indexesBy: variable2.asIndex(orderBy: .descending), variable3.primaryKeyPart2)
48 | // ]
49 | //}
50 |
51 | //Virtual table binding for FTS and so on. It is optional.
52 | //static var virtualTableBinding: VirtualTableBinding? {
53 | // return VirtualTableBinding(with: .fts3, and: ModuleArgument(with: .WCDB))
54 | //}
55 | }
56 |
57 | //Properties below are needed only the primary key is auto-incremental
58 | //var isAutoIncrement: Bool = false
59 | //var lastInsertedRowID: Int64 = 0
60 | }
61 | IDECodeSnippetIdentifier
62 | 4A806509-68C8-4F42-9E3F-0AB87DCA7ED7
63 | IDECodeSnippetLanguage
64 | Xcode.SourceCodeLanguage.Swift
65 | IDECodeSnippetTitle
66 | TableCodable Snippet
67 | IDECodeSnippetUserSnippet
68 |
69 | IDECodeSnippetVersion
70 | 2
71 |
72 |
73 |
--------------------------------------------------------------------------------