@momo-kits/native-kits 0.0.1-beta.3 → 0.0.1-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/example/ios/Example/ComponentModel.swift +2 -0
- package/example/ios/Example/Foundation/TextInputDemo.swift +31 -0
- package/example/ios/Example.xcodeproj/project.pbxproj +5 -0
- package/example/ios/Example.xcworkspace/xcuserdata/wem.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/example/ios/Podfile.lock +1 -1
- package/example/ios/Pods/Local Podspecs/MoMoUIKits.podspec.json +1 -1
- package/example/ios/Pods/Manifest.lock +1 -1
- package/example/ios/Pods/Pods.xcodeproj/project.pbxproj +179 -179
- package/ios/Input/Input.swift +98 -0
- package/ios/OTPKeyboard/OTPKeyboard.swift +2 -2
- package/ios/Popup/PopupView.swift +2 -2
- package/ios/Popup/{Utils.swift → Utils++.swift} +4 -27
- package/ios/Swipeable/SwipeCell.swift +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
//
|
|
2
|
+
// TextInputDemo.swift
|
|
3
|
+
// Example
|
|
4
|
+
//
|
|
5
|
+
// Created by Nguyen Hoang Son on 26/12/2022.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
import Foundation
|
|
9
|
+
import SwiftUI
|
|
10
|
+
import MoMoUIKits
|
|
11
|
+
|
|
12
|
+
public struct TextInputDemo: View {
|
|
13
|
+
public init(){
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
public var body: some View{
|
|
18
|
+
return VStack{
|
|
19
|
+
Input(placeholder: "Placeholder", floatingValue: "Floating value", multilines: true)
|
|
20
|
+
Input(placeholder: "Placeholder", floatingValue: "Floating value", multilines: false)
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
struct TextInputDemo_Previews: PreviewProvider {
|
|
28
|
+
static var previews: some View {
|
|
29
|
+
TextInputDemo()
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
A6D7CE7C2949E892002D5762 /* SFProText-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A6D7CE732949E892002D5762 /* SFProText-Medium.ttf */; };
|
|
38
38
|
A6E1EABA2952A35300DE02CA /* SwipeableDemo.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6E1EAB92952A35300DE02CA /* SwipeableDemo.swift */; };
|
|
39
39
|
A6E318C4294632FF0008BCA5 /* Main.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6E318C3294632FF0008BCA5 /* Main.swift */; };
|
|
40
|
+
D414FE02295953F0008950D1 /* TextInputDemo.swift in Sources */ = {isa = PBXBuildFile; fileRef = D414FE01295953F0008950D1 /* TextInputDemo.swift */; };
|
|
40
41
|
D4B19F2B294C8BD70055EFC8 /* ButtonDemo.swift in Sources */ = {isa = PBXBuildFile; fileRef = D4B19F2A294C8BD70055EFC8 /* ButtonDemo.swift */; };
|
|
41
42
|
/* End PBXBuildFile section */
|
|
42
43
|
|
|
@@ -76,6 +77,7 @@
|
|
|
76
77
|
A6D7CE732949E892002D5762 /* SFProText-Medium.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SFProText-Medium.ttf"; sourceTree = "<group>"; };
|
|
77
78
|
A6E1EAB92952A35300DE02CA /* SwipeableDemo.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwipeableDemo.swift; sourceTree = "<group>"; };
|
|
78
79
|
A6E318C3294632FF0008BCA5 /* Main.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Main.swift; sourceTree = "<group>"; };
|
|
80
|
+
D414FE01295953F0008950D1 /* TextInputDemo.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TextInputDemo.swift; sourceTree = "<group>"; };
|
|
79
81
|
D4B19F2A294C8BD70055EFC8 /* ButtonDemo.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ButtonDemo.swift; sourceTree = "<group>"; };
|
|
80
82
|
/* End PBXFileReference section */
|
|
81
83
|
|
|
@@ -209,6 +211,8 @@
|
|
|
209
211
|
D4B19F2A294C8BD70055EFC8 /* ButtonDemo.swift */,
|
|
210
212
|
A6798BDE2955A9AF008A2A87 /* PopupDemo.swift */,
|
|
211
213
|
A68B77E0294C8D180091EAB6 /* TypographyDemo.swift */,
|
|
214
|
+
A653DC1629545F9A00334127 /* KeyboardOTPDemo.swift */,
|
|
215
|
+
D414FE01295953F0008950D1 /* TextInputDemo.swift */,
|
|
212
216
|
);
|
|
213
217
|
path = Foundation;
|
|
214
218
|
sourceTree = "<group>";
|
|
@@ -329,6 +333,7 @@
|
|
|
329
333
|
A6E318C4294632FF0008BCA5 /* Main.swift in Sources */,
|
|
330
334
|
A6611E50295AD68B00C0E80F /* Popups.swift in Sources */,
|
|
331
335
|
A6798BD129554E95008A2A87 /* ComponentModel.swift in Sources */,
|
|
336
|
+
D414FE02295953F0008950D1 /* TextInputDemo.swift in Sources */,
|
|
332
337
|
A68B77E1294C8D180091EAB6 /* TypographyDemo.swift in Sources */,
|
|
333
338
|
A63CC29C2944180B0022BA1A /* ContentView.swift in Sources */,
|
|
334
339
|
A60654E229483B9100D81339 /* Foundation.swift in Sources */,
|
package/example/ios/Example.xcworkspace/xcuserdata/wem.xcuserdatad/UserInterfaceState.xcuserstate
CHANGED
|
Binary file
|
package/example/ios/Podfile.lock
CHANGED
|
@@ -8,26 +8,26 @@
|
|
|
8
8
|
|
|
9
9
|
/* Begin PBXBuildFile section */
|
|
10
10
|
003204A980C019B9FD06CAAD965C196B /* Pods-Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5A10118860486B1C21B46B8EC8C08425 /* Pods-Example-dummy.m */; };
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
06A1AFC737FABB56A18BD14ED07EEDBC /* Radius.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2FD27D74B5655F71E74A389263457D6 /* Radius.swift */; };
|
|
12
|
+
138F4D7ECAE47D2DF2F42105FBFB7C91 /* Utils++.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB2DD65555AB8E2A0C911BFA250336E2 /* Utils++.swift */; };
|
|
13
|
+
13CFA34321BC2CC61E0CDC6B411D0679 /* Spacing.swift in Sources */ = {isa = PBXBuildFile; fileRef = F5D8965A3D59FD49A142B744582EEAC4 /* Spacing.swift */; };
|
|
14
|
+
14A348CAFCA9311E419BE957D41B1344 /* MoMoUIKits-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 692D384FFBF5B802FD70DCDAF8041BC4 /* MoMoUIKits-dummy.m */; };
|
|
15
|
+
1E7592749D050F0A5A3EFFB1F2599F2A /* Typography.swift in Sources */ = {isa = PBXBuildFile; fileRef = F938771468FEB0D8772744E6568980DE /* Typography.swift */; };
|
|
16
|
+
24FAA00964950EC0CA3FEF5A0DA1362E /* OTPKeyboard.swift in Sources */ = {isa = PBXBuildFile; fileRef = 03EBD8466678CAC688155EA09002ABDC /* OTPKeyboard.swift */; };
|
|
17
|
+
2B64A8918C03F9341843E2F1B6FA0F64 /* Modifiers.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21839CFE3F7A1E4E3774E023ACCC9170 /* Modifiers.swift */; };
|
|
15
18
|
2E1A8F8F0C335318270D1A99F474F642 /* Pods-Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 156BF54520F2121642B61B54902E7808 /* Pods-Example-umbrella.h */; settings = {ATTRIBUTES = (Project, ); }; };
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
BB722F8EDB48B1E1FD4BA366ED8C1E16 /* Color++.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25186A0535A7F65D114CF19A90FE3A3F /* Color++.swift */; };
|
|
25
|
-
E167D85A046B889FD0F0F2FF1D7D56E6 /* Spacing.swift in Sources */ = {isa = PBXBuildFile; fileRef = ECA4E4C889FB06C9202F0E573C02B0C2 /* Spacing.swift */; };
|
|
26
|
-
F319EC2F1B97D3CBDC8E6535EC7B007E /* MoMoUIKits-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = FFD158D9D6A68E78D0B249AAFC345AB1 /* MoMoUIKits-umbrella.h */; settings = {ATTRIBUTES = (Project, ); }; };
|
|
19
|
+
303AAD1CC6BF7BB67870C27EF7037018 /* Color++.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD82901FC46B4C20D1E88453E35BFB0A /* Color++.swift */; };
|
|
20
|
+
419D317F9C1A48F9840B3F9F6F316B47 /* KeyboardButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8215EA0A80E1F5E8E265DAC640154018 /* KeyboardButton.swift */; };
|
|
21
|
+
668D039DA06BE1A2054D7D85BED5F9BD /* Button.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20F5633F5FEBB7669321D13F45AB1EF8 /* Button.swift */; };
|
|
22
|
+
6E2205F45388E210BBDA1A2BB1E95625 /* SwipeCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 03A74CD275C255FC0227ED1378739CB6 /* SwipeCell.swift */; };
|
|
23
|
+
940E7B01927A12A5AC75442587148E5D /* Colors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 790C9406A1936E742778D19E408D717E /* Colors.swift */; };
|
|
24
|
+
C71657BF8F12DB934C0CD01325D57312 /* MoMoUIKits-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 79A5E8310324AF40A4FD2D8BDF4CDAB9 /* MoMoUIKits-umbrella.h */; settings = {ATTRIBUTES = (Project, ); }; };
|
|
25
|
+
C8C423C418BFECA61F25F6D1AD8A5083 /* PopupView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FB32406EC7BDA3236E9D6C160272860 /* PopupView.swift */; };
|
|
26
|
+
D543D77AB00F1AFBD54B53E000DAF052 /* SwipeCellModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 144CA55B9E611F2F10CC96D1F7B1840A /* SwipeCellModel.swift */; };
|
|
27
27
|
/* End PBXBuildFile section */
|
|
28
28
|
|
|
29
29
|
/* Begin PBXContainerItemProxy section */
|
|
30
|
-
|
|
30
|
+
F0B1AF7F904FD7C804B4D53CC320A80E /* PBXContainerItemProxy */ = {
|
|
31
31
|
isa = PBXContainerItemProxy;
|
|
32
32
|
containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */;
|
|
33
33
|
proxyType = 1;
|
|
@@ -37,47 +37,47 @@
|
|
|
37
37
|
/* End PBXContainerItemProxy section */
|
|
38
38
|
|
|
39
39
|
/* Begin PBXFileReference section */
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
03A74CD275C255FC0227ED1378739CB6 /* SwipeCell.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = SwipeCell.swift; sourceTree = "<group>"; };
|
|
41
|
+
03EBD8466678CAC688155EA09002ABDC /* OTPKeyboard.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = OTPKeyboard.swift; sourceTree = "<group>"; };
|
|
42
|
+
144CA55B9E611F2F10CC96D1F7B1840A /* SwipeCellModel.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = SwipeCellModel.swift; sourceTree = "<group>"; };
|
|
42
43
|
156BF54520F2121642B61B54902E7808 /* Pods-Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Example-umbrella.h"; sourceTree = "<group>"; };
|
|
43
|
-
171654756F64621B847DF148F4D9A154 /* native-kits.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = "native-kits.podspec"; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
|
|
44
44
|
1F667CC0E19EAF34E5A4119E2121F585 /* Pods-Example */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "Pods-Example"; path = "libPods-Example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
20F5633F5FEBB7669321D13F45AB1EF8 /* Button.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Button.swift; sourceTree = "<group>"; };
|
|
46
|
+
21839CFE3F7A1E4E3774E023ACCC9170 /* Modifiers.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Modifiers.swift; sourceTree = "<group>"; };
|
|
47
47
|
3D6746E07DAA8BF046F4230C613B314E /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Example.debug.xcconfig"; sourceTree = "<group>"; };
|
|
48
|
-
49F2DEC6074F594E9BAD0D381EC98427 /* MoMoUIKits.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = MoMoUIKits.release.xcconfig; sourceTree = "<group>"; };
|
|
49
48
|
53A341026EB50DB44BD6D7600982D503 /* Pods-Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-Example.modulemap"; sourceTree = "<group>"; };
|
|
50
49
|
5A10118860486B1C21B46B8EC8C08425 /* Pods-Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Example-dummy.m"; sourceTree = "<group>"; };
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
6CA2C793F71618F2359DA22D39FE3967 /* OTPKeyboard.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = OTPKeyboard.swift; sourceTree = "<group>"; };
|
|
50
|
+
6231BD140D68AF68D2628EC851A18EE3 /* MoMoUIKits.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = MoMoUIKits.modulemap; sourceTree = "<group>"; };
|
|
51
|
+
692D384FFBF5B802FD70DCDAF8041BC4 /* MoMoUIKits-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "MoMoUIKits-dummy.m"; sourceTree = "<group>"; };
|
|
54
52
|
763B5F5D6D7214D56B655DE87625A480 /* Pods-Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Example-acknowledgements.markdown"; sourceTree = "<group>"; };
|
|
53
|
+
790C9406A1936E742778D19E408D717E /* Colors.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Colors.swift; sourceTree = "<group>"; };
|
|
54
|
+
79A5E8310324AF40A4FD2D8BDF4CDAB9 /* MoMoUIKits-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MoMoUIKits-umbrella.h"; sourceTree = "<group>"; };
|
|
55
|
+
7FB32406EC7BDA3236E9D6C160272860 /* PopupView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = PopupView.swift; sourceTree = "<group>"; };
|
|
56
|
+
8215EA0A80E1F5E8E265DAC640154018 /* KeyboardButton.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = KeyboardButton.swift; sourceTree = "<group>"; };
|
|
57
|
+
833DC2F2DE4EB1C2BFABAECC19CAFF0F /* MoMoUIKits-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MoMoUIKits-prefix.pch"; sourceTree = "<group>"; };
|
|
55
58
|
84A0A397FE71619A7A7FC985CBD89C11 /* MoMoUIKits */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = MoMoUIKits; path = libMoMoUIKits.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
56
|
-
86478E4156A5F59A4A2984B22CB9E625 /* MoMoUIKits-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MoMoUIKits-prefix.pch"; sourceTree = "<group>"; };
|
|
57
59
|
9A3D778F0C0BA5A11B556A6026C20B46 /* Pods-Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Example-acknowledgements.plist"; sourceTree = "<group>"; };
|
|
58
60
|
9A8BC4CE72A41A90356C6098C5A88AF7 /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Example.release.xcconfig"; sourceTree = "<group>"; };
|
|
59
61
|
9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
ECA4E4C889FB06C9202F0E573C02B0C2 /* Spacing.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Spacing.swift; sourceTree = "<group>"; };
|
|
69
|
-
FFD158D9D6A68E78D0B249AAFC345AB1 /* MoMoUIKits-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MoMoUIKits-umbrella.h"; sourceTree = "<group>"; };
|
|
62
|
+
BFC1D92E85964946194BF8CD0C081AC2 /* MoMoUIKits.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = MoMoUIKits.release.xcconfig; sourceTree = "<group>"; };
|
|
63
|
+
CB2DD65555AB8E2A0C911BFA250336E2 /* Utils++.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "Utils++.swift"; sourceTree = "<group>"; };
|
|
64
|
+
D53966B05422CFADAA9113E370DAF2FC /* native-kits.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = "native-kits.podspec"; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
|
|
65
|
+
DBE7D11A96E07BBC0CAE0C1D8245AEC7 /* MoMoUIKits.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = MoMoUIKits.debug.xcconfig; sourceTree = "<group>"; };
|
|
66
|
+
DD82901FC46B4C20D1E88453E35BFB0A /* Color++.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "Color++.swift"; sourceTree = "<group>"; };
|
|
67
|
+
F2FD27D74B5655F71E74A389263457D6 /* Radius.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Radius.swift; sourceTree = "<group>"; };
|
|
68
|
+
F5D8965A3D59FD49A142B744582EEAC4 /* Spacing.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Spacing.swift; sourceTree = "<group>"; };
|
|
69
|
+
F938771468FEB0D8772744E6568980DE /* Typography.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Typography.swift; sourceTree = "<group>"; };
|
|
70
70
|
/* End PBXFileReference section */
|
|
71
71
|
|
|
72
72
|
/* Begin PBXFrameworksBuildPhase section */
|
|
73
|
-
|
|
73
|
+
6AB1A9923539A7E6D4AECD8D07993C2C /* Frameworks */ = {
|
|
74
74
|
isa = PBXFrameworksBuildPhase;
|
|
75
75
|
buildActionMask = 2147483647;
|
|
76
76
|
files = (
|
|
77
77
|
);
|
|
78
78
|
runOnlyForDeploymentPostprocessing = 0;
|
|
79
79
|
};
|
|
80
|
-
|
|
80
|
+
863E190B5A113B3CAF439006888C8C41 /* Frameworks */ = {
|
|
81
81
|
isa = PBXFrameworksBuildPhase;
|
|
82
82
|
buildActionMask = 2147483647;
|
|
83
83
|
files = (
|
|
@@ -87,90 +87,112 @@
|
|
|
87
87
|
/* End PBXFrameworksBuildPhase section */
|
|
88
88
|
|
|
89
89
|
/* Begin PBXGroup section */
|
|
90
|
-
|
|
90
|
+
041C0BAEC882605CB4F03C8A7506CAF4 /* OTPKeyboard */ = {
|
|
91
91
|
isa = PBXGroup;
|
|
92
92
|
children = (
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
8215EA0A80E1F5E8E265DAC640154018 /* KeyboardButton.swift */,
|
|
94
|
+
03EBD8466678CAC688155EA09002ABDC /* OTPKeyboard.swift */,
|
|
95
95
|
);
|
|
96
96
|
path = OTPKeyboard;
|
|
97
97
|
sourceTree = "<group>";
|
|
98
98
|
};
|
|
99
|
-
|
|
99
|
+
19E2EEF6595A97CCCD229A71D3842FBE /* Support Files */ = {
|
|
100
100
|
isa = PBXGroup;
|
|
101
101
|
children = (
|
|
102
|
-
|
|
102
|
+
6231BD140D68AF68D2628EC851A18EE3 /* MoMoUIKits.modulemap */,
|
|
103
|
+
692D384FFBF5B802FD70DCDAF8041BC4 /* MoMoUIKits-dummy.m */,
|
|
104
|
+
833DC2F2DE4EB1C2BFABAECC19CAFF0F /* MoMoUIKits-prefix.pch */,
|
|
105
|
+
79A5E8310324AF40A4FD2D8BDF4CDAB9 /* MoMoUIKits-umbrella.h */,
|
|
106
|
+
DBE7D11A96E07BBC0CAE0C1D8245AEC7 /* MoMoUIKits.debug.xcconfig */,
|
|
107
|
+
BFC1D92E85964946194BF8CD0C081AC2 /* MoMoUIKits.release.xcconfig */,
|
|
103
108
|
);
|
|
104
|
-
|
|
109
|
+
name = "Support Files";
|
|
110
|
+
path = "../example/ios/Pods/Target Support Files/MoMoUIKits";
|
|
105
111
|
sourceTree = "<group>";
|
|
106
112
|
};
|
|
107
|
-
|
|
113
|
+
45BF6390E4DB7E143C827E9EE4118525 /* Targets Support Files */ = {
|
|
108
114
|
isa = PBXGroup;
|
|
109
115
|
children = (
|
|
110
|
-
|
|
111
|
-
A6611E47295AC17900C0E80F /* PopupView.swift */,
|
|
112
|
-
A6611E49295AC19900C0E80F /* Utils.swift */,
|
|
116
|
+
E58C35B79B0E723B7230CF24882E6121 /* Pods-Example */,
|
|
113
117
|
);
|
|
114
|
-
|
|
118
|
+
name = "Targets Support Files";
|
|
115
119
|
sourceTree = "<group>";
|
|
116
120
|
};
|
|
117
|
-
|
|
121
|
+
489D28D0C1B812880BD33E2AE4920351 /* Pod */ = {
|
|
118
122
|
isa = PBXGroup;
|
|
119
123
|
children = (
|
|
120
|
-
|
|
124
|
+
D53966B05422CFADAA9113E370DAF2FC /* native-kits.podspec */,
|
|
121
125
|
);
|
|
122
|
-
name =
|
|
126
|
+
name = Pod;
|
|
127
|
+
sourceTree = "<group>";
|
|
128
|
+
};
|
|
129
|
+
729004C558DC21C704A680E7CD3D2A97 /* Colors+Spacing */ = {
|
|
130
|
+
isa = PBXGroup;
|
|
131
|
+
children = (
|
|
132
|
+
790C9406A1936E742778D19E408D717E /* Colors.swift */,
|
|
133
|
+
F2FD27D74B5655F71E74A389263457D6 /* Radius.swift */,
|
|
134
|
+
F5D8965A3D59FD49A142B744582EEAC4 /* Spacing.swift */,
|
|
135
|
+
);
|
|
136
|
+
path = "Colors+Spacing";
|
|
123
137
|
sourceTree = "<group>";
|
|
124
138
|
};
|
|
125
139
|
7482AEE0106449F8824235DD44CAF3D0 /* Development Pods */ = {
|
|
126
140
|
isa = PBXGroup;
|
|
127
141
|
children = (
|
|
128
|
-
|
|
142
|
+
B7C253D17A3D5FD9EC236C7014909FD7 /* MoMoUIKits */,
|
|
129
143
|
);
|
|
130
144
|
name = "Development Pods";
|
|
131
145
|
sourceTree = "<group>";
|
|
132
146
|
};
|
|
133
|
-
|
|
147
|
+
89A45037C77D08ED5FBCB395E707DBC8 /* Extensions */ = {
|
|
134
148
|
isa = PBXGroup;
|
|
135
149
|
children = (
|
|
136
|
-
|
|
150
|
+
DD82901FC46B4C20D1E88453E35BFB0A /* Color++.swift */,
|
|
137
151
|
);
|
|
138
152
|
path = Extensions;
|
|
139
153
|
sourceTree = "<group>";
|
|
140
154
|
};
|
|
141
|
-
|
|
155
|
+
99466D24D45F77B5621878B0E7877153 /* Popup */ = {
|
|
142
156
|
isa = PBXGroup;
|
|
143
157
|
children = (
|
|
144
|
-
|
|
158
|
+
21839CFE3F7A1E4E3774E023ACCC9170 /* Modifiers.swift */,
|
|
159
|
+
7FB32406EC7BDA3236E9D6C160272860 /* PopupView.swift */,
|
|
160
|
+
CB2DD65555AB8E2A0C911BFA250336E2 /* Utils++.swift */,
|
|
161
|
+
);
|
|
162
|
+
path = Popup;
|
|
163
|
+
sourceTree = "<group>";
|
|
164
|
+
};
|
|
165
|
+
AB8C42D832120F29C8972B8B29D9D47E /* Typography */ = {
|
|
166
|
+
isa = PBXGroup;
|
|
167
|
+
children = (
|
|
168
|
+
F938771468FEB0D8772744E6568980DE /* Typography.swift */,
|
|
145
169
|
);
|
|
146
170
|
path = Typography;
|
|
147
171
|
sourceTree = "<group>";
|
|
148
172
|
};
|
|
149
|
-
|
|
173
|
+
B7C253D17A3D5FD9EC236C7014909FD7 /* MoMoUIKits */ = {
|
|
150
174
|
isa = PBXGroup;
|
|
151
175
|
children = (
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
176
|
+
C64A44CA5C332EC164271F22C1AFBB91 /* Button */,
|
|
177
|
+
729004C558DC21C704A680E7CD3D2A97 /* Colors+Spacing */,
|
|
178
|
+
89A45037C77D08ED5FBCB395E707DBC8 /* Extensions */,
|
|
179
|
+
041C0BAEC882605CB4F03C8A7506CAF4 /* OTPKeyboard */,
|
|
180
|
+
489D28D0C1B812880BD33E2AE4920351 /* Pod */,
|
|
181
|
+
99466D24D45F77B5621878B0E7877153 /* Popup */,
|
|
182
|
+
19E2EEF6595A97CCCD229A71D3842FBE /* Support Files */,
|
|
183
|
+
FAB5ACF5089248F41A845015B445A8C8 /* Swipeable */,
|
|
184
|
+
AB8C42D832120F29C8972B8B29D9D47E /* Typography */,
|
|
161
185
|
);
|
|
162
186
|
name = MoMoUIKits;
|
|
163
187
|
path = ../../../ios;
|
|
164
188
|
sourceTree = "<group>";
|
|
165
189
|
};
|
|
166
|
-
|
|
190
|
+
C64A44CA5C332EC164271F22C1AFBB91 /* Button */ = {
|
|
167
191
|
isa = PBXGroup;
|
|
168
192
|
children = (
|
|
169
|
-
|
|
170
|
-
A8AC0FE454F2695901B6BF956314EE6F /* Radius.swift */,
|
|
171
|
-
ECA4E4C889FB06C9202F0E573C02B0C2 /* Spacing.swift */,
|
|
193
|
+
20F5633F5FEBB7669321D13F45AB1EF8 /* Button.swift */,
|
|
172
194
|
);
|
|
173
|
-
path =
|
|
195
|
+
path = Button;
|
|
174
196
|
sourceTree = "<group>";
|
|
175
197
|
};
|
|
176
198
|
CF1408CF629C7361332E53B88F7BD30C = {
|
|
@@ -184,28 +206,6 @@
|
|
|
184
206
|
);
|
|
185
207
|
sourceTree = "<group>";
|
|
186
208
|
};
|
|
187
|
-
CFAC6016B09FAD3302836EF0FCB65832 /* Pod */ = {
|
|
188
|
-
isa = PBXGroup;
|
|
189
|
-
children = (
|
|
190
|
-
171654756F64621B847DF148F4D9A154 /* native-kits.podspec */,
|
|
191
|
-
);
|
|
192
|
-
name = Pod;
|
|
193
|
-
sourceTree = "<group>";
|
|
194
|
-
};
|
|
195
|
-
D49CCDBEA7E3BEE32D6E42E4B93C4971 /* Support Files */ = {
|
|
196
|
-
isa = PBXGroup;
|
|
197
|
-
children = (
|
|
198
|
-
0B52BC535E9265BA298B4A6A20315825 /* MoMoUIKits.modulemap */,
|
|
199
|
-
DCBA627E304F3355530BF6E20131DB54 /* MoMoUIKits-dummy.m */,
|
|
200
|
-
86478E4156A5F59A4A2984B22CB9E625 /* MoMoUIKits-prefix.pch */,
|
|
201
|
-
FFD158D9D6A68E78D0B249AAFC345AB1 /* MoMoUIKits-umbrella.h */,
|
|
202
|
-
DD0D979F7C210B4C1FA1D8D1F6A9DB20 /* MoMoUIKits.debug.xcconfig */,
|
|
203
|
-
49F2DEC6074F594E9BAD0D381EC98427 /* MoMoUIKits.release.xcconfig */,
|
|
204
|
-
);
|
|
205
|
-
name = "Support Files";
|
|
206
|
-
path = "../example/ios/Pods/Target Support Files/MoMoUIKits";
|
|
207
|
-
sourceTree = "<group>";
|
|
208
|
-
};
|
|
209
209
|
D89477F20FB1DE18A04690586D7808C4 /* Frameworks */ = {
|
|
210
210
|
isa = PBXGroup;
|
|
211
211
|
children = (
|
|
@@ -237,11 +237,11 @@
|
|
|
237
237
|
path = "Target Support Files/Pods-Example";
|
|
238
238
|
sourceTree = "<group>";
|
|
239
239
|
};
|
|
240
|
-
|
|
240
|
+
FAB5ACF5089248F41A845015B445A8C8 /* Swipeable */ = {
|
|
241
241
|
isa = PBXGroup;
|
|
242
242
|
children = (
|
|
243
|
-
|
|
244
|
-
|
|
243
|
+
03A74CD275C255FC0227ED1378739CB6 /* SwipeCell.swift */,
|
|
244
|
+
144CA55B9E611F2F10CC96D1F7B1840A /* SwipeCellModel.swift */,
|
|
245
245
|
);
|
|
246
246
|
path = Swipeable;
|
|
247
247
|
sourceTree = "<group>";
|
|
@@ -249,11 +249,11 @@
|
|
|
249
249
|
/* End PBXGroup section */
|
|
250
250
|
|
|
251
251
|
/* Begin PBXHeadersBuildPhase section */
|
|
252
|
-
|
|
252
|
+
CA9B54FC3EDEF7CED0A14EDD4E2FE736 /* Headers */ = {
|
|
253
253
|
isa = PBXHeadersBuildPhase;
|
|
254
254
|
buildActionMask = 2147483647;
|
|
255
255
|
files = (
|
|
256
|
-
|
|
256
|
+
C71657BF8F12DB934C0CD01325D57312 /* MoMoUIKits-umbrella.h in Headers */,
|
|
257
257
|
);
|
|
258
258
|
runOnlyForDeploymentPostprocessing = 0;
|
|
259
259
|
};
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
buildRules = (
|
|
280
280
|
);
|
|
281
281
|
dependencies = (
|
|
282
|
-
|
|
282
|
+
EEF70EF26BE259F2ECF43923AC22689D /* PBXTargetDependency */,
|
|
283
283
|
);
|
|
284
284
|
name = "Pods-Example";
|
|
285
285
|
productName = "Pods-Example";
|
|
@@ -288,12 +288,12 @@
|
|
|
288
288
|
};
|
|
289
289
|
3B6FB503A75BF5BC1FA6F30BC06B9D28 /* MoMoUIKits */ = {
|
|
290
290
|
isa = PBXNativeTarget;
|
|
291
|
-
buildConfigurationList =
|
|
291
|
+
buildConfigurationList = 838102B09712E8A8F802071D7BA3F5FB /* Build configuration list for PBXNativeTarget "MoMoUIKits" */;
|
|
292
292
|
buildPhases = (
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
293
|
+
CA9B54FC3EDEF7CED0A14EDD4E2FE736 /* Headers */,
|
|
294
|
+
D36D4F764BA19BA3FEAFB908C91A042F /* Sources */,
|
|
295
|
+
6AB1A9923539A7E6D4AECD8D07993C2C /* Frameworks */,
|
|
296
|
+
C00A01B8D657A8487F46D68EBBBA185B /* Copy generated compatibility header */,
|
|
297
297
|
);
|
|
298
298
|
buildRules = (
|
|
299
299
|
);
|
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
/* End PBXProject section */
|
|
334
334
|
|
|
335
335
|
/* Begin PBXShellScriptBuildPhase section */
|
|
336
|
-
|
|
336
|
+
C00A01B8D657A8487F46D68EBBBA185B /* Copy generated compatibility header */ = {
|
|
337
337
|
isa = PBXShellScriptBuildPhase;
|
|
338
338
|
buildActionMask = 2147483647;
|
|
339
339
|
files = (
|
|
@@ -360,98 +360,47 @@
|
|
|
360
360
|
/* End PBXShellScriptBuildPhase section */
|
|
361
361
|
|
|
362
362
|
/* Begin PBXSourcesBuildPhase section */
|
|
363
|
-
|
|
363
|
+
A3E2906B9F98F62EF836163C43690A65 /* Sources */ = {
|
|
364
364
|
isa = PBXSourcesBuildPhase;
|
|
365
365
|
buildActionMask = 2147483647;
|
|
366
366
|
files = (
|
|
367
|
-
|
|
368
|
-
BB722F8EDB48B1E1FD4BA366ED8C1E16 /* Color++.swift in Sources */,
|
|
369
|
-
1F200129B6777A8FE10A8A1269633FD9 /* Colors.swift in Sources */,
|
|
370
|
-
A6611E4A295AC19900C0E80F /* Utils.swift in Sources */,
|
|
371
|
-
0B21DEFEC109475A8D496624402B71DF /* KeyboardButton.swift in Sources */,
|
|
372
|
-
A6611E46295AC15900C0E80F /* Modifiers.swift in Sources */,
|
|
373
|
-
5A6D31F654AFC80FE4155D1DC03D6787 /* MoMoUIKits-dummy.m in Sources */,
|
|
374
|
-
262493EB50107E29944D90FDC3BD2AEE /* OTPKeyboard.swift in Sources */,
|
|
375
|
-
53EF31D49FC6A4BB21A36917A08A6EBC /* Radius.swift in Sources */,
|
|
376
|
-
E167D85A046B889FD0F0F2FF1D7D56E6 /* Spacing.swift in Sources */,
|
|
377
|
-
1E3C5D013086CFD5439183D5D5B183C4 /* SwipeCell.swift in Sources */,
|
|
378
|
-
8DD109D7D6294BF144A4339DAC9E51D6 /* SwipeCellModel.swift in Sources */,
|
|
379
|
-
AE3E756C1578EB0EFE4D5449D1EA49D6 /* Typography.swift in Sources */,
|
|
380
|
-
A6611E48295AC17900C0E80F /* PopupView.swift in Sources */,
|
|
367
|
+
003204A980C019B9FD06CAAD965C196B /* Pods-Example-dummy.m in Sources */,
|
|
381
368
|
);
|
|
382
369
|
runOnlyForDeploymentPostprocessing = 0;
|
|
383
370
|
};
|
|
384
|
-
|
|
371
|
+
D36D4F764BA19BA3FEAFB908C91A042F /* Sources */ = {
|
|
385
372
|
isa = PBXSourcesBuildPhase;
|
|
386
373
|
buildActionMask = 2147483647;
|
|
387
374
|
files = (
|
|
388
|
-
|
|
375
|
+
668D039DA06BE1A2054D7D85BED5F9BD /* Button.swift in Sources */,
|
|
376
|
+
303AAD1CC6BF7BB67870C27EF7037018 /* Color++.swift in Sources */,
|
|
377
|
+
940E7B01927A12A5AC75442587148E5D /* Colors.swift in Sources */,
|
|
378
|
+
419D317F9C1A48F9840B3F9F6F316B47 /* KeyboardButton.swift in Sources */,
|
|
379
|
+
2B64A8918C03F9341843E2F1B6FA0F64 /* Modifiers.swift in Sources */,
|
|
380
|
+
14A348CAFCA9311E419BE957D41B1344 /* MoMoUIKits-dummy.m in Sources */,
|
|
381
|
+
24FAA00964950EC0CA3FEF5A0DA1362E /* OTPKeyboard.swift in Sources */,
|
|
382
|
+
C8C423C418BFECA61F25F6D1AD8A5083 /* PopupView.swift in Sources */,
|
|
383
|
+
06A1AFC737FABB56A18BD14ED07EEDBC /* Radius.swift in Sources */,
|
|
384
|
+
13CFA34321BC2CC61E0CDC6B411D0679 /* Spacing.swift in Sources */,
|
|
385
|
+
6E2205F45388E210BBDA1A2BB1E95625 /* SwipeCell.swift in Sources */,
|
|
386
|
+
D543D77AB00F1AFBD54B53E000DAF052 /* SwipeCellModel.swift in Sources */,
|
|
387
|
+
1E7592749D050F0A5A3EFFB1F2599F2A /* Typography.swift in Sources */,
|
|
388
|
+
138F4D7ECAE47D2DF2F42105FBFB7C91 /* Utils++.swift in Sources */,
|
|
389
389
|
);
|
|
390
390
|
runOnlyForDeploymentPostprocessing = 0;
|
|
391
391
|
};
|
|
392
392
|
/* End PBXSourcesBuildPhase section */
|
|
393
393
|
|
|
394
394
|
/* Begin PBXTargetDependency section */
|
|
395
|
-
|
|
395
|
+
EEF70EF26BE259F2ECF43923AC22689D /* PBXTargetDependency */ = {
|
|
396
396
|
isa = PBXTargetDependency;
|
|
397
397
|
name = MoMoUIKits;
|
|
398
398
|
target = 3B6FB503A75BF5BC1FA6F30BC06B9D28 /* MoMoUIKits */;
|
|
399
|
-
targetProxy =
|
|
399
|
+
targetProxy = F0B1AF7F904FD7C804B4D53CC320A80E /* PBXContainerItemProxy */;
|
|
400
400
|
};
|
|
401
401
|
/* End PBXTargetDependency section */
|
|
402
402
|
|
|
403
403
|
/* Begin XCBuildConfiguration section */
|
|
404
|
-
233EF4CE8F87617E43A797421D413248 /* Debug */ = {
|
|
405
|
-
isa = XCBuildConfiguration;
|
|
406
|
-
baseConfigurationReference = DD0D979F7C210B4C1FA1D8D1F6A9DB20 /* MoMoUIKits.debug.xcconfig */;
|
|
407
|
-
buildSettings = {
|
|
408
|
-
CLANG_ENABLE_OBJC_WEAK = NO;
|
|
409
|
-
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
|
|
410
|
-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
|
|
411
|
-
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
|
|
412
|
-
GCC_PREFIX_HEADER = "Target Support Files/MoMoUIKits/MoMoUIKits-prefix.pch";
|
|
413
|
-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
|
414
|
-
MODULEMAP_FILE = Headers/Public/MoMoUIKits/MoMoUIKits.modulemap;
|
|
415
|
-
OTHER_LDFLAGS = "";
|
|
416
|
-
OTHER_LIBTOOLFLAGS = "";
|
|
417
|
-
PRIVATE_HEADERS_FOLDER_PATH = "";
|
|
418
|
-
PRODUCT_MODULE_NAME = MoMoUIKits;
|
|
419
|
-
PRODUCT_NAME = MoMoUIKits;
|
|
420
|
-
PUBLIC_HEADERS_FOLDER_PATH = "";
|
|
421
|
-
SDKROOT = iphoneos;
|
|
422
|
-
SKIP_INSTALL = YES;
|
|
423
|
-
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
|
|
424
|
-
SWIFT_VERSION = 5.0;
|
|
425
|
-
TARGETED_DEVICE_FAMILY = "1,2";
|
|
426
|
-
};
|
|
427
|
-
name = Debug;
|
|
428
|
-
};
|
|
429
|
-
3FFDF146EE6EA546A673212B3BEC82C0 /* Release */ = {
|
|
430
|
-
isa = XCBuildConfiguration;
|
|
431
|
-
baseConfigurationReference = 49F2DEC6074F594E9BAD0D381EC98427 /* MoMoUIKits.release.xcconfig */;
|
|
432
|
-
buildSettings = {
|
|
433
|
-
CLANG_ENABLE_OBJC_WEAK = NO;
|
|
434
|
-
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
|
|
435
|
-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
|
|
436
|
-
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
|
|
437
|
-
GCC_PREFIX_HEADER = "Target Support Files/MoMoUIKits/MoMoUIKits-prefix.pch";
|
|
438
|
-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
|
|
439
|
-
MODULEMAP_FILE = Headers/Public/MoMoUIKits/MoMoUIKits.modulemap;
|
|
440
|
-
OTHER_LDFLAGS = "";
|
|
441
|
-
OTHER_LIBTOOLFLAGS = "";
|
|
442
|
-
PRIVATE_HEADERS_FOLDER_PATH = "";
|
|
443
|
-
PRODUCT_MODULE_NAME = MoMoUIKits;
|
|
444
|
-
PRODUCT_NAME = MoMoUIKits;
|
|
445
|
-
PUBLIC_HEADERS_FOLDER_PATH = "";
|
|
446
|
-
SDKROOT = iphoneos;
|
|
447
|
-
SKIP_INSTALL = YES;
|
|
448
|
-
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
|
|
449
|
-
SWIFT_VERSION = 5.0;
|
|
450
|
-
TARGETED_DEVICE_FAMILY = "1,2";
|
|
451
|
-
VALIDATE_PRODUCT = YES;
|
|
452
|
-
};
|
|
453
|
-
name = Release;
|
|
454
|
-
};
|
|
455
404
|
4BC7450F9457737EE3E637BA155B56F7 /* Debug */ = {
|
|
456
405
|
isa = XCBuildConfiguration;
|
|
457
406
|
buildSettings = {
|
|
@@ -518,6 +467,32 @@
|
|
|
518
467
|
};
|
|
519
468
|
name = Debug;
|
|
520
469
|
};
|
|
470
|
+
682FC0924ED78C2933AA790C43BF9570 /* Release */ = {
|
|
471
|
+
isa = XCBuildConfiguration;
|
|
472
|
+
baseConfigurationReference = BFC1D92E85964946194BF8CD0C081AC2 /* MoMoUIKits.release.xcconfig */;
|
|
473
|
+
buildSettings = {
|
|
474
|
+
CLANG_ENABLE_OBJC_WEAK = NO;
|
|
475
|
+
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
|
|
476
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
|
|
477
|
+
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
|
|
478
|
+
GCC_PREFIX_HEADER = "Target Support Files/MoMoUIKits/MoMoUIKits-prefix.pch";
|
|
479
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
|
480
|
+
MODULEMAP_FILE = Headers/Public/MoMoUIKits/MoMoUIKits.modulemap;
|
|
481
|
+
OTHER_LDFLAGS = "";
|
|
482
|
+
OTHER_LIBTOOLFLAGS = "";
|
|
483
|
+
PRIVATE_HEADERS_FOLDER_PATH = "";
|
|
484
|
+
PRODUCT_MODULE_NAME = MoMoUIKits;
|
|
485
|
+
PRODUCT_NAME = MoMoUIKits;
|
|
486
|
+
PUBLIC_HEADERS_FOLDER_PATH = "";
|
|
487
|
+
SDKROOT = iphoneos;
|
|
488
|
+
SKIP_INSTALL = YES;
|
|
489
|
+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
|
|
490
|
+
SWIFT_VERSION = 5.0;
|
|
491
|
+
TARGETED_DEVICE_FAMILY = "1,2";
|
|
492
|
+
VALIDATE_PRODUCT = YES;
|
|
493
|
+
};
|
|
494
|
+
name = Release;
|
|
495
|
+
};
|
|
521
496
|
8B5A46FF8D3C1289CDEE3BAFACABCD2A /* Release */ = {
|
|
522
497
|
isa = XCBuildConfiguration;
|
|
523
498
|
buildSettings = {
|
|
@@ -580,6 +555,31 @@
|
|
|
580
555
|
};
|
|
581
556
|
name = Release;
|
|
582
557
|
};
|
|
558
|
+
98B41FC631CC06D4BB81D2011413E83B /* Debug */ = {
|
|
559
|
+
isa = XCBuildConfiguration;
|
|
560
|
+
baseConfigurationReference = DBE7D11A96E07BBC0CAE0C1D8245AEC7 /* MoMoUIKits.debug.xcconfig */;
|
|
561
|
+
buildSettings = {
|
|
562
|
+
CLANG_ENABLE_OBJC_WEAK = NO;
|
|
563
|
+
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
|
|
564
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
|
|
565
|
+
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
|
|
566
|
+
GCC_PREFIX_HEADER = "Target Support Files/MoMoUIKits/MoMoUIKits-prefix.pch";
|
|
567
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
|
568
|
+
MODULEMAP_FILE = Headers/Public/MoMoUIKits/MoMoUIKits.modulemap;
|
|
569
|
+
OTHER_LDFLAGS = "";
|
|
570
|
+
OTHER_LIBTOOLFLAGS = "";
|
|
571
|
+
PRIVATE_HEADERS_FOLDER_PATH = "";
|
|
572
|
+
PRODUCT_MODULE_NAME = MoMoUIKits;
|
|
573
|
+
PRODUCT_NAME = MoMoUIKits;
|
|
574
|
+
PUBLIC_HEADERS_FOLDER_PATH = "";
|
|
575
|
+
SDKROOT = iphoneos;
|
|
576
|
+
SKIP_INSTALL = YES;
|
|
577
|
+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
|
|
578
|
+
SWIFT_VERSION = 5.0;
|
|
579
|
+
TARGETED_DEVICE_FAMILY = "1,2";
|
|
580
|
+
};
|
|
581
|
+
name = Debug;
|
|
582
|
+
};
|
|
583
583
|
9ED7C9B292F4D898ED38191AAE49D300 /* Release */ = {
|
|
584
584
|
isa = XCBuildConfiguration;
|
|
585
585
|
baseConfigurationReference = 9A8BC4CE72A41A90356C6098C5A88AF7 /* Pods-Example.release.xcconfig */;
|
|
@@ -637,11 +637,11 @@
|
|
|
637
637
|
defaultConfigurationIsVisible = 0;
|
|
638
638
|
defaultConfigurationName = Release;
|
|
639
639
|
};
|
|
640
|
-
|
|
640
|
+
838102B09712E8A8F802071D7BA3F5FB /* Build configuration list for PBXNativeTarget "MoMoUIKits" */ = {
|
|
641
641
|
isa = XCConfigurationList;
|
|
642
642
|
buildConfigurations = (
|
|
643
|
-
|
|
644
|
-
|
|
643
|
+
98B41FC631CC06D4BB81D2011413E83B /* Debug */,
|
|
644
|
+
682FC0924ED78C2933AA790C43BF9570 /* Release */,
|
|
645
645
|
);
|
|
646
646
|
defaultConfigurationIsVisible = 0;
|
|
647
647
|
defaultConfigurationName = Release;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import Foundation
|
|
2
|
+
import SwiftUI
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
fileprivate struct FloatingComponent: View {
|
|
6
|
+
var floatingValue: String
|
|
7
|
+
|
|
8
|
+
public init (_ floatingValue: String = ""){
|
|
9
|
+
self.floatingValue = floatingValue
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
public var body: some View {
|
|
13
|
+
return HStack {
|
|
14
|
+
Text(floatingValue)
|
|
15
|
+
.foregroundColor(Colors.black09)
|
|
16
|
+
.font(.system(size: 12))
|
|
17
|
+
.padding(.leading, 8)
|
|
18
|
+
Image(systemName: "info.circle")
|
|
19
|
+
.foregroundColor(Colors.black09)
|
|
20
|
+
.frame(width: 16, height: 16)
|
|
21
|
+
.padding(.leading, -4)
|
|
22
|
+
.padding(.trailing, 8)
|
|
23
|
+
}
|
|
24
|
+
.background(Colors.black01)
|
|
25
|
+
.offset(x: 16, y:-8)
|
|
26
|
+
.zIndex(10)
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
public struct Input: View {
|
|
31
|
+
@State var value: String = ""
|
|
32
|
+
@State var focused: Bool = false
|
|
33
|
+
|
|
34
|
+
var iconPadding: CGFloat
|
|
35
|
+
var multilines: Bool
|
|
36
|
+
var placeholder: String
|
|
37
|
+
var floatingValue: String
|
|
38
|
+
var errorMessage: String
|
|
39
|
+
|
|
40
|
+
func onEditingChanged(_ focused: Bool){
|
|
41
|
+
self.focused = focused
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
public init(placeholder: String = "", floatingValue: String = "", multilines: Bool = false, errorMessage: String = ""){
|
|
45
|
+
self.placeholder = placeholder
|
|
46
|
+
self.floatingValue = floatingValue
|
|
47
|
+
self.multilines = multilines
|
|
48
|
+
self.iconPadding = multilines == true ? 16 : 0
|
|
49
|
+
self.errorMessage = errorMessage
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public var body: some View {
|
|
53
|
+
return ZStack (alignment: .topLeading){
|
|
54
|
+
|
|
55
|
+
HStack(alignment: multilines == true ? .top : .center){
|
|
56
|
+
if (multilines){
|
|
57
|
+
if #available(iOS 14.0, *) {
|
|
58
|
+
TextEditor(text: $value)
|
|
59
|
+
.frame(maxWidth: .infinity, minHeight: 48)
|
|
60
|
+
.padding(.horizontal, 8)
|
|
61
|
+
.padding(.top,4 )
|
|
62
|
+
.accentColor(Colors.pink03)
|
|
63
|
+
.fixedSize(horizontal: false, vertical: true)
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
TextField("",text: $value, onEditingChanged:{ isChange in
|
|
68
|
+
onEditingChanged(isChange)
|
|
69
|
+
})
|
|
70
|
+
.padding(.horizontal, 12)
|
|
71
|
+
.accentColor(Colors.pink03)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
Image(systemName: "info.circle")
|
|
77
|
+
.foregroundColor(Colors.black09)
|
|
78
|
+
.frame(width: 16, height: 16)
|
|
79
|
+
.padding(.leading, -4)
|
|
80
|
+
.padding(.trailing, 8)
|
|
81
|
+
.padding(.top, iconPadding)
|
|
82
|
+
}
|
|
83
|
+
.frame(maxWidth: .infinity, minHeight: 48)
|
|
84
|
+
.overlay(RoundedRectangle(cornerRadius: 8).stroke(focused == true ? Colors.pink03 : Colors.border, lineWidth: 1))
|
|
85
|
+
.padding(.horizontal, 1)
|
|
86
|
+
if (value.isEmpty){
|
|
87
|
+
Text(placeholder)
|
|
88
|
+
.font(.system(size: 16))
|
|
89
|
+
.foregroundColor(Colors.black09)
|
|
90
|
+
.padding(.leading, 12)
|
|
91
|
+
.padding(.top, 14)
|
|
92
|
+
.allowsHitTesting(false)
|
|
93
|
+
}
|
|
94
|
+
FloatingComponent(floatingValue)
|
|
95
|
+
}.padding(.bottom, 8)
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
}
|
|
@@ -289,7 +289,7 @@ public struct Popup<Item: Equatable, PopupContent: View>: ViewModifier {
|
|
|
289
289
|
.applyIf(closeOnTapOutside) { view in
|
|
290
290
|
view.contentShape(Rectangle())
|
|
291
291
|
}
|
|
292
|
-
.
|
|
292
|
+
.addTapIf(if: closeOnTapOutside) {
|
|
293
293
|
dismissSource = .tapOutside
|
|
294
294
|
dismiss()
|
|
295
295
|
}
|
|
@@ -320,7 +320,7 @@ public struct Popup<Item: Equatable, PopupContent: View>: ViewModifier {
|
|
|
320
320
|
|
|
321
321
|
let sheet = ZStack {
|
|
322
322
|
self.view()
|
|
323
|
-
.
|
|
323
|
+
.addTapIf(if: closeOnTap) {
|
|
324
324
|
dismissSource = .tapInside
|
|
325
325
|
dismiss()
|
|
326
326
|
}
|
|
@@ -15,8 +15,8 @@ final class ClassReference<T> {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
extension View {
|
|
19
|
-
|
|
18
|
+
public extension View {
|
|
19
|
+
|
|
20
20
|
@ViewBuilder
|
|
21
21
|
func valueChanged<T: Equatable>(value: T, onChange: @escaping (T) -> Void) -> some View {
|
|
22
22
|
if #available(iOS 14.0, tvOS 14.0, macOS 11.0, watchOS 7.0, *) {
|
|
@@ -27,9 +27,7 @@ extension View {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
public extension View {
|
|
30
|
+
|
|
33
31
|
@ViewBuilder
|
|
34
32
|
func applyIf<T: View>(_ condition: Bool, apply: (Self) -> T) -> some View {
|
|
35
33
|
if condition {
|
|
@@ -40,10 +38,7 @@ public extension View {
|
|
|
40
38
|
}
|
|
41
39
|
|
|
42
40
|
@ViewBuilder
|
|
43
|
-
func
|
|
44
|
-
#if os(tvOS)
|
|
45
|
-
self
|
|
46
|
-
#else
|
|
41
|
+
func addTapIf(if condition: Bool, onTap: @escaping ()->()) -> some View {
|
|
47
42
|
if condition {
|
|
48
43
|
self.simultaneousGesture(
|
|
49
44
|
TapGesture().onEnded {
|
|
@@ -53,7 +48,6 @@ public extension View {
|
|
|
53
48
|
} else {
|
|
54
49
|
self
|
|
55
50
|
}
|
|
56
|
-
#endif
|
|
57
51
|
}
|
|
58
52
|
}
|
|
59
53
|
|
|
@@ -134,8 +128,6 @@ extension View {
|
|
|
134
128
|
}
|
|
135
129
|
}
|
|
136
130
|
|
|
137
|
-
#if os(iOS)
|
|
138
|
-
|
|
139
131
|
extension UIApplication {
|
|
140
132
|
var keyWindow: UIWindow? {
|
|
141
133
|
connectedScenes
|
|
@@ -169,18 +161,3 @@ private extension UIEdgeInsets {
|
|
|
169
161
|
}
|
|
170
162
|
}
|
|
171
163
|
|
|
172
|
-
#else
|
|
173
|
-
|
|
174
|
-
private struct SafeAreaInsetsKey: EnvironmentKey {
|
|
175
|
-
static var defaultValue: EdgeInsets {
|
|
176
|
-
EdgeInsets()
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
extension EnvironmentValues {
|
|
181
|
-
var safeAreaInsets: EdgeInsets {
|
|
182
|
-
self[SafeAreaInsetsKey.self]
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
#endif
|
|
@@ -34,7 +34,7 @@ public struct SwipeCellModifier: ViewModifier {
|
|
|
34
34
|
}.frame(width: cellWidth)
|
|
35
35
|
.edgesIgnoringSafeArea(.horizontal)
|
|
36
36
|
.clipped()
|
|
37
|
-
.
|
|
37
|
+
.valueChanged(value: self.currentUserInteractionCellID) { _ in
|
|
38
38
|
if let currentDragCellID = self.currentUserInteractionCellID, currentDragCellID != self.id && self.openSideLock != nil {
|
|
39
39
|
// if this cell has an open side area and is not the cell being dragged, close the cell
|
|
40
40
|
self.setOffsetX(value: 0)
|