Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shang1219178163 committed Aug 6, 2021
1 parent dfc47de commit d1462e6
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 17 deletions.
2 changes: 1 addition & 1 deletion MacTemplet/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>202108061503</string>
<string>202108061601</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
Expand Down
25 changes: 25 additions & 0 deletions MacTemplet/String+Ext.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//
// String+Ext.swift
// MacTemplet
//
// Created by Bin Shang on 2021/8/6.
// Copyright © 2021 Bin Shang. All rights reserved.
//

import Cocoa


public extension String{

/// 获取前缀
func getPrefix(with separates: [String]) -> String {
var reult = ""
for value in separates {
if self.contains(value) {
reult = self.components(separatedBy: value).first!
break
}
}
return reult
}
}
32 changes: 16 additions & 16 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ PODS:
- Masonry (1.1.0)
- NNButton (1.1.5.3)
- NNLabel (1.0.1)
- RxBlocking (6.0.0):
- RxSwift (= 6.0.0)
- RxCocoa (6.0.0):
- RxRelay (= 6.0.0)
- RxSwift (= 6.0.0)
- RxRelay (6.0.0):
- RxSwift (= 6.0.0)
- RxSwift (6.0.0)
- RxBlocking (6.2.0):
- RxSwift (= 6.2.0)
- RxCocoa (6.2.0):
- RxRelay (= 6.2.0)
- RxSwift (= 6.2.0)
- RxRelay (6.2.0):
- RxSwift (= 6.2.0)
- RxSwift (6.2.0)
- SnapKit (5.0.1)
- SnapKitExtend (1.0.7):
- SnapKitExtend (1.1.0):
- SnapKit
- SwiftExpand (7.7.2)
- SwiftExpand (7.13.1)
- Then (2.7.0)
- YYModel (1.0.4)

Expand Down Expand Up @@ -69,13 +69,13 @@ SPEC CHECKSUMS:
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
NNButton: 5ff24013480dc6012be208bc5b13e2429002cae1
NNLabel: f7ff344f836f938b499a2df7bc32f50f2e339829
RxBlocking: c025b8c6fe08c5b18c039b5b11d41ec413f8a59e
RxCocoa: 3f79328fafa3645b34600f37c31e64c73ae3a80e
RxRelay: 8d593be109c06ea850df027351beba614b012ffb
RxSwift: c14e798c59b9f6e9a2df8fd235602e85cc044295
RxBlocking: 0b29f7d2079109a8de49c411381bed7c33ef1eeb
RxCocoa: 4baf94bb35f2c0ab31bc0cb9f1900155f646ba42
RxRelay: e72dbfd157807478401ef1982e1c61c945c94b2f
RxSwift: d356ab7bee873611322f134c5f9ef379fa183d8f
SnapKit: 97b92857e3df3a0c71833cce143274bf6ef8e5eb
SnapKitExtend: 00ee4db6d1f80bee01a1e75745f2a6ae695ba662
SwiftExpand: 7593736072d4378ae7d86b8579bf41a46c71eda8
SnapKitExtend: aa30cf37196195fae9c4354686cc7710184ebfcc
SwiftExpand: 2660dd9f60ca67c14b4e55c93c97203dcce28ae3
Then: acfe0be7e98221c6204e12f8161459606d5d822d
YYModel: 2a7fdd96aaa4b86a824e26d0c517de8928c04b30

Expand Down

0 comments on commit d1462e6

Please sign in to comment.