@sdcx/bottom-sheet 1.0.2 → 1.0.5
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/RNBottomSheet.podspec +1 -1
- package/android/build.gradle +31 -43
- package/android/src/main/java/com/reactnative/bottomsheet/BottomSheetManager.java +42 -34
- package/ios/{BottomSheet/RNBottomSheetComponentView.h → RNBottomSheet.h} +1 -1
- package/ios/{BottomSheet/RNBottomSheetComponentView.mm → RNBottomSheet.mm} +5 -5
- package/package.json +9 -6
- package/react-native.config.js +10 -0
- package/ios/BottomSheet.xcodeproj/project.pbxproj +0 -283
- /package/ios/{BottomSheet/Event → Event}/RNBottomSheetOffsetChangedEvent.h +0 -0
- /package/ios/{BottomSheet/Event → Event}/RNBottomSheetOffsetChangedEvent.mm +0 -0
- /package/ios/{BottomSheet/Event → Event}/RNBottomSheetStateChangedEvent.h +0 -0
- /package/ios/{BottomSheet/Event → Event}/RNBottomSheetStateChangedEvent.mm +0 -0
package/RNBottomSheet.podspec
CHANGED
|
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.platforms = { :ios => min_ios_version_supported }
|
|
14
14
|
s.source = { :git => "https://github.com/github-account/bottom-sheet.git", :tag => "#{s.version}" }
|
|
15
15
|
|
|
16
|
-
s.source_files = "ios
|
|
16
|
+
s.source_files = "ios/**/*.{h,m,mm}"
|
|
17
17
|
|
|
18
18
|
install_modules_dependencies(s)
|
|
19
19
|
end
|
package/android/build.gradle
CHANGED
|
@@ -1,58 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
buildscript {
|
|
3
|
-
repositories {
|
|
4
|
-
mavenCentral()
|
|
5
|
-
google()
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
dependencies {
|
|
9
|
-
classpath "com.android.tools.build:gradle:8.7.2"
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
1
|
apply plugin: 'com.android.library'
|
|
14
2
|
apply plugin: 'com.facebook.react'
|
|
15
3
|
|
|
16
4
|
def safeExtGet(prop, fallback) {
|
|
17
|
-
|
|
5
|
+
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
18
6
|
}
|
|
19
7
|
|
|
20
8
|
android {
|
|
21
9
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
10
|
+
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')
|
|
11
|
+
// Check AGP version for backward compatibility w/react-native versions still on gradle plugin 6
|
|
12
|
+
def major = agpVersion[0].toInteger()
|
|
13
|
+
def minor = agpVersion[1].toInteger()
|
|
14
|
+
if ((major == 7 && minor >= 3) || major >= 8) {
|
|
15
|
+
namespace "com.reactnative.bottomsheet"
|
|
16
|
+
buildFeatures {
|
|
17
|
+
buildConfig true
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
compileSdkVersion safeExtGet('compileSdkVersion', 35)
|
|
22
|
+
buildToolsVersion safeExtGet('buildToolsVersion', '35.0.0')
|
|
23
|
+
|
|
24
|
+
defaultConfig {
|
|
25
|
+
minSdkVersion safeExtGet('minSdkVersion', 24)
|
|
26
|
+
targetSdkVersion safeExtGet('targetSdkVersion', 35)
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
sourceSets {
|
|
30
|
+
main {
|
|
31
|
+
java.srcDirs += [
|
|
32
|
+
"generated/java",
|
|
33
|
+
"generated/jni"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
49
37
|
}
|
|
50
38
|
|
|
51
39
|
repositories {
|
|
52
|
-
|
|
53
|
-
|
|
40
|
+
google()
|
|
41
|
+
mavenCentral()
|
|
54
42
|
}
|
|
55
43
|
|
|
56
44
|
dependencies {
|
|
57
|
-
|
|
45
|
+
implementation 'com.facebook.react:react-native:+'
|
|
58
46
|
}
|
|
@@ -6,51 +6,59 @@ import com.facebook.react.common.MapBuilder;
|
|
|
6
6
|
import com.facebook.react.uimanager.PixelUtil;
|
|
7
7
|
import com.facebook.react.uimanager.ThemedReactContext;
|
|
8
8
|
import com.facebook.react.uimanager.ViewGroupManager;
|
|
9
|
+
import com.facebook.react.uimanager.ViewManagerDelegate;
|
|
9
10
|
import com.facebook.react.uimanager.annotations.ReactProp;
|
|
11
|
+
import com.facebook.react.viewmanagers.BottomSheetManagerDelegate;
|
|
10
12
|
import com.facebook.react.viewmanagers.BottomSheetManagerInterface;
|
|
11
13
|
|
|
12
14
|
import java.util.Map;
|
|
13
15
|
|
|
14
|
-
public class BottomSheetManager extends ViewGroupManager<BottomSheet>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
16
|
+
public class BottomSheetManager extends ViewGroupManager<BottomSheet> implements BottomSheetManagerInterface<BottomSheet> {
|
|
17
|
+
|
|
18
|
+
private final BottomSheetManagerDelegate<BottomSheet, BottomSheetManager> mDelegate = new BottomSheetManagerDelegate<>(this);
|
|
19
|
+
|
|
20
|
+
@Override
|
|
21
|
+
protected ViewManagerDelegate<BottomSheet> getDelegate() {
|
|
22
|
+
return mDelegate;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@NonNull
|
|
26
|
+
@Override
|
|
27
|
+
public String getName() {
|
|
28
|
+
return "BottomSheet";
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@NonNull
|
|
32
|
+
@Override
|
|
33
|
+
protected BottomSheet createViewInstance(@NonNull ThemedReactContext reactContext) {
|
|
34
|
+
return new BottomSheet(reactContext);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@Override
|
|
38
|
+
public Map<String, Object> getExportedCustomDirectEventTypeConstants() {
|
|
39
|
+
return MapBuilder.<String, Object>builder()
|
|
40
|
+
.put(OnStateChangedEvent.Name, MapBuilder.of("registrationName", OnStateChangedEvent.JSEventName))
|
|
41
|
+
.put(OnSlideEvent.Name, MapBuilder.of("registrationName", OnSlideEvent.JSEventName))
|
|
42
|
+
.build();
|
|
43
|
+
}
|
|
36
44
|
|
|
37
45
|
@Override
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
46
|
+
@ReactProp(name = "peekHeight", defaultInt = 200)
|
|
47
|
+
public void setPeekHeight(BottomSheet view, int dp) {
|
|
48
|
+
view.setPeekHeight((int) (PixelUtil.toPixelFromDIP(dp) + 0.5));
|
|
49
|
+
}
|
|
42
50
|
|
|
43
51
|
@Override
|
|
44
|
-
|
|
45
|
-
|
|
52
|
+
@ReactProp(name = "status")
|
|
53
|
+
public void setStatus(BottomSheet view, String status) {
|
|
46
54
|
assert status != null;
|
|
47
|
-
|
|
48
|
-
|
|
55
|
+
view.setStatus(BottomSheetStatus.valueOf(status.toUpperCase()));
|
|
56
|
+
}
|
|
49
57
|
|
|
50
58
|
@Override
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
59
|
+
@ReactProp(name = "draggable")
|
|
60
|
+
public void setDraggable(BottomSheet view, boolean draggable) {
|
|
61
|
+
view.setDraggable(draggable);
|
|
62
|
+
}
|
|
55
63
|
|
|
56
64
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#import "
|
|
1
|
+
#import "RNBottomSheet.h"
|
|
2
2
|
#import "RNBottomSheetStateChangedEvent.h"
|
|
3
3
|
#import "RNBottomSheetOffsetChangedEvent.h"
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ RCTSendStateForNativeAnimations_DEPRECATED(NSInteger tag, NSString *state) {
|
|
|
36
36
|
|
|
37
37
|
using namespace facebook::react;
|
|
38
38
|
|
|
39
|
-
@interface
|
|
39
|
+
@interface RNBottomSheet () <UIGestureRecognizerDelegate>
|
|
40
40
|
|
|
41
41
|
@property(nonatomic, assign) BottomSheetStatus status;
|
|
42
42
|
@property(nonatomic, assign) BottomSheetStatus finalStatus;
|
|
@@ -54,7 +54,7 @@ using namespace facebook::react;
|
|
|
54
54
|
|
|
55
55
|
@end
|
|
56
56
|
|
|
57
|
-
@implementation
|
|
57
|
+
@implementation RNBottomSheet {
|
|
58
58
|
__weak UIView *_rootView;
|
|
59
59
|
BOOL _isInitialRender;
|
|
60
60
|
__weak UIView *_reactRootView;
|
|
@@ -159,7 +159,7 @@ using namespace facebook::react;
|
|
|
159
159
|
if (!self.draggable) {
|
|
160
160
|
return NO;
|
|
161
161
|
}
|
|
162
|
-
|
|
162
|
+
|
|
163
163
|
if (gestureRecognizer != self.panGestureRecognizer) {
|
|
164
164
|
return YES;
|
|
165
165
|
}
|
|
@@ -524,7 +524,7 @@ using namespace facebook::react;
|
|
|
524
524
|
if (_reactRootView) {
|
|
525
525
|
return;
|
|
526
526
|
}
|
|
527
|
-
|
|
527
|
+
|
|
528
528
|
UIView *v = self;
|
|
529
529
|
while (v) {
|
|
530
530
|
if ([NSStringFromClass([v class]) isEqualToString:@"RCTSurfaceView"]) {
|
package/package.json
CHANGED
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdcx/bottom-sheet",
|
|
3
3
|
"description": "A react-native BottomSheet component.",
|
|
4
|
-
"version": "1.0.
|
|
5
|
-
"main": "./dist/index
|
|
6
|
-
"
|
|
4
|
+
"version": "1.0.5",
|
|
5
|
+
"main": "./dist/index",
|
|
6
|
+
"module": "./dist/index",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
7
8
|
"react-native": "src/index",
|
|
9
|
+
"source": "src/index",
|
|
8
10
|
"nativePackage": true,
|
|
9
11
|
"files": [
|
|
10
12
|
"src",
|
|
11
13
|
"dist",
|
|
12
14
|
"android",
|
|
13
15
|
"ios",
|
|
16
|
+
"react-native.config.js",
|
|
14
17
|
"RNBottomSheet.podspec",
|
|
15
18
|
"!android/build",
|
|
16
19
|
"!ios/build",
|
|
17
20
|
"!**/__tests__"
|
|
18
21
|
],
|
|
19
|
-
"repository": "https://github.com/
|
|
20
|
-
"homepage": "https://github.com/
|
|
22
|
+
"repository": "https://github.com/listenzz/react-native-troika",
|
|
23
|
+
"homepage": "https://github.com/listenzz/react-native-troika/tree/master/packages/bottom-sheet/README.md",
|
|
21
24
|
"author": "sdcx",
|
|
22
25
|
"license": "MIT",
|
|
23
26
|
"keywords": [
|
|
@@ -45,7 +48,7 @@
|
|
|
45
48
|
},
|
|
46
49
|
"ios": {
|
|
47
50
|
"componentProvider": {
|
|
48
|
-
"BottomSheet": "
|
|
51
|
+
"BottomSheet": "RNBottomSheet"
|
|
49
52
|
}
|
|
50
53
|
}
|
|
51
54
|
}
|
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
// !$*UTF8*$!
|
|
2
|
-
{
|
|
3
|
-
archiveVersion = 1;
|
|
4
|
-
classes = {
|
|
5
|
-
};
|
|
6
|
-
objectVersion = 48;
|
|
7
|
-
objects = {
|
|
8
|
-
|
|
9
|
-
/* Begin PBXBuildFile section */
|
|
10
|
-
91C884A6202C3E8600EC0A20 /* undefined.m in Sources */ = {isa = PBXBuildFile; fileRef = 91C884A1202C3E8600EC0A20 /* undefined.m */; };
|
|
11
|
-
/* End PBXBuildFile section */
|
|
12
|
-
|
|
13
|
-
/* Begin PBXCopyFilesBuildPhase section */
|
|
14
|
-
910362D01FE9318600F4DA8E /* CopyFiles */ = {
|
|
15
|
-
isa = PBXCopyFilesBuildPhase;
|
|
16
|
-
buildActionMask = 2147483647;
|
|
17
|
-
dstPath = "include/$(PRODUCT_NAME)";
|
|
18
|
-
dstSubfolderSpec = 16;
|
|
19
|
-
files = (
|
|
20
|
-
);
|
|
21
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
22
|
-
};
|
|
23
|
-
/* End PBXCopyFilesBuildPhase section */
|
|
24
|
-
|
|
25
|
-
/* Begin PBXFileReference section */
|
|
26
|
-
910362D21FE9318600F4DA8E /* libBottomSheet.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libBottomSheet.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
27
|
-
91C884A1202C3E8600EC0A20 /* undefined.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = undefined.m; sourceTree = "<group>"; };
|
|
28
|
-
91C884A2202C3E8600EC0A20 /* undefined.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = undefined.h; sourceTree = "<group>"; };
|
|
29
|
-
/* End PBXFileReference section */
|
|
30
|
-
|
|
31
|
-
/* Begin PBXFrameworksBuildPhase section */
|
|
32
|
-
910362CF1FE9318600F4DA8E /* Frameworks */ = {
|
|
33
|
-
isa = PBXFrameworksBuildPhase;
|
|
34
|
-
buildActionMask = 2147483647;
|
|
35
|
-
files = (
|
|
36
|
-
);
|
|
37
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
38
|
-
};
|
|
39
|
-
/* End PBXFrameworksBuildPhase section */
|
|
40
|
-
|
|
41
|
-
/* Begin PBXGroup section */
|
|
42
|
-
910362C91FE9318600F4DA8E = {
|
|
43
|
-
isa = PBXGroup;
|
|
44
|
-
children = (
|
|
45
|
-
910362D41FE9318600F4DA8E /* BottomSheet */,
|
|
46
|
-
910362D31FE9318600F4DA8E /* Products */,
|
|
47
|
-
);
|
|
48
|
-
sourceTree = "<group>";
|
|
49
|
-
};
|
|
50
|
-
910362D31FE9318600F4DA8E /* Products */ = {
|
|
51
|
-
isa = PBXGroup;
|
|
52
|
-
children = (
|
|
53
|
-
910362D21FE9318600F4DA8E /* libBottomSheet.a */,
|
|
54
|
-
);
|
|
55
|
-
name = Products;
|
|
56
|
-
sourceTree = "<group>";
|
|
57
|
-
};
|
|
58
|
-
910362D41FE9318600F4DA8E /* BottomSheet */ = {
|
|
59
|
-
isa = PBXGroup;
|
|
60
|
-
children = (
|
|
61
|
-
91C884A2202C3E8600EC0A20 /* undefined.h */,
|
|
62
|
-
91C884A1202C3E8600EC0A20 /* undefined.m */,
|
|
63
|
-
);
|
|
64
|
-
path = BottomSheet;
|
|
65
|
-
sourceTree = "<group>";
|
|
66
|
-
};
|
|
67
|
-
/* End PBXGroup section */
|
|
68
|
-
|
|
69
|
-
/* Begin PBXNativeTarget section */
|
|
70
|
-
910362D11FE9318600F4DA8E /* BottomSheet */ = {
|
|
71
|
-
isa = PBXNativeTarget;
|
|
72
|
-
buildConfigurationList = 910362DB1FE9318600F4DA8E /* Build configuration list for PBXNativeTarget "BottomSheet" */;
|
|
73
|
-
buildPhases = (
|
|
74
|
-
910362CE1FE9318600F4DA8E /* Sources */,
|
|
75
|
-
910362CF1FE9318600F4DA8E /* Frameworks */,
|
|
76
|
-
910362D01FE9318600F4DA8E /* CopyFiles */,
|
|
77
|
-
);
|
|
78
|
-
buildRules = (
|
|
79
|
-
);
|
|
80
|
-
dependencies = (
|
|
81
|
-
);
|
|
82
|
-
name = BottomSheet;
|
|
83
|
-
productName = BottomSheet;
|
|
84
|
-
productReference = 910362D21FE9318600F4DA8E /* libBottomSheet.a */;
|
|
85
|
-
productType = "com.apple.product-type.library.static";
|
|
86
|
-
};
|
|
87
|
-
/* End PBXNativeTarget section */
|
|
88
|
-
|
|
89
|
-
/* Begin PBXProject section */
|
|
90
|
-
910362CA1FE9318600F4DA8E /* Project object */ = {
|
|
91
|
-
isa = PBXProject;
|
|
92
|
-
attributes = {
|
|
93
|
-
LastUpgradeCheck = 0920;
|
|
94
|
-
ORGANIZATIONNAME = Listen;
|
|
95
|
-
TargetAttributes = {
|
|
96
|
-
910362D11FE9318600F4DA8E = {
|
|
97
|
-
CreatedOnToolsVersion = 9.2;
|
|
98
|
-
ProvisioningStyle = Automatic;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
buildConfigurationList = 910362CD1FE9318600F4DA8E /* Build configuration list for PBXProject "BottomSheet" */;
|
|
103
|
-
compatibilityVersion = "Xcode 8.0";
|
|
104
|
-
developmentRegion = en;
|
|
105
|
-
hasScannedForEncodings = 0;
|
|
106
|
-
knownRegions = (
|
|
107
|
-
en,
|
|
108
|
-
);
|
|
109
|
-
mainGroup = 910362C91FE9318600F4DA8E;
|
|
110
|
-
productRefGroup = 910362D31FE9318600F4DA8E /* Products */;
|
|
111
|
-
projectDirPath = "";
|
|
112
|
-
projectRoot = "";
|
|
113
|
-
targets = (
|
|
114
|
-
910362D11FE9318600F4DA8E /* BottomSheet */,
|
|
115
|
-
);
|
|
116
|
-
};
|
|
117
|
-
/* End PBXProject section */
|
|
118
|
-
|
|
119
|
-
/* Begin PBXSourcesBuildPhase section */
|
|
120
|
-
910362CE1FE9318600F4DA8E /* Sources */ = {
|
|
121
|
-
isa = PBXSourcesBuildPhase;
|
|
122
|
-
buildActionMask = 2147483647;
|
|
123
|
-
files = (
|
|
124
|
-
91C884A6202C3E8600EC0A20 /* undefined.m in Sources */,
|
|
125
|
-
);
|
|
126
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
127
|
-
};
|
|
128
|
-
/* End PBXSourcesBuildPhase section */
|
|
129
|
-
|
|
130
|
-
/* Begin XCBuildConfiguration section */
|
|
131
|
-
910362D91FE9318600F4DA8E /* Debug */ = {
|
|
132
|
-
isa = XCBuildConfiguration;
|
|
133
|
-
buildSettings = {
|
|
134
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
135
|
-
CLANG_ANALYZER_NONNULL = YES;
|
|
136
|
-
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
|
137
|
-
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
|
138
|
-
CLANG_CXX_LIBRARY = "libc++";
|
|
139
|
-
CLANG_ENABLE_MODULES = YES;
|
|
140
|
-
CLANG_ENABLE_OBJC_ARC = YES;
|
|
141
|
-
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
142
|
-
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
143
|
-
CLANG_WARN_COMMA = YES;
|
|
144
|
-
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
145
|
-
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
146
|
-
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
147
|
-
CLANG_WARN_EMPTY_BODY = YES;
|
|
148
|
-
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
149
|
-
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
150
|
-
CLANG_WARN_INT_CONVERSION = YES;
|
|
151
|
-
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
152
|
-
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
153
|
-
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
154
|
-
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
155
|
-
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
156
|
-
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
157
|
-
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
|
158
|
-
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
159
|
-
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
160
|
-
CODE_SIGN_IDENTITY = "iPhone Developer";
|
|
161
|
-
COPY_PHASE_STRIP = NO;
|
|
162
|
-
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
163
|
-
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
164
|
-
ENABLE_TESTABILITY = YES;
|
|
165
|
-
GCC_C_LANGUAGE_STANDARD = gnu11;
|
|
166
|
-
GCC_DYNAMIC_NO_PIC = NO;
|
|
167
|
-
GCC_NO_COMMON_BLOCKS = YES;
|
|
168
|
-
GCC_OPTIMIZATION_LEVEL = 0;
|
|
169
|
-
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
170
|
-
"DEBUG=1",
|
|
171
|
-
"$(inherited)",
|
|
172
|
-
);
|
|
173
|
-
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
174
|
-
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
175
|
-
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
176
|
-
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
177
|
-
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
178
|
-
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
179
|
-
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
|
|
180
|
-
MTL_ENABLE_DEBUG_INFO = YES;
|
|
181
|
-
ONLY_ACTIVE_ARCH = YES;
|
|
182
|
-
SDKROOT = iphoneos;
|
|
183
|
-
};
|
|
184
|
-
name = Debug;
|
|
185
|
-
};
|
|
186
|
-
910362DA1FE9318600F4DA8E /* Release */ = {
|
|
187
|
-
isa = XCBuildConfiguration;
|
|
188
|
-
buildSettings = {
|
|
189
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
190
|
-
CLANG_ANALYZER_NONNULL = YES;
|
|
191
|
-
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
|
192
|
-
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
|
193
|
-
CLANG_CXX_LIBRARY = "libc++";
|
|
194
|
-
CLANG_ENABLE_MODULES = YES;
|
|
195
|
-
CLANG_ENABLE_OBJC_ARC = YES;
|
|
196
|
-
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
197
|
-
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
198
|
-
CLANG_WARN_COMMA = YES;
|
|
199
|
-
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
200
|
-
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
201
|
-
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
202
|
-
CLANG_WARN_EMPTY_BODY = YES;
|
|
203
|
-
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
204
|
-
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
205
|
-
CLANG_WARN_INT_CONVERSION = YES;
|
|
206
|
-
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
207
|
-
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
208
|
-
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
209
|
-
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
210
|
-
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
211
|
-
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
212
|
-
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
|
213
|
-
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
214
|
-
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
215
|
-
CODE_SIGN_IDENTITY = "iPhone Developer";
|
|
216
|
-
COPY_PHASE_STRIP = NO;
|
|
217
|
-
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
|
218
|
-
ENABLE_NS_ASSERTIONS = NO;
|
|
219
|
-
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
220
|
-
GCC_C_LANGUAGE_STANDARD = gnu11;
|
|
221
|
-
GCC_NO_COMMON_BLOCKS = YES;
|
|
222
|
-
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
223
|
-
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
224
|
-
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
225
|
-
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
226
|
-
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
227
|
-
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
228
|
-
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
|
|
229
|
-
MTL_ENABLE_DEBUG_INFO = NO;
|
|
230
|
-
SDKROOT = iphoneos;
|
|
231
|
-
VALIDATE_PRODUCT = YES;
|
|
232
|
-
};
|
|
233
|
-
name = Release;
|
|
234
|
-
};
|
|
235
|
-
910362DC1FE9318600F4DA8E /* Debug */ = {
|
|
236
|
-
isa = XCBuildConfiguration;
|
|
237
|
-
buildSettings = {
|
|
238
|
-
CODE_SIGN_STYLE = Automatic;
|
|
239
|
-
DEVELOPMENT_TEAM = 9H9696K6NL;
|
|
240
|
-
OTHER_LDFLAGS = "-ObjC";
|
|
241
|
-
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
242
|
-
SKIP_INSTALL = YES;
|
|
243
|
-
TARGETED_DEVICE_FAMILY = "1,2";
|
|
244
|
-
};
|
|
245
|
-
name = Debug;
|
|
246
|
-
};
|
|
247
|
-
910362DD1FE9318600F4DA8E /* Release */ = {
|
|
248
|
-
isa = XCBuildConfiguration;
|
|
249
|
-
buildSettings = {
|
|
250
|
-
CODE_SIGN_STYLE = Automatic;
|
|
251
|
-
DEVELOPMENT_TEAM = 9H9696K6NL;
|
|
252
|
-
OTHER_LDFLAGS = "-ObjC";
|
|
253
|
-
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
254
|
-
SKIP_INSTALL = YES;
|
|
255
|
-
TARGETED_DEVICE_FAMILY = "1,2";
|
|
256
|
-
};
|
|
257
|
-
name = Release;
|
|
258
|
-
};
|
|
259
|
-
/* End XCBuildConfiguration section */
|
|
260
|
-
|
|
261
|
-
/* Begin XCConfigurationList section */
|
|
262
|
-
910362CD1FE9318600F4DA8E /* Build configuration list for PBXProject "BottomSheet" */ = {
|
|
263
|
-
isa = XCConfigurationList;
|
|
264
|
-
buildConfigurations = (
|
|
265
|
-
910362D91FE9318600F4DA8E /* Debug */,
|
|
266
|
-
910362DA1FE9318600F4DA8E /* Release */,
|
|
267
|
-
);
|
|
268
|
-
defaultConfigurationIsVisible = 0;
|
|
269
|
-
defaultConfigurationName = Release;
|
|
270
|
-
};
|
|
271
|
-
910362DB1FE9318600F4DA8E /* Build configuration list for PBXNativeTarget "BottomSheet" */ = {
|
|
272
|
-
isa = XCConfigurationList;
|
|
273
|
-
buildConfigurations = (
|
|
274
|
-
910362DC1FE9318600F4DA8E /* Debug */,
|
|
275
|
-
910362DD1FE9318600F4DA8E /* Release */,
|
|
276
|
-
);
|
|
277
|
-
defaultConfigurationIsVisible = 0;
|
|
278
|
-
defaultConfigurationName = Release;
|
|
279
|
-
};
|
|
280
|
-
/* End XCConfigurationList section */
|
|
281
|
-
};
|
|
282
|
-
rootObject = 910362CA1FE9318600F4DA8E /* Project object */;
|
|
283
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|