├── .gitattributes
├── .github
├── balance@2x.png
├── interpolate.gif
├── issue_template.md
└── logo.png
├── .gitignore
├── .npmignore
├── README.md
├── examples
└── basic
│ ├── .babelrc
│ ├── .buckconfig
│ ├── .flowconfig
│ ├── .gitattributes
│ ├── .gitignore
│ ├── .watchmanconfig
│ ├── App.js
│ ├── android
│ ├── app
│ │ ├── BUCK
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── basic
│ │ │ │ ├── MainActivity.java
│ │ │ │ └── MainApplication.java
│ │ │ └── res
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── keystores
│ │ ├── BUCK
│ │ └── debug.keystore.properties
│ └── settings.gradle
│ ├── app.json
│ ├── index.js
│ ├── ios
│ ├── basic-tvOS
│ │ └── Info.plist
│ ├── basic-tvOSTests
│ │ └── Info.plist
│ ├── basic.xcodeproj
│ │ ├── project.pbxproj
│ │ └── xcshareddata
│ │ │ └── xcschemes
│ │ │ ├── basic-tvOS.xcscheme
│ │ │ └── basic.xcscheme
│ ├── basic
│ │ ├── AppDelegate.h
│ │ ├── AppDelegate.m
│ │ ├── Base.lproj
│ │ │ └── LaunchScreen.xib
│ │ ├── Images.xcassets
│ │ │ ├── AppIcon.appiconset
│ │ │ │ └── Contents.json
│ │ │ └── Contents.json
│ │ ├── Info.plist
│ │ └── main.m
│ ├── basicTests
│ │ ├── Info.plist
│ │ └── basicTests.m
│ └── workaround.swift
│ ├── package.json
│ └── yarn.lock
├── index.js
├── ios
├── RNSquircleView-Bridging-Header.h
├── RNSquircleView.h
├── RNSquircleView.m
├── RNSquircleView.podspec
├── RNSquircleView.swift
├── RNSquircleView.xcodeproj
│ └── project.pbxproj
└── RNSquircleView.xcworkspace
│ └── contents.xcworkspacedata
├── license
└── package.json
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
--------------------------------------------------------------------------------
/.github/balance@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/everdrone/react-native-squircle-view/dc8a1d50300714d2f9344038a78f369b23a15daa/.github/balance@2x.png
--------------------------------------------------------------------------------
/.github/interpolate.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/everdrone/react-native-squircle-view/dc8a1d50300714d2f9344038a78f369b23a15daa/.github/interpolate.gif
--------------------------------------------------------------------------------
/.github/issue_template.md:
--------------------------------------------------------------------------------
1 | **Describe the issue**
2 | A clear and concise description of what the issue is.
3 |
4 | **Steps To Reproduce**
5 | The necessary steps in order to reproduce the behavior:
6 |
7 | 1. ...
8 | 2. ...
9 | 3. ...
10 |
11 | **Expected behavior**
12 | A clear and concise description of what you expected to happen.
13 |
--------------------------------------------------------------------------------
/.github/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/everdrone/react-native-squircle-view/dc8a1d50300714d2f9344038a78f369b23a15daa/.github/logo.png
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # OSX
3 | #
4 | .DS_Store
5 |
6 | # node.js
7 | #
8 | node_modules/
9 | npm-debug.log
10 | yarn-error.log
11 |
12 |
13 | # Xcode
14 | #
15 | build/
16 | *.pbxuser
17 | !default.pbxuser
18 | *.mode1v3
19 | !default.mode1v3
20 | *.mode2v3
21 | !default.mode2v3
22 | *.perspectivev3
23 | !default.perspectivev3
24 | xcuserdata
25 | *.xccheckout
26 | *.moved-aside
27 | DerivedData
28 | *.hmap
29 | *.ipa
30 | *.xcuserstate
31 | project.xcworkspace
32 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | examples
2 | .github
3 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Apple flavored curvature continuity for React Native
7 |
8 | ### Sponsors
9 |
10 |
11 |
12 | ## Getting started
13 |
14 | ```bash
15 | yarn add react-native-super-ellipse-mask
16 | ```
17 |
18 | ### Mostly automatic installation
19 |
20 | ```bash
21 | react-native link react-native-squircle-view
22 | ```
23 |
24 | ### Manual installation
25 |
26 | #### iOS
27 |
28 | 1. In XCode, in the project navigator, right click `Libraries` > `Add Files to [your project's name]`
29 | 2. Go to `node_modules` > `react-native-squircle-view` and add `RNSquircleView.xcodeproj`
30 | 3. In XCode, in the project navigator, select your project. Add `libRNSquircleView.a` to your project's `Build Phases` > `Link Binary With Libraries`
31 | 4. Run your project (`Cmd+R`)<
32 |
33 | ## Usage
34 |
35 | ```javascript
36 |
37 | ...
38 |
39 | ```
40 |
41 | ## Props
42 |
43 | - `interpolatePath`
44 | `bool`: Interpolates the corner shape from super elliptical to circular. Defaults to `true`
45 |
46 | 
47 |
48 | ## Caveats
49 |
50 | If XCode gives you a linker error and many warnings like `Auto-Linking library not found for -lswiftCoreGraphics` just add an [empty swift file](examples/basic/ios/workaround.swift) to the root of your `.xcodeproj` ([Source](https://stackoverflow.com/questions/50096025/it-gives-errors-when-using-swift-static-library-with-objective-c-project/50495316#50495316))
51 |
52 | ## Known Issues
53 |
54 | - **Non compliant CSS borders**: Currently this library doesn't support CSS compliant borders (like React Native's `` does).
55 | - **Limited corner radius**: The maximum corner radius for each corner can't be greater than half of the smallest side of the view.
56 |
57 |
62 |
--------------------------------------------------------------------------------
/examples/basic/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["module:metro-react-native-babel-preset"]
3 | }
4 |
--------------------------------------------------------------------------------
/examples/basic/.buckconfig:
--------------------------------------------------------------------------------
1 |
2 | [android]
3 | target = Google Inc.:Google APIs:23
4 |
5 | [maven_repositories]
6 | central = https://repo1.maven.org/maven2
7 |
--------------------------------------------------------------------------------
/examples/basic/.flowconfig:
--------------------------------------------------------------------------------
1 | [ignore]
2 | ; We fork some components by platform
3 | .*/*[.]android.js
4 |
5 | ; Ignore "BUCK" generated dirs
6 | /\.buckd/
7 |
8 | ; Ignore unexpected extra "@providesModule"
9 | .*/node_modules/.*/node_modules/fbjs/.*
10 |
11 | ; Ignore duplicate module providers
12 | ; For RN Apps installed via npm, "Libraries" folder is inside
13 | ; "node_modules/react-native" but in the source repo it is in the root
14 | .*/Libraries/react-native/React.js
15 |
16 | ; Ignore polyfills
17 | .*/Libraries/polyfills/.*
18 |
19 | ; Ignore metro
20 | .*/node_modules/metro/.*
21 |
22 | [include]
23 |
24 | [libs]
25 | node_modules/react-native/Libraries/react-native/react-native-interface.js
26 | node_modules/react-native/flow/
27 | node_modules/react-native/flow-github/
28 |
29 | [options]
30 | emoji=true
31 |
32 | esproposal.optional_chaining=enable
33 | esproposal.nullish_coalescing=enable
34 |
35 | module.system=haste
36 | module.system.haste.use_name_reducers=true
37 | # get basename
38 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
39 | # strip .js or .js.flow suffix
40 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
41 | # strip .ios suffix
42 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
43 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
44 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
45 | module.system.haste.paths.blacklist=.*/__tests__/.*
46 | module.system.haste.paths.blacklist=.*/__mocks__/.*
47 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.*
48 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.*
49 |
50 | munge_underscores=true
51 |
52 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
53 |
54 | module.file_ext=.js
55 | module.file_ext=.jsx
56 | module.file_ext=.json
57 | module.file_ext=.native.js
58 |
59 | suppress_type=$FlowIssue
60 | suppress_type=$FlowFixMe
61 | suppress_type=$FlowFixMeProps
62 | suppress_type=$FlowFixMeState
63 |
64 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
65 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
66 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
67 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
68 |
69 | [version]
70 | ^0.78.0
71 |
--------------------------------------------------------------------------------
/examples/basic/.gitattributes:
--------------------------------------------------------------------------------
1 | *.pbxproj -text
2 |
--------------------------------------------------------------------------------
/examples/basic/.gitignore:
--------------------------------------------------------------------------------
1 | # OSX
2 | #
3 | .DS_Store
4 |
5 | # Xcode
6 | #
7 | build/
8 | *.pbxuser
9 | !default.pbxuser
10 | *.mode1v3
11 | !default.mode1v3
12 | *.mode2v3
13 | !default.mode2v3
14 | *.perspectivev3
15 | !default.perspectivev3
16 | xcuserdata
17 | *.xccheckout
18 | *.moved-aside
19 | DerivedData
20 | *.hmap
21 | *.ipa
22 | *.xcuserstate
23 | project.xcworkspace
24 |
25 | # Android/IntelliJ
26 | #
27 | build/
28 | .idea
29 | .gradle
30 | local.properties
31 | *.iml
32 |
33 | # node.js
34 | #
35 | node_modules/
36 | npm-debug.log
37 | yarn-error.log
38 |
39 | # BUCK
40 | buck-out/
41 | \.buckd/
42 | *.keystore
43 |
44 | # fastlane
45 | #
46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47 | # screenshots whenever they are needed.
48 | # For more information about the recommended setup visit:
49 | # https://docs.fastlane.tools/best-practices/source-control/
50 |
51 | */fastlane/report.xml
52 | */fastlane/Preview.html
53 | */fastlane/screenshots
54 |
55 | # Bundle artifact
56 | *.jsbundle
57 |
--------------------------------------------------------------------------------
/examples/basic/.watchmanconfig:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/examples/basic/App.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import { StyleSheet, Text, View, StatusBar } from 'react-native';
3 |
4 | import SquircleView from 'react-native-squircle-view';
5 |
6 | export default class App extends Component {
7 | render() {
8 | return (
9 |
10 |
11 |
12 |
13 |
14 | Hello There
15 |
16 |
17 |
18 |
19 | );
20 | }
21 | }
22 |
23 | const styles = StyleSheet.create({
24 | container: {
25 | flex: 1,
26 | justifyContent: 'center',
27 | alignItems: 'center',
28 | backgroundColor: '#212225',
29 | },
30 | squircle1: {
31 | width: 300,
32 | height: 300,
33 | justifyContent: 'center',
34 | alignItems: 'center',
35 | backgroundColor: '#333437',
36 | borderRadius: 100,
37 | shadowColor: '#050031',
38 | shadowOpacity: 0.15,
39 | shadowOffset: {
40 | width: 0,
41 | height: 10,
42 | },
43 | shadowRadius: 8,
44 | },
45 | squircle2: {
46 | width: 225,
47 | height: 225,
48 | justifyContent: 'center',
49 | alignItems: 'center',
50 | backgroundColor: '#74B4D6',
51 | borderRadius: 75,
52 | shadowColor: '#050031',
53 | shadowOpacity: 0.15,
54 | shadowOffset: {
55 | width: 0,
56 | height: 10,
57 | },
58 | shadowRadius: 8,
59 | },
60 | squircle3: {
61 | width: 150,
62 | height: 150,
63 | justifyContent: 'center',
64 | alignItems: 'center',
65 | backgroundColor: '#DDDEDE',
66 | borderRadius: 50,
67 | shadowColor: '#050031',
68 | shadowOpacity: 0.15,
69 | shadowOffset: {
70 | width: 0,
71 | height: 10,
72 | },
73 | shadowRadius: 8,
74 | },
75 | welcome: {
76 | fontSize: 20,
77 | textAlign: 'center',
78 | margin: 10,
79 | color: '#333437',
80 | },
81 | });
82 |
--------------------------------------------------------------------------------
/examples/basic/android/app/BUCK:
--------------------------------------------------------------------------------
1 | # To learn about Buck see [Docs](https://buckbuild.com/).
2 | # To run your application with Buck:
3 | # - install Buck
4 | # - `npm start` - to start the packager
5 | # - `cd android`
6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"`
7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
8 | # - `buck install -r android/app` - compile, install and run application
9 | #
10 |
11 | lib_deps = []
12 |
13 | for jarfile in glob(['libs/*.jar']):
14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')]
15 | lib_deps.append(':' + name)
16 | prebuilt_jar(
17 | name = name,
18 | binary_jar = jarfile,
19 | )
20 |
21 | for aarfile in glob(['libs/*.aar']):
22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')]
23 | lib_deps.append(':' + name)
24 | android_prebuilt_aar(
25 | name = name,
26 | aar = aarfile,
27 | )
28 |
29 | android_library(
30 | name = "all-libs",
31 | exported_deps = lib_deps,
32 | )
33 |
34 | android_library(
35 | name = "app-code",
36 | srcs = glob([
37 | "src/main/java/**/*.java",
38 | ]),
39 | deps = [
40 | ":all-libs",
41 | ":build_config",
42 | ":res",
43 | ],
44 | )
45 |
46 | android_build_config(
47 | name = "build_config",
48 | package = "com.basic",
49 | )
50 |
51 | android_resource(
52 | name = "res",
53 | package = "com.basic",
54 | res = "src/main/res",
55 | )
56 |
57 | android_binary(
58 | name = "app",
59 | keystore = "//android/keystores:debug",
60 | manifest = "src/main/AndroidManifest.xml",
61 | package_type = "debug",
62 | deps = [
63 | ":app-code",
64 | ],
65 | )
66 |
--------------------------------------------------------------------------------
/examples/basic/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: "com.android.application"
2 |
3 | import com.android.build.OutputFile
4 |
5 | /**
6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
7 | * and bundleReleaseJsAndAssets).
8 | * These basically call `react-native bundle` with the correct arguments during the Android build
9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
10 | * bundle directly from the development server. Below you can see all the possible configurations
11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the
12 | * `apply from: "../../node_modules/react-native/react.gradle"` line.
13 | *
14 | * project.ext.react = [
15 | * // the name of the generated asset file containing your JS bundle
16 | * bundleAssetName: "index.android.bundle",
17 | *
18 | * // the entry file for bundle generation
19 | * entryFile: "index.android.js",
20 | *
21 | * // whether to bundle JS and assets in debug mode
22 | * bundleInDebug: false,
23 | *
24 | * // whether to bundle JS and assets in release mode
25 | * bundleInRelease: true,
26 | *
27 | * // whether to bundle JS and assets in another build variant (if configured).
28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
29 | * // The configuration property can be in the following formats
30 | * // 'bundleIn${productFlavor}${buildType}'
31 | * // 'bundleIn${buildType}'
32 | * // bundleInFreeDebug: true,
33 | * // bundleInPaidRelease: true,
34 | * // bundleInBeta: true,
35 | *
36 | * // whether to disable dev mode in custom build variants (by default only disabled in release)
37 | * // for example: to disable dev mode in the staging build type (if configured)
38 | * devDisabledInStaging: true,
39 | * // The configuration property can be in the following formats
40 | * // 'devDisabledIn${productFlavor}${buildType}'
41 | * // 'devDisabledIn${buildType}'
42 | *
43 | * // the root of your project, i.e. where "package.json" lives
44 | * root: "../../",
45 | *
46 | * // where to put the JS bundle asset in debug mode
47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
48 | *
49 | * // where to put the JS bundle asset in release mode
50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release",
51 | *
52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
53 | * // require('./image.png')), in debug mode
54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
55 | *
56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via
57 | * // require('./image.png')), in release mode
58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
59 | *
60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means
61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle
63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
64 | * // for example, you might want to remove it from here.
65 | * inputExcludes: ["android/**", "ios/**"],
66 | *
67 | * // override which node gets called and with what additional arguments
68 | * nodeExecutableAndArgs: ["node"],
69 | *
70 | * // supply additional arguments to the packager
71 | * extraPackagerArgs: []
72 | * ]
73 | */
74 |
75 | project.ext.react = [
76 | entryFile: "index.js"
77 | ]
78 |
79 | apply from: "../../node_modules/react-native/react.gradle"
80 |
81 | /**
82 | * Set this to true to create two separate APKs instead of one:
83 | * - An APK that only works on ARM devices
84 | * - An APK that only works on x86 devices
85 | * The advantage is the size of the APK is reduced by about 4MB.
86 | * Upload all the APKs to the Play Store and people will download
87 | * the correct one based on the CPU architecture of their device.
88 | */
89 | def enableSeparateBuildPerCPUArchitecture = false
90 |
91 | /**
92 | * Run Proguard to shrink the Java bytecode in release builds.
93 | */
94 | def enableProguardInReleaseBuilds = false
95 |
96 | android {
97 | compileSdkVersion rootProject.ext.compileSdkVersion
98 | buildToolsVersion rootProject.ext.buildToolsVersion
99 |
100 | defaultConfig {
101 | applicationId "com.basic"
102 | minSdkVersion rootProject.ext.minSdkVersion
103 | targetSdkVersion rootProject.ext.targetSdkVersion
104 | versionCode 1
105 | versionName "1.0"
106 | ndk {
107 | abiFilters "armeabi-v7a", "x86"
108 | }
109 | }
110 | splits {
111 | abi {
112 | reset()
113 | enable enableSeparateBuildPerCPUArchitecture
114 | universalApk false // If true, also generate a universal APK
115 | include "armeabi-v7a", "x86"
116 | }
117 | }
118 | buildTypes {
119 | release {
120 | minifyEnabled enableProguardInReleaseBuilds
121 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
122 | }
123 | }
124 | // applicationVariants are e.g. debug, release
125 | applicationVariants.all { variant ->
126 | variant.outputs.each { output ->
127 | // For each separate APK per architecture, set a unique version code as described here:
128 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
129 | def versionCodes = ["armeabi-v7a":1, "x86":2]
130 | def abi = output.getFilter(OutputFile.ABI)
131 | if (abi != null) { // null for the universal-debug, universal-release variants
132 | output.versionCodeOverride =
133 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
134 | }
135 | }
136 | }
137 | }
138 |
139 | dependencies {
140 | implementation fileTree(dir: "libs", include: ["*.jar"])
141 | implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
142 | implementation "com.facebook.react:react-native:+" // From node_modules
143 | }
144 |
145 | // Run this once to be able to run the application with BUCK
146 | // puts all compile dependencies into folder libs for BUCK to use
147 | task copyDownloadableDepsToLibs(type: Copy) {
148 | from configurations.compile
149 | into 'libs'
150 | }
151 |
--------------------------------------------------------------------------------
/examples/basic/android/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
13 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/java/com/basic/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.basic;
2 |
3 | import com.facebook.react.ReactActivity;
4 |
5 | public class MainActivity extends ReactActivity {
6 |
7 | /**
8 | * Returns the name of the main component registered from JavaScript.
9 | * This is used to schedule rendering of the component.
10 | */
11 | @Override
12 | protected String getMainComponentName() {
13 | return "basic";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/java/com/basic/MainApplication.java:
--------------------------------------------------------------------------------
1 | package com.basic;
2 |
3 | import android.app.Application;
4 |
5 | import com.facebook.react.ReactApplication;
6 | import com.facebook.react.ReactNativeHost;
7 | import com.facebook.react.ReactPackage;
8 | import com.facebook.react.shell.MainReactPackage;
9 | import com.facebook.soloader.SoLoader;
10 |
11 | import java.util.Arrays;
12 | import java.util.List;
13 |
14 | public class MainApplication extends Application implements ReactApplication {
15 |
16 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
17 | @Override
18 | public boolean getUseDeveloperSupport() {
19 | return BuildConfig.DEBUG;
20 | }
21 |
22 | @Override
23 | protected List getPackages() {
24 | return Arrays.asList(
25 | new MainReactPackage()
26 | );
27 | }
28 |
29 | @Override
30 | protected String getJSMainModuleName() {
31 | return "index";
32 | }
33 | };
34 |
35 | @Override
36 | public ReactNativeHost getReactNativeHost() {
37 | return mReactNativeHost;
38 | }
39 |
40 | @Override
41 | public void onCreate() {
42 | super.onCreate();
43 | SoLoader.init(this, /* native exopackage */ false);
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/everdrone/react-native-squircle-view/dc8a1d50300714d2f9344038a78f369b23a15daa/examples/basic/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/everdrone/react-native-squircle-view/dc8a1d50300714d2f9344038a78f369b23a15daa/examples/basic/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/everdrone/react-native-squircle-view/dc8a1d50300714d2f9344038a78f369b23a15daa/examples/basic/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/everdrone/react-native-squircle-view/dc8a1d50300714d2f9344038a78f369b23a15daa/examples/basic/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/everdrone/react-native-squircle-view/dc8a1d50300714d2f9344038a78f369b23a15daa/examples/basic/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/everdrone/react-native-squircle-view/dc8a1d50300714d2f9344038a78f369b23a15daa/examples/basic/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/everdrone/react-native-squircle-view/dc8a1d50300714d2f9344038a78f369b23a15daa/examples/basic/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/everdrone/react-native-squircle-view/dc8a1d50300714d2f9344038a78f369b23a15daa/examples/basic/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/everdrone/react-native-squircle-view/dc8a1d50300714d2f9344038a78f369b23a15daa/examples/basic/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/everdrone/react-native-squircle-view/dc8a1d50300714d2f9344038a78f369b23a15daa/examples/basic/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | basic
3 |
4 |
--------------------------------------------------------------------------------
/examples/basic/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/examples/basic/android/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | ext {
5 | buildToolsVersion = "27.0.3"
6 | minSdkVersion = 16
7 | compileSdkVersion = 27
8 | targetSdkVersion = 26
9 | supportLibVersion = "27.1.1"
10 | }
11 | repositories {
12 | jcenter()
13 | google()
14 | }
15 | dependencies {
16 | classpath 'com.android.tools.build:gradle:3.1.4'
17 |
18 | // NOTE: Do not place your application dependencies here; they belong
19 | // in the individual module build.gradle files
20 | }
21 | }
22 |
23 | allprojects {
24 | repositories {
25 | mavenLocal()
26 | jcenter()
27 | maven {
28 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
29 | url "$rootDir/../node_modules/react-native/android"
30 | }
31 | google()
32 | }
33 | }
34 |
35 |
36 | task wrapper(type: Wrapper) {
37 | gradleVersion = '4.4'
38 | distributionUrl = distributionUrl.replace("bin", "all")
39 | }
40 |
--------------------------------------------------------------------------------
/examples/basic/android/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
19 |
--------------------------------------------------------------------------------
/examples/basic/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/everdrone/react-native-squircle-view/dc8a1d50300714d2f9344038a78f369b23a15daa/examples/basic/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/examples/basic/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
6 |
--------------------------------------------------------------------------------
/examples/basic/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Attempt to set APP_HOME
10 | # Resolve links: $0 may be a link
11 | PRG="$0"
12 | # Need this for relative symlinks.
13 | while [ -h "$PRG" ] ; do
14 | ls=`ls -ld "$PRG"`
15 | link=`expr "$ls" : '.*-> \(.*\)$'`
16 | if expr "$link" : '/.*' > /dev/null; then
17 | PRG="$link"
18 | else
19 | PRG=`dirname "$PRG"`"/$link"
20 | fi
21 | done
22 | SAVED="`pwd`"
23 | cd "`dirname \"$PRG\"`/" >/dev/null
24 | APP_HOME="`pwd -P`"
25 | cd "$SAVED" >/dev/null
26 |
27 | APP_NAME="Gradle"
28 | APP_BASE_NAME=`basename "$0"`
29 |
30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31 | DEFAULT_JVM_OPTS=""
32 |
33 | # Use the maximum available, or set MAX_FD != -1 to use that value.
34 | MAX_FD="maximum"
35 |
36 | warn () {
37 | echo "$*"
38 | }
39 |
40 | die () {
41 | echo
42 | echo "$*"
43 | echo
44 | exit 1
45 | }
46 |
47 | # OS specific support (must be 'true' or 'false').
48 | cygwin=false
49 | msys=false
50 | darwin=false
51 | nonstop=false
52 | case "`uname`" in
53 | CYGWIN* )
54 | cygwin=true
55 | ;;
56 | Darwin* )
57 | darwin=true
58 | ;;
59 | MINGW* )
60 | msys=true
61 | ;;
62 | NONSTOP* )
63 | nonstop=true
64 | ;;
65 | esac
66 |
67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
68 |
69 | # Determine the Java command to use to start the JVM.
70 | if [ -n "$JAVA_HOME" ] ; then
71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
72 | # IBM's JDK on AIX uses strange locations for the executables
73 | JAVACMD="$JAVA_HOME/jre/sh/java"
74 | else
75 | JAVACMD="$JAVA_HOME/bin/java"
76 | fi
77 | if [ ! -x "$JAVACMD" ] ; then
78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
79 |
80 | Please set the JAVA_HOME variable in your environment to match the
81 | location of your Java installation."
82 | fi
83 | else
84 | JAVACMD="java"
85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
86 |
87 | Please set the JAVA_HOME variable in your environment to match the
88 | location of your Java installation."
89 | fi
90 |
91 | # Increase the maximum file descriptors if we can.
92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
93 | MAX_FD_LIMIT=`ulimit -H -n`
94 | if [ $? -eq 0 ] ; then
95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
96 | MAX_FD="$MAX_FD_LIMIT"
97 | fi
98 | ulimit -n $MAX_FD
99 | if [ $? -ne 0 ] ; then
100 | warn "Could not set maximum file descriptor limit: $MAX_FD"
101 | fi
102 | else
103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
104 | fi
105 | fi
106 |
107 | # For Darwin, add options to specify how the application appears in the dock
108 | if $darwin; then
109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
110 | fi
111 |
112 | # For Cygwin, switch paths to Windows format before running java
113 | if $cygwin ; then
114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
116 | JAVACMD=`cygpath --unix "$JAVACMD"`
117 |
118 | # We build the pattern for arguments to be converted via cygpath
119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 | SEP=""
121 | for dir in $ROOTDIRSRAW ; do
122 | ROOTDIRS="$ROOTDIRS$SEP$dir"
123 | SEP="|"
124 | done
125 | OURCYGPATTERN="(^($ROOTDIRS))"
126 | # Add a user-defined pattern to the cygpath arguments
127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 | fi
130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 | i=0
132 | for arg in "$@" ; do
133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 |
136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 | else
139 | eval `echo args$i`="\"$arg\""
140 | fi
141 | i=$((i+1))
142 | done
143 | case $i in
144 | (0) set -- ;;
145 | (1) set -- "$args0" ;;
146 | (2) set -- "$args0" "$args1" ;;
147 | (3) set -- "$args0" "$args1" "$args2" ;;
148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 | esac
155 | fi
156 |
157 | # Escape application args
158 | save () {
159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
160 | echo " "
161 | }
162 | APP_ARGS=$(save "$@")
163 |
164 | # Collect all arguments for the java command, following the shell quoting and substitution rules
165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
166 |
167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
169 | cd "$(dirname "$0")"
170 | fi
171 |
172 | exec "$JAVACMD" "$@"
173 |
--------------------------------------------------------------------------------
/examples/basic/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | set DIRNAME=%~dp0
12 | if "%DIRNAME%" == "" set DIRNAME=.
13 | set APP_BASE_NAME=%~n0
14 | set APP_HOME=%DIRNAME%
15 |
16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17 | set DEFAULT_JVM_OPTS=
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windows variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 |
53 | :win9xME_args
54 | @rem Slurp the command line arguments.
55 | set CMD_LINE_ARGS=
56 | set _SKIP=2
57 |
58 | :win9xME_args_slurp
59 | if "x%~1" == "x" goto execute
60 |
61 | set CMD_LINE_ARGS=%*
62 |
63 | :execute
64 | @rem Setup the command line
65 |
66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
67 |
68 | @rem Execute Gradle
69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
70 |
71 | :end
72 | @rem End local scope for the variables with windows NT shell
73 | if "%ERRORLEVEL%"=="0" goto mainEnd
74 |
75 | :fail
76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
77 | rem the _cmd.exe /c_ return code!
78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
79 | exit /b 1
80 |
81 | :mainEnd
82 | if "%OS%"=="Windows_NT" endlocal
83 |
84 | :omega
85 |
--------------------------------------------------------------------------------
/examples/basic/android/keystores/BUCK:
--------------------------------------------------------------------------------
1 | keystore(
2 | name = "debug",
3 | properties = "debug.keystore.properties",
4 | store = "debug.keystore",
5 | visibility = [
6 | "PUBLIC",
7 | ],
8 | )
9 |
--------------------------------------------------------------------------------
/examples/basic/android/keystores/debug.keystore.properties:
--------------------------------------------------------------------------------
1 | key.store=debug.keystore
2 | key.alias=androiddebugkey
3 | key.store.password=android
4 | key.alias.password=android
5 |
--------------------------------------------------------------------------------
/examples/basic/android/settings.gradle:
--------------------------------------------------------------------------------
1 | rootProject.name = 'basic'
2 |
3 | include ':app'
4 |
--------------------------------------------------------------------------------
/examples/basic/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "basic",
3 | "displayName": "basic"
4 | }
--------------------------------------------------------------------------------
/examples/basic/index.js:
--------------------------------------------------------------------------------
1 | /** @format */
2 |
3 | import {AppRegistry} from 'react-native';
4 | import App from './App';
5 | import {name as appName} from './app.json';
6 |
7 | AppRegistry.registerComponent(appName, () => App);
8 |
--------------------------------------------------------------------------------
/examples/basic/ios/basic-tvOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UIViewControllerBasedStatusBarAppearance
38 |
39 | NSLocationWhenInUseUsageDescription
40 |
41 | NSAppTransportSecurity
42 |
43 |
44 | NSExceptionDomains
45 |
46 | localhost
47 |
48 | NSExceptionAllowsInsecureHTTPLoads
49 |
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/examples/basic/ios/basic-tvOSTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/examples/basic/ios/basic.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; };
13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; };
14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; };
15 | 00E356F31AD99517003FC87E /* basicTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* basicTests.m */; };
16 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
17 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
18 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
19 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; };
20 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
21 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
22 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
23 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
24 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
25 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
26 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
27 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
28 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
29 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
30 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; };
31 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; };
32 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; };
33 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; };
34 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; };
35 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; };
36 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; };
37 | 2DCD954D1E0B4F2C00145EB5 /* basicTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* basicTests.m */; };
38 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; };
39 | 3C994D80D28B4B98B16803DC /* libRNSquircleView.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E2C3762E795F4B5987C6EC0A /* libRNSquircleView.a */; };
40 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
41 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
42 | C344F2272180558800926D7C /* workaround.swift in Sources */ = {isa = PBXBuildFile; fileRef = C344F2262180558800926D7C /* workaround.swift */; };
43 | /* End PBXBuildFile section */
44 |
45 | /* Begin PBXContainerItemProxy section */
46 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = {
47 | isa = PBXContainerItemProxy;
48 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
49 | proxyType = 2;
50 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
51 | remoteInfo = RCTActionSheet;
52 | };
53 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = {
54 | isa = PBXContainerItemProxy;
55 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
56 | proxyType = 2;
57 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
58 | remoteInfo = RCTGeolocation;
59 | };
60 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = {
61 | isa = PBXContainerItemProxy;
62 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
63 | proxyType = 2;
64 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676;
65 | remoteInfo = RCTImage;
66 | };
67 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = {
68 | isa = PBXContainerItemProxy;
69 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
70 | proxyType = 2;
71 | remoteGlobalIDString = 58B511DB1A9E6C8500147676;
72 | remoteInfo = RCTNetwork;
73 | };
74 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = {
75 | isa = PBXContainerItemProxy;
76 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
77 | proxyType = 2;
78 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7;
79 | remoteInfo = RCTVibration;
80 | };
81 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
82 | isa = PBXContainerItemProxy;
83 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
84 | proxyType = 1;
85 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
86 | remoteInfo = basic;
87 | };
88 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
89 | isa = PBXContainerItemProxy;
90 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
91 | proxyType = 2;
92 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
93 | remoteInfo = RCTSettings;
94 | };
95 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = {
96 | isa = PBXContainerItemProxy;
97 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
98 | proxyType = 2;
99 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A;
100 | remoteInfo = RCTWebSocket;
101 | };
102 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = {
103 | isa = PBXContainerItemProxy;
104 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
105 | proxyType = 2;
106 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192;
107 | remoteInfo = React;
108 | };
109 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = {
110 | isa = PBXContainerItemProxy;
111 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
112 | proxyType = 1;
113 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7;
114 | remoteInfo = "basic-tvOS";
115 | };
116 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
117 | isa = PBXContainerItemProxy;
118 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
119 | proxyType = 2;
120 | remoteGlobalIDString = ADD01A681E09402E00F6D226;
121 | remoteInfo = "RCTBlob-tvOS";
122 | };
123 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
124 | isa = PBXContainerItemProxy;
125 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
126 | proxyType = 2;
127 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32;
128 | remoteInfo = fishhook;
129 | };
130 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = {
131 | isa = PBXContainerItemProxy;
132 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
133 | proxyType = 2;
134 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32;
135 | remoteInfo = "fishhook-tvOS";
136 | };
137 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = {
138 | isa = PBXContainerItemProxy;
139 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
140 | proxyType = 2;
141 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5;
142 | remoteInfo = jsinspector;
143 | };
144 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = {
145 | isa = PBXContainerItemProxy;
146 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
147 | proxyType = 2;
148 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5;
149 | remoteInfo = "jsinspector-tvOS";
150 | };
151 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = {
152 | isa = PBXContainerItemProxy;
153 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
154 | proxyType = 2;
155 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7;
156 | remoteInfo = "third-party";
157 | };
158 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = {
159 | isa = PBXContainerItemProxy;
160 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
161 | proxyType = 2;
162 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8;
163 | remoteInfo = "third-party-tvOS";
164 | };
165 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = {
166 | isa = PBXContainerItemProxy;
167 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
168 | proxyType = 2;
169 | remoteGlobalIDString = 139D7E881E25C6D100323FB7;
170 | remoteInfo = "double-conversion";
171 | };
172 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = {
173 | isa = PBXContainerItemProxy;
174 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
175 | proxyType = 2;
176 | remoteGlobalIDString = 3D383D621EBD27B9005632C8;
177 | remoteInfo = "double-conversion-tvOS";
178 | };
179 | 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */ = {
180 | isa = PBXContainerItemProxy;
181 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
182 | proxyType = 2;
183 | remoteGlobalIDString = 9936F3131F5F2E4B0010BF04;
184 | remoteInfo = privatedata;
185 | };
186 | 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */ = {
187 | isa = PBXContainerItemProxy;
188 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
189 | proxyType = 2;
190 | remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04;
191 | remoteInfo = "privatedata-tvOS";
192 | };
193 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
194 | isa = PBXContainerItemProxy;
195 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
196 | proxyType = 2;
197 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
198 | remoteInfo = "RCTImage-tvOS";
199 | };
200 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = {
201 | isa = PBXContainerItemProxy;
202 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
203 | proxyType = 2;
204 | remoteGlobalIDString = 2D2A28471D9B043800D4039D;
205 | remoteInfo = "RCTLinking-tvOS";
206 | };
207 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
208 | isa = PBXContainerItemProxy;
209 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
210 | proxyType = 2;
211 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
212 | remoteInfo = "RCTNetwork-tvOS";
213 | };
214 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
215 | isa = PBXContainerItemProxy;
216 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
217 | proxyType = 2;
218 | remoteGlobalIDString = 2D2A28611D9B046600D4039D;
219 | remoteInfo = "RCTSettings-tvOS";
220 | };
221 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = {
222 | isa = PBXContainerItemProxy;
223 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
224 | proxyType = 2;
225 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
226 | remoteInfo = "RCTText-tvOS";
227 | };
228 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = {
229 | isa = PBXContainerItemProxy;
230 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
231 | proxyType = 2;
232 | remoteGlobalIDString = 2D2A28881D9B049200D4039D;
233 | remoteInfo = "RCTWebSocket-tvOS";
234 | };
235 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = {
236 | isa = PBXContainerItemProxy;
237 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
238 | proxyType = 2;
239 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
240 | remoteInfo = "React-tvOS";
241 | };
242 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = {
243 | isa = PBXContainerItemProxy;
244 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
245 | proxyType = 2;
246 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA;
247 | remoteInfo = yoga;
248 | };
249 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = {
250 | isa = PBXContainerItemProxy;
251 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
252 | proxyType = 2;
253 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA;
254 | remoteInfo = "yoga-tvOS";
255 | };
256 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = {
257 | isa = PBXContainerItemProxy;
258 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
259 | proxyType = 2;
260 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4;
261 | remoteInfo = cxxreact;
262 | };
263 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
264 | isa = PBXContainerItemProxy;
265 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
266 | proxyType = 2;
267 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
268 | remoteInfo = "cxxreact-tvOS";
269 | };
270 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
271 | isa = PBXContainerItemProxy;
272 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
273 | proxyType = 2;
274 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
275 | remoteInfo = jschelpers;
276 | };
277 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
278 | isa = PBXContainerItemProxy;
279 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
280 | proxyType = 2;
281 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
282 | remoteInfo = "jschelpers-tvOS";
283 | };
284 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
285 | isa = PBXContainerItemProxy;
286 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
287 | proxyType = 2;
288 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
289 | remoteInfo = RCTAnimation;
290 | };
291 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
292 | isa = PBXContainerItemProxy;
293 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
294 | proxyType = 2;
295 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D;
296 | remoteInfo = "RCTAnimation-tvOS";
297 | };
298 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = {
299 | isa = PBXContainerItemProxy;
300 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
301 | proxyType = 2;
302 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
303 | remoteInfo = RCTLinking;
304 | };
305 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = {
306 | isa = PBXContainerItemProxy;
307 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
308 | proxyType = 2;
309 | remoteGlobalIDString = 58B5119B1A9E6C1200147676;
310 | remoteInfo = RCTText;
311 | };
312 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = {
313 | isa = PBXContainerItemProxy;
314 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
315 | proxyType = 2;
316 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814;
317 | remoteInfo = RCTBlob;
318 | };
319 | C344F2242180548E00926D7C /* PBXContainerItemProxy */ = {
320 | isa = PBXContainerItemProxy;
321 | containerPortal = 413FD4C61E9B402692DE5B1A /* RNSquircleView.xcodeproj */;
322 | proxyType = 2;
323 | remoteGlobalIDString = 134814201AA4EA6300B7C361;
324 | remoteInfo = RNSquircleView;
325 | };
326 | /* End PBXContainerItemProxy section */
327 |
328 | /* Begin PBXFileReference section */
329 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; };
330 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; };
331 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; };
332 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; };
333 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; };
334 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; };
335 | 00E356EE1AD99517003FC87E /* basicTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = basicTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
336 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
337 | 00E356F21AD99517003FC87E /* basicTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = basicTests.m; sourceTree = ""; };
338 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; };
339 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; };
340 | 13B07F961A680F5B00A75B9A /* basic.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = basic.app; sourceTree = BUILT_PRODUCTS_DIR; };
341 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = basic/AppDelegate.h; sourceTree = ""; };
342 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = basic/AppDelegate.m; sourceTree = ""; };
343 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
344 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = basic/Images.xcassets; sourceTree = ""; };
345 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = basic/Info.plist; sourceTree = ""; };
346 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = basic/main.m; sourceTree = ""; };
347 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; };
348 | 2D02E47B1E0B4A5D006451C7 /* basic-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "basic-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
349 | 2D02E4901E0B4A5D006451C7 /* basic-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "basic-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
350 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
351 | 413FD4C61E9B402692DE5B1A /* RNSquircleView.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNSquircleView.xcodeproj; path = "../node_modules/react-native-squircle-view/ios/RNSquircleView.xcodeproj"; sourceTree = ""; };
352 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; };
353 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; };
354 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; };
355 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; };
356 | C344F2262180558800926D7C /* workaround.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = workaround.swift; sourceTree = ""; };
357 | E2C3762E795F4B5987C6EC0A /* libRNSquircleView.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNSquircleView.a; sourceTree = ""; };
358 | /* End PBXFileReference section */
359 |
360 | /* Begin PBXFrameworksBuildPhase section */
361 | 00E356EB1AD99517003FC87E /* Frameworks */ = {
362 | isa = PBXFrameworksBuildPhase;
363 | buildActionMask = 2147483647;
364 | files = (
365 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */,
366 | );
367 | runOnlyForDeploymentPostprocessing = 0;
368 | };
369 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
370 | isa = PBXFrameworksBuildPhase;
371 | buildActionMask = 2147483647;
372 | files = (
373 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
374 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */,
375 | 146834051AC3E58100842450 /* libReact.a in Frameworks */,
376 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */,
377 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */,
378 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */,
379 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */,
380 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */,
381 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */,
382 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */,
383 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
384 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
385 | 3C994D80D28B4B98B16803DC /* libRNSquircleView.a in Frameworks */,
386 | );
387 | runOnlyForDeploymentPostprocessing = 0;
388 | };
389 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = {
390 | isa = PBXFrameworksBuildPhase;
391 | buildActionMask = 2147483647;
392 | files = (
393 | 2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */,
394 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */,
395 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */,
396 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */,
397 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */,
398 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */,
399 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */,
400 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */,
401 | );
402 | runOnlyForDeploymentPostprocessing = 0;
403 | };
404 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = {
405 | isa = PBXFrameworksBuildPhase;
406 | buildActionMask = 2147483647;
407 | files = (
408 | 2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */,
409 | );
410 | runOnlyForDeploymentPostprocessing = 0;
411 | };
412 | /* End PBXFrameworksBuildPhase section */
413 |
414 | /* Begin PBXGroup section */
415 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = {
416 | isa = PBXGroup;
417 | children = (
418 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */,
419 | );
420 | name = Products;
421 | sourceTree = "";
422 | };
423 | 00C302B61ABCB90400DB3ED1 /* Products */ = {
424 | isa = PBXGroup;
425 | children = (
426 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */,
427 | );
428 | name = Products;
429 | sourceTree = "";
430 | };
431 | 00C302BC1ABCB91800DB3ED1 /* Products */ = {
432 | isa = PBXGroup;
433 | children = (
434 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
435 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */,
436 | );
437 | name = Products;
438 | sourceTree = "";
439 | };
440 | 00C302D41ABCB9D200DB3ED1 /* Products */ = {
441 | isa = PBXGroup;
442 | children = (
443 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
444 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */,
445 | );
446 | name = Products;
447 | sourceTree = "";
448 | };
449 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = {
450 | isa = PBXGroup;
451 | children = (
452 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */,
453 | );
454 | name = Products;
455 | sourceTree = "";
456 | };
457 | 00E356EF1AD99517003FC87E /* basicTests */ = {
458 | isa = PBXGroup;
459 | children = (
460 | 00E356F21AD99517003FC87E /* basicTests.m */,
461 | 00E356F01AD99517003FC87E /* Supporting Files */,
462 | );
463 | path = basicTests;
464 | sourceTree = "";
465 | };
466 | 00E356F01AD99517003FC87E /* Supporting Files */ = {
467 | isa = PBXGroup;
468 | children = (
469 | 00E356F11AD99517003FC87E /* Info.plist */,
470 | );
471 | name = "Supporting Files";
472 | sourceTree = "";
473 | };
474 | 139105B71AF99BAD00B5F7CC /* Products */ = {
475 | isa = PBXGroup;
476 | children = (
477 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
478 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */,
479 | );
480 | name = Products;
481 | sourceTree = "";
482 | };
483 | 139FDEE71B06529A00C62182 /* Products */ = {
484 | isa = PBXGroup;
485 | children = (
486 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
487 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */,
488 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */,
489 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */,
490 | );
491 | name = Products;
492 | sourceTree = "";
493 | };
494 | 13B07FAE1A68108700A75B9A /* basic */ = {
495 | isa = PBXGroup;
496 | children = (
497 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */,
498 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */,
499 | 13B07FB01A68108700A75B9A /* AppDelegate.m */,
500 | 13B07FB51A68108700A75B9A /* Images.xcassets */,
501 | 13B07FB61A68108700A75B9A /* Info.plist */,
502 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
503 | 13B07FB71A68108700A75B9A /* main.m */,
504 | C344F2262180558800926D7C /* workaround.swift */,
505 | );
506 | name = basic;
507 | sourceTree = "";
508 | };
509 | 146834001AC3E56700842450 /* Products */ = {
510 | isa = PBXGroup;
511 | children = (
512 | 146834041AC3E56700842450 /* libReact.a */,
513 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */,
514 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */,
515 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
516 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
517 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
518 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
519 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
520 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */,
521 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */,
522 | 2DF0FFE32056DD460020B375 /* libthird-party.a */,
523 | 2DF0FFE52056DD460020B375 /* libthird-party.a */,
524 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */,
525 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */,
526 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */,
527 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */,
528 | );
529 | name = Products;
530 | sourceTree = "";
531 | };
532 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
533 | isa = PBXGroup;
534 | children = (
535 | 2D16E6891FA4F8E400B85C8A /* libReact.a */,
536 | );
537 | name = Frameworks;
538 | sourceTree = "";
539 | };
540 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = {
541 | isa = PBXGroup;
542 | children = (
543 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */,
544 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */,
545 | );
546 | name = Products;
547 | sourceTree = "";
548 | };
549 | 78C398B11ACF4ADC00677621 /* Products */ = {
550 | isa = PBXGroup;
551 | children = (
552 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
553 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */,
554 | );
555 | name = Products;
556 | sourceTree = "";
557 | };
558 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
559 | isa = PBXGroup;
560 | children = (
561 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
562 | 146833FF1AC3E56700842450 /* React.xcodeproj */,
563 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
564 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */,
565 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */,
566 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */,
567 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */,
568 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */,
569 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */,
570 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */,
571 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
572 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
573 | 413FD4C61E9B402692DE5B1A /* RNSquircleView.xcodeproj */,
574 | );
575 | name = Libraries;
576 | sourceTree = "";
577 | };
578 | 832341B11AAA6A8300B99B32 /* Products */ = {
579 | isa = PBXGroup;
580 | children = (
581 | 832341B51AAA6A8300B99B32 /* libRCTText.a */,
582 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */,
583 | );
584 | name = Products;
585 | sourceTree = "";
586 | };
587 | 83CBB9F61A601CBA00E9B192 = {
588 | isa = PBXGroup;
589 | children = (
590 | 13B07FAE1A68108700A75B9A /* basic */,
591 | 832341AE1AAA6A7D00B99B32 /* Libraries */,
592 | 00E356EF1AD99517003FC87E /* basicTests */,
593 | 83CBBA001A601CBA00E9B192 /* Products */,
594 | 2D16E6871FA4F8E400B85C8A /* Frameworks */,
595 | C344F1FB2180548E00926D7C /* Recovered References */,
596 | );
597 | indentWidth = 2;
598 | sourceTree = "";
599 | tabWidth = 2;
600 | usesTabs = 0;
601 | };
602 | 83CBBA001A601CBA00E9B192 /* Products */ = {
603 | isa = PBXGroup;
604 | children = (
605 | 13B07F961A680F5B00A75B9A /* basic.app */,
606 | 00E356EE1AD99517003FC87E /* basicTests.xctest */,
607 | 2D02E47B1E0B4A5D006451C7 /* basic-tvOS.app */,
608 | 2D02E4901E0B4A5D006451C7 /* basic-tvOSTests.xctest */,
609 | );
610 | name = Products;
611 | sourceTree = "";
612 | };
613 | ADBDB9201DFEBF0600ED6528 /* Products */ = {
614 | isa = PBXGroup;
615 | children = (
616 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */,
617 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */,
618 | );
619 | name = Products;
620 | sourceTree = "";
621 | };
622 | C344F1FB2180548E00926D7C /* Recovered References */ = {
623 | isa = PBXGroup;
624 | children = (
625 | E2C3762E795F4B5987C6EC0A /* libRNSquircleView.a */,
626 | );
627 | name = "Recovered References";
628 | sourceTree = "";
629 | };
630 | C344F1FC2180548E00926D7C /* Products */ = {
631 | isa = PBXGroup;
632 | children = (
633 | C344F2252180548E00926D7C /* libRNSquircleView.a */,
634 | );
635 | name = Products;
636 | sourceTree = "";
637 | };
638 | /* End PBXGroup section */
639 |
640 | /* Begin PBXNativeTarget section */
641 | 00E356ED1AD99517003FC87E /* basicTests */ = {
642 | isa = PBXNativeTarget;
643 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "basicTests" */;
644 | buildPhases = (
645 | 00E356EA1AD99517003FC87E /* Sources */,
646 | 00E356EB1AD99517003FC87E /* Frameworks */,
647 | 00E356EC1AD99517003FC87E /* Resources */,
648 | );
649 | buildRules = (
650 | );
651 | dependencies = (
652 | 00E356F51AD99517003FC87E /* PBXTargetDependency */,
653 | );
654 | name = basicTests;
655 | productName = basicTests;
656 | productReference = 00E356EE1AD99517003FC87E /* basicTests.xctest */;
657 | productType = "com.apple.product-type.bundle.unit-test";
658 | };
659 | 13B07F861A680F5B00A75B9A /* basic */ = {
660 | isa = PBXNativeTarget;
661 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "basic" */;
662 | buildPhases = (
663 | 13B07F871A680F5B00A75B9A /* Sources */,
664 | 13B07F8C1A680F5B00A75B9A /* Frameworks */,
665 | 13B07F8E1A680F5B00A75B9A /* Resources */,
666 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
667 | );
668 | buildRules = (
669 | );
670 | dependencies = (
671 | );
672 | name = basic;
673 | productName = "Hello World";
674 | productReference = 13B07F961A680F5B00A75B9A /* basic.app */;
675 | productType = "com.apple.product-type.application";
676 | };
677 | 2D02E47A1E0B4A5D006451C7 /* basic-tvOS */ = {
678 | isa = PBXNativeTarget;
679 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "basic-tvOS" */;
680 | buildPhases = (
681 | 2D02E4771E0B4A5D006451C7 /* Sources */,
682 | 2D02E4781E0B4A5D006451C7 /* Frameworks */,
683 | 2D02E4791E0B4A5D006451C7 /* Resources */,
684 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */,
685 | );
686 | buildRules = (
687 | );
688 | dependencies = (
689 | );
690 | name = "basic-tvOS";
691 | productName = "basic-tvOS";
692 | productReference = 2D02E47B1E0B4A5D006451C7 /* basic-tvOS.app */;
693 | productType = "com.apple.product-type.application";
694 | };
695 | 2D02E48F1E0B4A5D006451C7 /* basic-tvOSTests */ = {
696 | isa = PBXNativeTarget;
697 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "basic-tvOSTests" */;
698 | buildPhases = (
699 | 2D02E48C1E0B4A5D006451C7 /* Sources */,
700 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */,
701 | 2D02E48E1E0B4A5D006451C7 /* Resources */,
702 | );
703 | buildRules = (
704 | );
705 | dependencies = (
706 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */,
707 | );
708 | name = "basic-tvOSTests";
709 | productName = "basic-tvOSTests";
710 | productReference = 2D02E4901E0B4A5D006451C7 /* basic-tvOSTests.xctest */;
711 | productType = "com.apple.product-type.bundle.unit-test";
712 | };
713 | /* End PBXNativeTarget section */
714 |
715 | /* Begin PBXProject section */
716 | 83CBB9F71A601CBA00E9B192 /* Project object */ = {
717 | isa = PBXProject;
718 | attributes = {
719 | LastUpgradeCheck = 940;
720 | ORGANIZATIONNAME = Facebook;
721 | TargetAttributes = {
722 | 00E356ED1AD99517003FC87E = {
723 | CreatedOnToolsVersion = 6.2;
724 | TestTargetID = 13B07F861A680F5B00A75B9A;
725 | };
726 | 13B07F861A680F5B00A75B9A = {
727 | LastSwiftMigration = 1000;
728 | };
729 | 2D02E47A1E0B4A5D006451C7 = {
730 | CreatedOnToolsVersion = 8.2.1;
731 | ProvisioningStyle = Automatic;
732 | };
733 | 2D02E48F1E0B4A5D006451C7 = {
734 | CreatedOnToolsVersion = 8.2.1;
735 | ProvisioningStyle = Automatic;
736 | TestTargetID = 2D02E47A1E0B4A5D006451C7;
737 | };
738 | };
739 | };
740 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "basic" */;
741 | compatibilityVersion = "Xcode 3.2";
742 | developmentRegion = English;
743 | hasScannedForEncodings = 0;
744 | knownRegions = (
745 | en,
746 | Base,
747 | );
748 | mainGroup = 83CBB9F61A601CBA00E9B192;
749 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
750 | projectDirPath = "";
751 | projectReferences = (
752 | {
753 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
754 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
755 | },
756 | {
757 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */;
758 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
759 | },
760 | {
761 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */;
762 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */;
763 | },
764 | {
765 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
766 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
767 | },
768 | {
769 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
770 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
771 | },
772 | {
773 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */;
774 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
775 | },
776 | {
777 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */;
778 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
779 | },
780 | {
781 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */;
782 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
783 | },
784 | {
785 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */;
786 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
787 | },
788 | {
789 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */;
790 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */;
791 | },
792 | {
793 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */;
794 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
795 | },
796 | {
797 | ProductGroup = 146834001AC3E56700842450 /* Products */;
798 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
799 | },
800 | {
801 | ProductGroup = C344F1FC2180548E00926D7C /* Products */;
802 | ProjectRef = 413FD4C61E9B402692DE5B1A /* RNSquircleView.xcodeproj */;
803 | },
804 | );
805 | projectRoot = "";
806 | targets = (
807 | 13B07F861A680F5B00A75B9A /* basic */,
808 | 00E356ED1AD99517003FC87E /* basicTests */,
809 | 2D02E47A1E0B4A5D006451C7 /* basic-tvOS */,
810 | 2D02E48F1E0B4A5D006451C7 /* basic-tvOSTests */,
811 | );
812 | };
813 | /* End PBXProject section */
814 |
815 | /* Begin PBXReferenceProxy section */
816 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = {
817 | isa = PBXReferenceProxy;
818 | fileType = archive.ar;
819 | path = libRCTActionSheet.a;
820 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */;
821 | sourceTree = BUILT_PRODUCTS_DIR;
822 | };
823 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = {
824 | isa = PBXReferenceProxy;
825 | fileType = archive.ar;
826 | path = libRCTGeolocation.a;
827 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */;
828 | sourceTree = BUILT_PRODUCTS_DIR;
829 | };
830 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = {
831 | isa = PBXReferenceProxy;
832 | fileType = archive.ar;
833 | path = libRCTImage.a;
834 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */;
835 | sourceTree = BUILT_PRODUCTS_DIR;
836 | };
837 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = {
838 | isa = PBXReferenceProxy;
839 | fileType = archive.ar;
840 | path = libRCTNetwork.a;
841 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */;
842 | sourceTree = BUILT_PRODUCTS_DIR;
843 | };
844 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = {
845 | isa = PBXReferenceProxy;
846 | fileType = archive.ar;
847 | path = libRCTVibration.a;
848 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */;
849 | sourceTree = BUILT_PRODUCTS_DIR;
850 | };
851 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
852 | isa = PBXReferenceProxy;
853 | fileType = archive.ar;
854 | path = libRCTSettings.a;
855 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */;
856 | sourceTree = BUILT_PRODUCTS_DIR;
857 | };
858 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = {
859 | isa = PBXReferenceProxy;
860 | fileType = archive.ar;
861 | path = libRCTWebSocket.a;
862 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */;
863 | sourceTree = BUILT_PRODUCTS_DIR;
864 | };
865 | 146834041AC3E56700842450 /* libReact.a */ = {
866 | isa = PBXReferenceProxy;
867 | fileType = archive.ar;
868 | path = libReact.a;
869 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */;
870 | sourceTree = BUILT_PRODUCTS_DIR;
871 | };
872 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = {
873 | isa = PBXReferenceProxy;
874 | fileType = archive.ar;
875 | path = "libRCTBlob-tvOS.a";
876 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */;
877 | sourceTree = BUILT_PRODUCTS_DIR;
878 | };
879 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = {
880 | isa = PBXReferenceProxy;
881 | fileType = archive.ar;
882 | path = libfishhook.a;
883 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */;
884 | sourceTree = BUILT_PRODUCTS_DIR;
885 | };
886 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = {
887 | isa = PBXReferenceProxy;
888 | fileType = archive.ar;
889 | path = "libfishhook-tvOS.a";
890 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */;
891 | sourceTree = BUILT_PRODUCTS_DIR;
892 | };
893 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = {
894 | isa = PBXReferenceProxy;
895 | fileType = archive.ar;
896 | path = libjsinspector.a;
897 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */;
898 | sourceTree = BUILT_PRODUCTS_DIR;
899 | };
900 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = {
901 | isa = PBXReferenceProxy;
902 | fileType = archive.ar;
903 | path = "libjsinspector-tvOS.a";
904 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */;
905 | sourceTree = BUILT_PRODUCTS_DIR;
906 | };
907 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = {
908 | isa = PBXReferenceProxy;
909 | fileType = archive.ar;
910 | path = "libthird-party.a";
911 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */;
912 | sourceTree = BUILT_PRODUCTS_DIR;
913 | };
914 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = {
915 | isa = PBXReferenceProxy;
916 | fileType = archive.ar;
917 | path = "libthird-party.a";
918 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */;
919 | sourceTree = BUILT_PRODUCTS_DIR;
920 | };
921 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = {
922 | isa = PBXReferenceProxy;
923 | fileType = archive.ar;
924 | path = "libdouble-conversion.a";
925 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */;
926 | sourceTree = BUILT_PRODUCTS_DIR;
927 | };
928 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = {
929 | isa = PBXReferenceProxy;
930 | fileType = archive.ar;
931 | path = "libdouble-conversion.a";
932 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */;
933 | sourceTree = BUILT_PRODUCTS_DIR;
934 | };
935 | 2DF0FFEB2056DD460020B375 /* libprivatedata.a */ = {
936 | isa = PBXReferenceProxy;
937 | fileType = archive.ar;
938 | path = libprivatedata.a;
939 | remoteRef = 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */;
940 | sourceTree = BUILT_PRODUCTS_DIR;
941 | };
942 | 2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */ = {
943 | isa = PBXReferenceProxy;
944 | fileType = archive.ar;
945 | path = "libprivatedata-tvOS.a";
946 | remoteRef = 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */;
947 | sourceTree = BUILT_PRODUCTS_DIR;
948 | };
949 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
950 | isa = PBXReferenceProxy;
951 | fileType = archive.ar;
952 | path = "libRCTImage-tvOS.a";
953 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */;
954 | sourceTree = BUILT_PRODUCTS_DIR;
955 | };
956 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = {
957 | isa = PBXReferenceProxy;
958 | fileType = archive.ar;
959 | path = "libRCTLinking-tvOS.a";
960 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */;
961 | sourceTree = BUILT_PRODUCTS_DIR;
962 | };
963 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = {
964 | isa = PBXReferenceProxy;
965 | fileType = archive.ar;
966 | path = "libRCTNetwork-tvOS.a";
967 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */;
968 | sourceTree = BUILT_PRODUCTS_DIR;
969 | };
970 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = {
971 | isa = PBXReferenceProxy;
972 | fileType = archive.ar;
973 | path = "libRCTSettings-tvOS.a";
974 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */;
975 | sourceTree = BUILT_PRODUCTS_DIR;
976 | };
977 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = {
978 | isa = PBXReferenceProxy;
979 | fileType = archive.ar;
980 | path = "libRCTText-tvOS.a";
981 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */;
982 | sourceTree = BUILT_PRODUCTS_DIR;
983 | };
984 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = {
985 | isa = PBXReferenceProxy;
986 | fileType = archive.ar;
987 | path = "libRCTWebSocket-tvOS.a";
988 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */;
989 | sourceTree = BUILT_PRODUCTS_DIR;
990 | };
991 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = {
992 | isa = PBXReferenceProxy;
993 | fileType = archive.ar;
994 | path = libReact.a;
995 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */;
996 | sourceTree = BUILT_PRODUCTS_DIR;
997 | };
998 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = {
999 | isa = PBXReferenceProxy;
1000 | fileType = archive.ar;
1001 | path = libyoga.a;
1002 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */;
1003 | sourceTree = BUILT_PRODUCTS_DIR;
1004 | };
1005 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = {
1006 | isa = PBXReferenceProxy;
1007 | fileType = archive.ar;
1008 | path = libyoga.a;
1009 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */;
1010 | sourceTree = BUILT_PRODUCTS_DIR;
1011 | };
1012 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = {
1013 | isa = PBXReferenceProxy;
1014 | fileType = archive.ar;
1015 | path = libcxxreact.a;
1016 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */;
1017 | sourceTree = BUILT_PRODUCTS_DIR;
1018 | };
1019 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = {
1020 | isa = PBXReferenceProxy;
1021 | fileType = archive.ar;
1022 | path = libcxxreact.a;
1023 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
1024 | sourceTree = BUILT_PRODUCTS_DIR;
1025 | };
1026 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = {
1027 | isa = PBXReferenceProxy;
1028 | fileType = archive.ar;
1029 | path = libjschelpers.a;
1030 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */;
1031 | sourceTree = BUILT_PRODUCTS_DIR;
1032 | };
1033 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = {
1034 | isa = PBXReferenceProxy;
1035 | fileType = archive.ar;
1036 | path = libjschelpers.a;
1037 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */;
1038 | sourceTree = BUILT_PRODUCTS_DIR;
1039 | };
1040 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1041 | isa = PBXReferenceProxy;
1042 | fileType = archive.ar;
1043 | path = libRCTAnimation.a;
1044 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1045 | sourceTree = BUILT_PRODUCTS_DIR;
1046 | };
1047 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
1048 | isa = PBXReferenceProxy;
1049 | fileType = archive.ar;
1050 | path = libRCTAnimation.a;
1051 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */;
1052 | sourceTree = BUILT_PRODUCTS_DIR;
1053 | };
1054 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = {
1055 | isa = PBXReferenceProxy;
1056 | fileType = archive.ar;
1057 | path = libRCTLinking.a;
1058 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */;
1059 | sourceTree = BUILT_PRODUCTS_DIR;
1060 | };
1061 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = {
1062 | isa = PBXReferenceProxy;
1063 | fileType = archive.ar;
1064 | path = libRCTText.a;
1065 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
1066 | sourceTree = BUILT_PRODUCTS_DIR;
1067 | };
1068 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = {
1069 | isa = PBXReferenceProxy;
1070 | fileType = archive.ar;
1071 | path = libRCTBlob.a;
1072 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */;
1073 | sourceTree = BUILT_PRODUCTS_DIR;
1074 | };
1075 | C344F2252180548E00926D7C /* libRNSquircleView.a */ = {
1076 | isa = PBXReferenceProxy;
1077 | fileType = archive.ar;
1078 | path = libRNSquircleView.a;
1079 | remoteRef = C344F2242180548E00926D7C /* PBXContainerItemProxy */;
1080 | sourceTree = BUILT_PRODUCTS_DIR;
1081 | };
1082 | /* End PBXReferenceProxy section */
1083 |
1084 | /* Begin PBXResourcesBuildPhase section */
1085 | 00E356EC1AD99517003FC87E /* Resources */ = {
1086 | isa = PBXResourcesBuildPhase;
1087 | buildActionMask = 2147483647;
1088 | files = (
1089 | );
1090 | runOnlyForDeploymentPostprocessing = 0;
1091 | };
1092 | 13B07F8E1A680F5B00A75B9A /* Resources */ = {
1093 | isa = PBXResourcesBuildPhase;
1094 | buildActionMask = 2147483647;
1095 | files = (
1096 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
1097 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
1098 | );
1099 | runOnlyForDeploymentPostprocessing = 0;
1100 | };
1101 | 2D02E4791E0B4A5D006451C7 /* Resources */ = {
1102 | isa = PBXResourcesBuildPhase;
1103 | buildActionMask = 2147483647;
1104 | files = (
1105 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */,
1106 | );
1107 | runOnlyForDeploymentPostprocessing = 0;
1108 | };
1109 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = {
1110 | isa = PBXResourcesBuildPhase;
1111 | buildActionMask = 2147483647;
1112 | files = (
1113 | );
1114 | runOnlyForDeploymentPostprocessing = 0;
1115 | };
1116 | /* End PBXResourcesBuildPhase section */
1117 |
1118 | /* Begin PBXShellScriptBuildPhase section */
1119 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
1120 | isa = PBXShellScriptBuildPhase;
1121 | buildActionMask = 2147483647;
1122 | files = (
1123 | );
1124 | inputPaths = (
1125 | );
1126 | name = "Bundle React Native code and images";
1127 | outputPaths = (
1128 | );
1129 | runOnlyForDeploymentPostprocessing = 0;
1130 | shellPath = /bin/sh;
1131 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1132 | };
1133 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
1134 | isa = PBXShellScriptBuildPhase;
1135 | buildActionMask = 2147483647;
1136 | files = (
1137 | );
1138 | inputPaths = (
1139 | );
1140 | name = "Bundle React Native Code And Images";
1141 | outputPaths = (
1142 | );
1143 | runOnlyForDeploymentPostprocessing = 0;
1144 | shellPath = /bin/sh;
1145 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
1146 | };
1147 | /* End PBXShellScriptBuildPhase section */
1148 |
1149 | /* Begin PBXSourcesBuildPhase section */
1150 | 00E356EA1AD99517003FC87E /* Sources */ = {
1151 | isa = PBXSourcesBuildPhase;
1152 | buildActionMask = 2147483647;
1153 | files = (
1154 | 00E356F31AD99517003FC87E /* basicTests.m in Sources */,
1155 | );
1156 | runOnlyForDeploymentPostprocessing = 0;
1157 | };
1158 | 13B07F871A680F5B00A75B9A /* Sources */ = {
1159 | isa = PBXSourcesBuildPhase;
1160 | buildActionMask = 2147483647;
1161 | files = (
1162 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
1163 | C344F2272180558800926D7C /* workaround.swift in Sources */,
1164 | 13B07FC11A68108700A75B9A /* main.m in Sources */,
1165 | );
1166 | runOnlyForDeploymentPostprocessing = 0;
1167 | };
1168 | 2D02E4771E0B4A5D006451C7 /* Sources */ = {
1169 | isa = PBXSourcesBuildPhase;
1170 | buildActionMask = 2147483647;
1171 | files = (
1172 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */,
1173 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */,
1174 | );
1175 | runOnlyForDeploymentPostprocessing = 0;
1176 | };
1177 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = {
1178 | isa = PBXSourcesBuildPhase;
1179 | buildActionMask = 2147483647;
1180 | files = (
1181 | 2DCD954D1E0B4F2C00145EB5 /* basicTests.m in Sources */,
1182 | );
1183 | runOnlyForDeploymentPostprocessing = 0;
1184 | };
1185 | /* End PBXSourcesBuildPhase section */
1186 |
1187 | /* Begin PBXTargetDependency section */
1188 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
1189 | isa = PBXTargetDependency;
1190 | target = 13B07F861A680F5B00A75B9A /* basic */;
1191 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
1192 | };
1193 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = {
1194 | isa = PBXTargetDependency;
1195 | target = 2D02E47A1E0B4A5D006451C7 /* basic-tvOS */;
1196 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */;
1197 | };
1198 | /* End PBXTargetDependency section */
1199 |
1200 | /* Begin PBXVariantGroup section */
1201 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = {
1202 | isa = PBXVariantGroup;
1203 | children = (
1204 | 13B07FB21A68108700A75B9A /* Base */,
1205 | );
1206 | name = LaunchScreen.xib;
1207 | path = basic;
1208 | sourceTree = "";
1209 | };
1210 | /* End PBXVariantGroup section */
1211 |
1212 | /* Begin XCBuildConfiguration section */
1213 | 00E356F61AD99517003FC87E /* Debug */ = {
1214 | isa = XCBuildConfiguration;
1215 | buildSettings = {
1216 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
1217 | BUNDLE_LOADER = "$(TEST_HOST)";
1218 | GCC_PREPROCESSOR_DEFINITIONS = (
1219 | "DEBUG=1",
1220 | "$(inherited)",
1221 | );
1222 | HEADER_SEARCH_PATHS = (
1223 | "$(inherited)",
1224 | "$(SRCROOT)/../node_modules/react-native-squircle-view/ios",
1225 | );
1226 | INFOPLIST_FILE = basicTests/Info.plist;
1227 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1228 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1229 | LIBRARY_SEARCH_PATHS = (
1230 | "$(inherited)",
1231 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1232 | );
1233 | OTHER_LDFLAGS = (
1234 | "-ObjC",
1235 | "-lc++",
1236 | );
1237 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1238 | PRODUCT_NAME = "$(TARGET_NAME)";
1239 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/basic.app/basic";
1240 | };
1241 | name = Debug;
1242 | };
1243 | 00E356F71AD99517003FC87E /* Release */ = {
1244 | isa = XCBuildConfiguration;
1245 | buildSettings = {
1246 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
1247 | BUNDLE_LOADER = "$(TEST_HOST)";
1248 | COPY_PHASE_STRIP = NO;
1249 | HEADER_SEARCH_PATHS = (
1250 | "$(inherited)",
1251 | "$(SRCROOT)/../node_modules/react-native-squircle-view/ios",
1252 | );
1253 | INFOPLIST_FILE = basicTests/Info.plist;
1254 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1255 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1256 | LIBRARY_SEARCH_PATHS = (
1257 | "$(inherited)",
1258 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1259 | );
1260 | OTHER_LDFLAGS = (
1261 | "-ObjC",
1262 | "-lc++",
1263 | );
1264 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1265 | PRODUCT_NAME = "$(TARGET_NAME)";
1266 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/basic.app/basic";
1267 | };
1268 | name = Release;
1269 | };
1270 | 13B07F941A680F5B00A75B9A /* Debug */ = {
1271 | isa = XCBuildConfiguration;
1272 | buildSettings = {
1273 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1274 | CLANG_ENABLE_MODULES = YES;
1275 | CURRENT_PROJECT_VERSION = 1;
1276 | DEAD_CODE_STRIPPING = NO;
1277 | HEADER_SEARCH_PATHS = (
1278 | "$(inherited)",
1279 | "$(SRCROOT)/../node_modules/react-native-squircle-view/ios",
1280 | );
1281 | INFOPLIST_FILE = basic/Info.plist;
1282 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1283 | OTHER_LDFLAGS = (
1284 | "$(inherited)",
1285 | "-ObjC",
1286 | "-lc++",
1287 | );
1288 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1289 | PRODUCT_NAME = basic;
1290 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
1291 | SWIFT_VERSION = 4.2;
1292 | VERSIONING_SYSTEM = "apple-generic";
1293 | };
1294 | name = Debug;
1295 | };
1296 | 13B07F951A680F5B00A75B9A /* Release */ = {
1297 | isa = XCBuildConfiguration;
1298 | buildSettings = {
1299 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1300 | CLANG_ENABLE_MODULES = YES;
1301 | CURRENT_PROJECT_VERSION = 1;
1302 | HEADER_SEARCH_PATHS = (
1303 | "$(inherited)",
1304 | "$(SRCROOT)/../node_modules/react-native-squircle-view/ios",
1305 | );
1306 | INFOPLIST_FILE = basic/Info.plist;
1307 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1308 | OTHER_LDFLAGS = (
1309 | "$(inherited)",
1310 | "-ObjC",
1311 | "-lc++",
1312 | );
1313 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
1314 | PRODUCT_NAME = basic;
1315 | SWIFT_VERSION = 4.2;
1316 | VERSIONING_SYSTEM = "apple-generic";
1317 | };
1318 | name = Release;
1319 | };
1320 | 2D02E4971E0B4A5E006451C7 /* Debug */ = {
1321 | isa = XCBuildConfiguration;
1322 | buildSettings = {
1323 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1324 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1325 | CLANG_ANALYZER_NONNULL = YES;
1326 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1327 | CLANG_WARN_INFINITE_RECURSION = YES;
1328 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1329 | DEBUG_INFORMATION_FORMAT = dwarf;
1330 | ENABLE_TESTABILITY = YES;
1331 | GCC_NO_COMMON_BLOCKS = YES;
1332 | HEADER_SEARCH_PATHS = (
1333 | "$(inherited)",
1334 | "$(SRCROOT)/../node_modules/react-native-squircle-view/ios",
1335 | );
1336 | INFOPLIST_FILE = "basic-tvOS/Info.plist";
1337 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1338 | LIBRARY_SEARCH_PATHS = (
1339 | "$(inherited)",
1340 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1341 | );
1342 | OTHER_LDFLAGS = (
1343 | "-ObjC",
1344 | "-lc++",
1345 | );
1346 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.basic-tvOS";
1347 | PRODUCT_NAME = "$(TARGET_NAME)";
1348 | SDKROOT = appletvos;
1349 | TARGETED_DEVICE_FAMILY = 3;
1350 | TVOS_DEPLOYMENT_TARGET = 9.2;
1351 | };
1352 | name = Debug;
1353 | };
1354 | 2D02E4981E0B4A5E006451C7 /* Release */ = {
1355 | isa = XCBuildConfiguration;
1356 | buildSettings = {
1357 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
1358 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
1359 | CLANG_ANALYZER_NONNULL = YES;
1360 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1361 | CLANG_WARN_INFINITE_RECURSION = YES;
1362 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1363 | COPY_PHASE_STRIP = NO;
1364 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1365 | GCC_NO_COMMON_BLOCKS = YES;
1366 | HEADER_SEARCH_PATHS = (
1367 | "$(inherited)",
1368 | "$(SRCROOT)/../node_modules/react-native-squircle-view/ios",
1369 | );
1370 | INFOPLIST_FILE = "basic-tvOS/Info.plist";
1371 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1372 | LIBRARY_SEARCH_PATHS = (
1373 | "$(inherited)",
1374 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1375 | );
1376 | OTHER_LDFLAGS = (
1377 | "-ObjC",
1378 | "-lc++",
1379 | );
1380 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.basic-tvOS";
1381 | PRODUCT_NAME = "$(TARGET_NAME)";
1382 | SDKROOT = appletvos;
1383 | TARGETED_DEVICE_FAMILY = 3;
1384 | TVOS_DEPLOYMENT_TARGET = 9.2;
1385 | };
1386 | name = Release;
1387 | };
1388 | 2D02E4991E0B4A5E006451C7 /* Debug */ = {
1389 | isa = XCBuildConfiguration;
1390 | buildSettings = {
1391 | BUNDLE_LOADER = "$(TEST_HOST)";
1392 | CLANG_ANALYZER_NONNULL = YES;
1393 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1394 | CLANG_WARN_INFINITE_RECURSION = YES;
1395 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1396 | DEBUG_INFORMATION_FORMAT = dwarf;
1397 | ENABLE_TESTABILITY = YES;
1398 | GCC_NO_COMMON_BLOCKS = YES;
1399 | HEADER_SEARCH_PATHS = (
1400 | "$(inherited)",
1401 | "$(SRCROOT)/../node_modules/react-native-squircle-view/ios",
1402 | );
1403 | INFOPLIST_FILE = "basic-tvOSTests/Info.plist";
1404 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1405 | LIBRARY_SEARCH_PATHS = (
1406 | "$(inherited)",
1407 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1408 | );
1409 | OTHER_LDFLAGS = (
1410 | "-ObjC",
1411 | "-lc++",
1412 | );
1413 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.basic-tvOSTests";
1414 | PRODUCT_NAME = "$(TARGET_NAME)";
1415 | SDKROOT = appletvos;
1416 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/basic-tvOS.app/basic-tvOS";
1417 | TVOS_DEPLOYMENT_TARGET = 10.1;
1418 | };
1419 | name = Debug;
1420 | };
1421 | 2D02E49A1E0B4A5E006451C7 /* Release */ = {
1422 | isa = XCBuildConfiguration;
1423 | buildSettings = {
1424 | BUNDLE_LOADER = "$(TEST_HOST)";
1425 | CLANG_ANALYZER_NONNULL = YES;
1426 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1427 | CLANG_WARN_INFINITE_RECURSION = YES;
1428 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1429 | COPY_PHASE_STRIP = NO;
1430 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1431 | GCC_NO_COMMON_BLOCKS = YES;
1432 | HEADER_SEARCH_PATHS = (
1433 | "$(inherited)",
1434 | "$(SRCROOT)/../node_modules/react-native-squircle-view/ios",
1435 | );
1436 | INFOPLIST_FILE = "basic-tvOSTests/Info.plist";
1437 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1438 | LIBRARY_SEARCH_PATHS = (
1439 | "$(inherited)",
1440 | "\"$(SRCROOT)/$(TARGET_NAME)\"",
1441 | );
1442 | OTHER_LDFLAGS = (
1443 | "-ObjC",
1444 | "-lc++",
1445 | );
1446 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.basic-tvOSTests";
1447 | PRODUCT_NAME = "$(TARGET_NAME)";
1448 | SDKROOT = appletvos;
1449 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/basic-tvOS.app/basic-tvOS";
1450 | TVOS_DEPLOYMENT_TARGET = 10.1;
1451 | };
1452 | name = Release;
1453 | };
1454 | 83CBBA201A601CBA00E9B192 /* Debug */ = {
1455 | isa = XCBuildConfiguration;
1456 | buildSettings = {
1457 | ALWAYS_SEARCH_USER_PATHS = NO;
1458 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1459 | CLANG_CXX_LIBRARY = "libc++";
1460 | CLANG_ENABLE_MODULES = YES;
1461 | CLANG_ENABLE_OBJC_ARC = YES;
1462 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
1463 | CLANG_WARN_BOOL_CONVERSION = YES;
1464 | CLANG_WARN_COMMA = YES;
1465 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1466 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1467 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1468 | CLANG_WARN_EMPTY_BODY = YES;
1469 | CLANG_WARN_ENUM_CONVERSION = YES;
1470 | CLANG_WARN_INFINITE_RECURSION = YES;
1471 | CLANG_WARN_INT_CONVERSION = YES;
1472 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1473 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1474 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1475 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1476 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1477 | CLANG_WARN_STRICT_PROTOTYPES = YES;
1478 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1479 | CLANG_WARN_UNREACHABLE_CODE = YES;
1480 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1481 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1482 | COPY_PHASE_STRIP = NO;
1483 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1484 | ENABLE_TESTABILITY = YES;
1485 | GCC_C_LANGUAGE_STANDARD = gnu99;
1486 | GCC_DYNAMIC_NO_PIC = NO;
1487 | GCC_NO_COMMON_BLOCKS = YES;
1488 | GCC_OPTIMIZATION_LEVEL = 0;
1489 | GCC_PREPROCESSOR_DEFINITIONS = (
1490 | "DEBUG=1",
1491 | "$(inherited)",
1492 | );
1493 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
1494 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1495 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1496 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1497 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1498 | GCC_WARN_UNUSED_FUNCTION = YES;
1499 | GCC_WARN_UNUSED_VARIABLE = YES;
1500 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1501 | MTL_ENABLE_DEBUG_INFO = YES;
1502 | ONLY_ACTIVE_ARCH = YES;
1503 | SDKROOT = iphoneos;
1504 | };
1505 | name = Debug;
1506 | };
1507 | 83CBBA211A601CBA00E9B192 /* Release */ = {
1508 | isa = XCBuildConfiguration;
1509 | buildSettings = {
1510 | ALWAYS_SEARCH_USER_PATHS = NO;
1511 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
1512 | CLANG_CXX_LIBRARY = "libc++";
1513 | CLANG_ENABLE_MODULES = YES;
1514 | CLANG_ENABLE_OBJC_ARC = YES;
1515 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
1516 | CLANG_WARN_BOOL_CONVERSION = YES;
1517 | CLANG_WARN_COMMA = YES;
1518 | CLANG_WARN_CONSTANT_CONVERSION = YES;
1519 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1520 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
1521 | CLANG_WARN_EMPTY_BODY = YES;
1522 | CLANG_WARN_ENUM_CONVERSION = YES;
1523 | CLANG_WARN_INFINITE_RECURSION = YES;
1524 | CLANG_WARN_INT_CONVERSION = YES;
1525 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
1526 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1527 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
1528 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
1529 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
1530 | CLANG_WARN_STRICT_PROTOTYPES = YES;
1531 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
1532 | CLANG_WARN_UNREACHABLE_CODE = YES;
1533 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
1534 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1535 | COPY_PHASE_STRIP = YES;
1536 | ENABLE_NS_ASSERTIONS = NO;
1537 | ENABLE_STRICT_OBJC_MSGSEND = YES;
1538 | GCC_C_LANGUAGE_STANDARD = gnu99;
1539 | GCC_NO_COMMON_BLOCKS = YES;
1540 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
1541 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
1542 | GCC_WARN_UNDECLARED_SELECTOR = YES;
1543 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1544 | GCC_WARN_UNUSED_FUNCTION = YES;
1545 | GCC_WARN_UNUSED_VARIABLE = YES;
1546 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1547 | MTL_ENABLE_DEBUG_INFO = NO;
1548 | SDKROOT = iphoneos;
1549 | VALIDATE_PRODUCT = YES;
1550 | };
1551 | name = Release;
1552 | };
1553 | /* End XCBuildConfiguration section */
1554 |
1555 | /* Begin XCConfigurationList section */
1556 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "basicTests" */ = {
1557 | isa = XCConfigurationList;
1558 | buildConfigurations = (
1559 | 00E356F61AD99517003FC87E /* Debug */,
1560 | 00E356F71AD99517003FC87E /* Release */,
1561 | );
1562 | defaultConfigurationIsVisible = 0;
1563 | defaultConfigurationName = Release;
1564 | };
1565 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "basic" */ = {
1566 | isa = XCConfigurationList;
1567 | buildConfigurations = (
1568 | 13B07F941A680F5B00A75B9A /* Debug */,
1569 | 13B07F951A680F5B00A75B9A /* Release */,
1570 | );
1571 | defaultConfigurationIsVisible = 0;
1572 | defaultConfigurationName = Release;
1573 | };
1574 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "basic-tvOS" */ = {
1575 | isa = XCConfigurationList;
1576 | buildConfigurations = (
1577 | 2D02E4971E0B4A5E006451C7 /* Debug */,
1578 | 2D02E4981E0B4A5E006451C7 /* Release */,
1579 | );
1580 | defaultConfigurationIsVisible = 0;
1581 | defaultConfigurationName = Release;
1582 | };
1583 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "basic-tvOSTests" */ = {
1584 | isa = XCConfigurationList;
1585 | buildConfigurations = (
1586 | 2D02E4991E0B4A5E006451C7 /* Debug */,
1587 | 2D02E49A1E0B4A5E006451C7 /* Release */,
1588 | );
1589 | defaultConfigurationIsVisible = 0;
1590 | defaultConfigurationName = Release;
1591 | };
1592 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "basic" */ = {
1593 | isa = XCConfigurationList;
1594 | buildConfigurations = (
1595 | 83CBBA201A601CBA00E9B192 /* Debug */,
1596 | 83CBBA211A601CBA00E9B192 /* Release */,
1597 | );
1598 | defaultConfigurationIsVisible = 0;
1599 | defaultConfigurationName = Release;
1600 | };
1601 | /* End XCConfigurationList section */
1602 | };
1603 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
1604 | }
1605 |
--------------------------------------------------------------------------------
/examples/basic/ios/basic.xcodeproj/xcshareddata/xcschemes/basic-tvOS.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
61 |
67 |
68 |
69 |
70 |
71 |
77 |
78 |
79 |
80 |
81 |
82 |
92 |
94 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
113 |
119 |
120 |
121 |
122 |
124 |
125 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/examples/basic/ios/basic.xcodeproj/xcshareddata/xcschemes/basic.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
43 |
49 |
50 |
51 |
52 |
53 |
58 |
59 |
61 |
67 |
68 |
69 |
70 |
71 |
77 |
78 |
79 |
80 |
81 |
82 |
92 |
94 |
100 |
101 |
102 |
103 |
104 |
105 |
111 |
113 |
119 |
120 |
121 |
122 |
124 |
125 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/examples/basic/ios/basic/AppDelegate.h:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | @interface AppDelegate : UIResponder
11 |
12 | @property (nonatomic, strong) UIWindow *window;
13 |
14 | @end
15 |
--------------------------------------------------------------------------------
/examples/basic/ios/basic/AppDelegate.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import "AppDelegate.h"
9 |
10 | #import
11 | #import
12 |
13 | @implementation AppDelegate
14 |
15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
16 | {
17 | NSURL *jsCodeLocation;
18 |
19 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
20 |
21 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
22 | moduleName:@"basic"
23 | initialProperties:nil
24 | launchOptions:launchOptions];
25 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
26 |
27 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
28 | UIViewController *rootViewController = [UIViewController new];
29 | rootViewController.view = rootView;
30 | self.window.rootViewController = rootViewController;
31 | [self.window makeKeyAndVisible];
32 | return YES;
33 | }
34 |
35 | @end
36 |
--------------------------------------------------------------------------------
/examples/basic/ios/basic/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
21 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/examples/basic/ios/basic/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/examples/basic/ios/basic/Images.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/examples/basic/ios/basic/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | basic
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | 1
25 | LSRequiresIPhoneOS
26 |
27 | NSLocationWhenInUseUsageDescription
28 |
29 | UILaunchStoryboardName
30 | LaunchScreen
31 | UIRequiredDeviceCapabilities
32 |
33 | armv7
34 |
35 | UISupportedInterfaceOrientations
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationLandscapeLeft
39 | UIInterfaceOrientationLandscapeRight
40 |
41 | UIViewControllerBasedStatusBarAppearance
42 |
43 | NSLocationWhenInUseUsageDescription
44 |
45 | NSAppTransportSecurity
46 |
47 |
48 | NSAllowsArbitraryLoads
49 |
50 | NSExceptionDomains
51 |
52 | localhost
53 |
54 | NSExceptionAllowsInsecureHTTPLoads
55 |
56 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/examples/basic/ios/basic/main.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 |
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/examples/basic/ios/basicTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/examples/basic/ios/basicTests/basicTests.m:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2015-present, Facebook, Inc.
3 | *
4 | * This source code is licensed under the MIT license found in the
5 | * LICENSE file in the root directory of this source tree.
6 | */
7 |
8 | #import
9 | #import
10 |
11 | #import
12 | #import
13 |
14 | #define TIMEOUT_SECONDS 600
15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
16 |
17 | @interface basicTests : XCTestCase
18 |
19 | @end
20 |
21 | @implementation basicTests
22 |
23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
24 | {
25 | if (test(view)) {
26 | return YES;
27 | }
28 | for (UIView *subview in [view subviews]) {
29 | if ([self findSubviewInView:subview matching:test]) {
30 | return YES;
31 | }
32 | }
33 | return NO;
34 | }
35 |
36 | - (void)testRendersWelcomeScreen
37 | {
38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
40 | BOOL foundElement = NO;
41 |
42 | __block NSString *redboxError = nil;
43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
44 | if (level >= RCTLogLevelError) {
45 | redboxError = message;
46 | }
47 | });
48 |
49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
52 |
53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
55 | return YES;
56 | }
57 | return NO;
58 | }];
59 | }
60 |
61 | RCTSetLogFunction(RCTDefaultLogFunction);
62 |
63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
65 | }
66 |
67 |
68 | @end
69 |
--------------------------------------------------------------------------------
/examples/basic/ios/workaround.swift:
--------------------------------------------------------------------------------
1 | //
2 | // workaround.swift
3 | // basic
4 | //
5 | // Created by Giorgio on 24/10/2018.
6 | //
7 |
8 | import Foundation
9 |
--------------------------------------------------------------------------------
/examples/basic/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "basic",
3 | "version": "0.0.1",
4 | "private": true,
5 | "scripts": {
6 | "start": "node node_modules/react-native/local-cli/cli.js start",
7 | "test": "jest"
8 | },
9 | "dependencies": {
10 | "react": "16.6.0-alpha.8af6728",
11 | "react-native": "0.57.3",
12 | "react-native-squircle-view": "^1.0.0"
13 | },
14 | "devDependencies": {
15 | "babel-jest": "23.6.0",
16 | "jest": "23.6.0",
17 | "metro-react-native-babel-preset": "0.48.1",
18 | "react-test-renderer": "16.6.0-alpha.8af6728"
19 | },
20 | "jest": {
21 | "preset": "react-native"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 |
3 | // native component & bridge helpers
4 | import { requireNativeComponent, processColor } from 'react-native';
5 |
6 | const WrappedSquircleView = requireNativeComponent(
7 | 'SquircleView',
8 | SquircleView
9 | );
10 |
11 | export default class SquircleView extends Component {
12 | render() {
13 | const { style, ...rest } = this.props;
14 |
15 | wrappedStyle = {};
16 | // manipulate style
17 | if (style && style.backgroundColor) {
18 | wrappedStyle.bckColor = processColor(style.backgroundColor);
19 | }
20 | if (style && style.shadowColor) {
21 | wrappedStyle.shdColor = processColor(style.shadowColor);
22 | }
23 | if (style && style.shadowOpacity) {
24 | wrappedStyle.shdOpacity = style.shadowOpacity;
25 | }
26 | if (style && style.shadowOffset) {
27 | wrappedStyle.shdOffsetX = style.shadowOffset.width;
28 | wrappedStyle.shdOffsetY = style.shadowOffset.height;
29 | }
30 | if (style && style.shadowRadius) {
31 | wrappedStyle.shdRadius = style.shadowRadius;
32 | }
33 | if (style && style.borderColor) {
34 | wrappedStyle.brdColor = processColor(style.borderColor);
35 | }
36 | if (style && style.borderWidth) {
37 | wrappedStyle.brdWidth = style.borderWidth;
38 | }
39 |
40 | // border radii
41 | if (style && style.borderRadius) {
42 | wrappedStyle.brdRadius = style.borderRadius;
43 | }
44 | if (style && (style.borderTopLeftRadius || style.borderTopStartRadius)) {
45 | wrappedStyle.brdTopLeftRadius =
46 | style.borderTopLeftRadius || style.borderTopStartRadius;
47 | }
48 | if (style && (style.borderTopRightRadius || style.borderTopEndRadius)) {
49 | wrappedStyle.brdTopRightRadius =
50 | style.borderTopRightRadius || style.borderTopEndRadius;
51 | }
52 | if (
53 | style &&
54 | (style.borderBottomRightRadius || style.borderBottomEndRadius)
55 | ) {
56 | wrappedStyle.brdBottomRightRadius =
57 | style.borderBottomRightRadius || style.borderBottomEndRadius;
58 | }
59 | if (
60 | style &&
61 | (style.borderBottomLeftRadius || style.borderBottomStartRadius)
62 | ) {
63 | wrappedStyle.brdBottomLeftRadius =
64 | style.borderBottomLeftRadius || style.borderBottomStartRadius;
65 | }
66 |
67 | const {
68 | borderRadius,
69 |
70 | borderTopLeftRadius,
71 | borderTopStartRadius,
72 |
73 | borderTopRightRadius,
74 | borderTopEndRadius,
75 |
76 | borderBottomLeftRadius,
77 | borderBottomStartRadius,
78 |
79 | borderBottomRightRadius,
80 | borderBottomEndRadius,
81 |
82 | backgroundColor,
83 | shadowOpacity,
84 | shadowRadius,
85 | shadowColor,
86 | shadowOffset,
87 | borderColor,
88 | borderWidth,
89 | ...reducedStyle
90 | } = style;
91 |
92 | return (
93 |
94 | );
95 | }
96 | }
97 |
--------------------------------------------------------------------------------
/ios/RNSquircleView-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | //
2 | // Use this file to import your target's public headers that you would like to expose to Swift.
3 | //
4 |
5 | #import "React/RCTBridgeModule.h"
6 | #import "React/RCTConvert.h"
7 | #import "React/RCTUtils.h"
8 | #import "React/RCTViewManager.h"
9 |
--------------------------------------------------------------------------------
/ios/RNSquircleView.h:
--------------------------------------------------------------------------------
1 | #ifndef SquircleView_h
2 | #define SquircleView_h
3 |
4 | #if __has_include("RCTBridgeModule.h")
5 | #import "RCTBridgeModule.h"
6 | #else
7 | #import
8 | #endif
9 |
10 | #import "UIKit/UIKit.h"
11 |
12 | @interface SquircleView : UIView
13 |
14 | @end
15 |
16 |
17 | #endif /* SquircleView_h */
18 |
--------------------------------------------------------------------------------
/ios/RNSquircleView.m:
--------------------------------------------------------------------------------
1 | #import "React/RCTViewManager.h"
2 | #import "UIKit/UIKit.h"
3 | #import "Foundation/Foundation.h"
4 | #import "RNSquircleView.h"
5 |
6 | @interface RCT_EXTERN_MODULE(SquircleViewManager, RCTViewManager)
7 |
8 | RCT_EXPORT_VIEW_PROPERTY(bckColor, NSNumber)
9 |
10 | RCT_EXPORT_VIEW_PROPERTY(shdColor, NSNumber)
11 |
12 | RCT_EXPORT_VIEW_PROPERTY(shdOpacity, float)
13 |
14 | RCT_EXPORT_VIEW_PROPERTY(shdOffsetX, CGFloat)
15 |
16 | RCT_EXPORT_VIEW_PROPERTY(shdOffsetY, CGFloat)
17 |
18 | RCT_EXPORT_VIEW_PROPERTY(shdRadius, CGFloat)
19 |
20 | RCT_EXPORT_VIEW_PROPERTY(brdColor, NSNumber)
21 |
22 | RCT_EXPORT_VIEW_PROPERTY(brdWidth, CGFloat)
23 |
24 | RCT_EXPORT_VIEW_PROPERTY(brdRadius, CGFloat)
25 |
26 | RCT_EXPORT_VIEW_PROPERTY(brdTopLeftRadius, CGFloat)
27 |
28 | RCT_EXPORT_VIEW_PROPERTY(brdTopRightRadius, CGFloat)
29 |
30 | RCT_EXPORT_VIEW_PROPERTY(brdBottomRightRadius, CGFloat)
31 |
32 | RCT_EXPORT_VIEW_PROPERTY(brdBottomLeftRadius, CGFloat)
33 |
34 | RCT_EXPORT_VIEW_PROPERTY(interpolatePath, NSNumber)
35 |
36 | @end
37 |
--------------------------------------------------------------------------------
/ios/RNSquircleView.podspec:
--------------------------------------------------------------------------------
1 | require "json"
2 |
3 | json = File.read(File.join(__dir__, "../package.json"))
4 | package = JSON.parse(json, symbolize_names: true)
5 |
6 | Pod::Spec.new do |s|
7 | s.name = package[:name]
8 | s.version = package[:version]
9 | s.summary = package[:description]
10 | s.description = package[:description]
11 | s.homepage = package[:repository][:url]
12 | s.license = package[:license]
13 | s.author = { "author" => package[:author] }
14 | s.platform = :ios, "7.0"
15 | s.source = { git: package[:repository][:url], tag: 'master' }
16 | s.source_files = "ios/**/*.{h,m,swift}"
17 | s.requires_arc = true
18 |
19 | s.dependency "React"
20 | end
21 |
--------------------------------------------------------------------------------
/ios/RNSquircleView.swift:
--------------------------------------------------------------------------------
1 | //
2 | // RNSquircleView.swift
3 | // RNSquircleView
4 | //
5 | // Created by Giorgio on 24/10/2018.
6 | //
7 |
8 | import Foundation
9 | import UIKit
10 |
11 | @IBDesignable
12 | class SquircleView : UIView {
13 |
14 | let containerView = UIView()
15 |
16 | // FIXME: make borderView borders CSS compilant
17 | let borderView = UIView()
18 |
19 | // style properties
20 | var bckColor : UIColor = .clear
21 | var shdColor : CGColor = UIColor.black.cgColor
22 | var shdOpacity : Float = 0
23 | var shdOffsetX : CGFloat = 0
24 | var shdOffsetY : CGFloat = 0
25 | var shdRadius : CGFloat = 0
26 |
27 | var brdColor : CGColor = UIColor.black.cgColor
28 | var brdWidth : CGFloat = 0
29 |
30 | let path = UIBezierPath()
31 | var c : [CGFloat] = [0, 0, 0, 0, 0, 0, 0, 0]
32 | var interpolatePath : Bool = true
33 |
34 | var radii : [String: CGFloat] = [
35 | "topLeft": 0,
36 | "topRight": 0,
37 | "bottomRight": 0,
38 | "bottomLeft": 0
39 | ]
40 |
41 | static let coeffs : [CGFloat] = [
42 | 0.046412805499999994,
43 | 0.133566352,
44 | 0.22071989825,
45 | 0.348614185,
46 | 0.5115771475,
47 | 0.67454011,
48 | 0.8609766075,
49 | 1.1579757175
50 | ]
51 |
52 | static let normals : [CGFloat] = [
53 | 0.049745972799999996,
54 | 0.1365289826,
55 | 0.22331199200000001,
56 | 0.34713204000000003,
57 | 0.495280188,
58 | 0.643428336,
59 | 0.815904584,
60 | 1.0
61 | ]
62 |
63 | var minPoint : CGFloat = 0
64 | var maxPoint : CGFloat = 0
65 |
66 | override init(frame: CGRect) {
67 | super.init(frame: frame)
68 | addSubview(containerView)
69 | addSubview(borderView)
70 | }
71 |
72 | required init?(coder aDecoder: NSCoder) {
73 | super.init(coder: aDecoder)
74 | }
75 |
76 | override func draw(_ rect: CGRect) {
77 | super.draw(rect)
78 |
79 | minPoint = min(frame.width, frame.height) / (2.0 * SquircleView.coeffs[7])
80 | maxPoint = min(frame.width, frame.height) / 2.0
81 |
82 | self.drawPath()
83 |
84 | // ensure clear background
85 | backgroundColor = .clear
86 | layer.backgroundColor = UIColor.clear.cgColor
87 | isOpaque = false
88 | layer.isOpaque = false
89 |
90 | // let squirclePath = UIBezierPath(ovalIn: rect)
91 | let maskShape = CAShapeLayer()
92 | maskShape.path = path.cgPath
93 |
94 | containerView.frame = rect
95 |
96 | borderView.frame = rect
97 | let borderLayer = CAShapeLayer()
98 | borderLayer.path = path.cgPath
99 | borderLayer.isOpaque = false
100 | borderLayer.fillColor = UIColor.clear.cgColor
101 | borderLayer.strokeColor = brdColor
102 | borderLayer.lineWidth = brdWidth
103 | containerView.layer.addSublayer(borderLayer)
104 |
105 | // test color
106 | containerView.backgroundColor = bckColor
107 |
108 | // mask the view
109 | containerView.layer.mask = maskShape
110 |
111 | // add shadows
112 | layer.shadowColor = shdColor
113 | layer.shadowOpacity = shdOpacity
114 | layer.shadowOffset = CGSize(width: shdOffsetX, height: shdOffsetY)
115 | layer.shadowRadius = shdRadius
116 | }
117 |
118 | override func didAddSubview(_ subview: UIView) {
119 | if subview != containerView && subview != borderView {
120 | let newSubview = subview
121 | subview.removeFromSuperview()
122 | containerView.addSubview(newSubview)
123 | }
124 | }
125 |
126 | private func lerp(y0: CGFloat, y1: CGFloat, x: CGFloat) -> CGFloat {
127 | return y0 + x * (y1 - y0)
128 | }
129 |
130 | private func normalizeRadius(corner: String) -> CGFloat {
131 | var n : CGFloat = radii[corner] ?? 0
132 |
133 | if interpolatePath {
134 | n = n > maxPoint ? maxPoint : n
135 | } else {
136 | n = n > minPoint ? minPoint : n
137 | }
138 |
139 | return n
140 | }
141 |
142 | private func interpolationAmount(corner: String) -> CGFloat {
143 | let n = normalizeRadius(corner: corner)
144 |
145 | let l = (n - minPoint) / (maxPoint - minPoint)
146 |
147 | return l
148 | }
149 |
150 | private func drawCorner(corner: String, biasX: CGFloat, biasY: CGFloat, invertX: Bool, invertY: Bool, swap: Bool) {
151 | let n = normalizeRadius(corner: corner)
152 |
153 | let l = interpolationAmount(corner: corner)
154 |
155 | if interpolatePath {
156 | for (i, _) in SquircleView.coeffs.enumerated() {
157 | c[i] = lerp(y0: SquircleView.coeffs[i], y1: SquircleView.normals[i], x: l)
158 | }
159 | } else {
160 | for (i, _) in SquircleView.coeffs.enumerated() {
161 | c[i] = SquircleView.coeffs[i]
162 | }
163 | }
164 |
165 | var u : [CGFloat] = [
166 | n * c[1], n * c[4],
167 | 0, n * c[6],
168 | n * c[0], n * c[5],
169 | n * c[4], n * c[1],
170 | n * c[2], n * c[3],
171 | n * c[3], n * c[2],
172 | n * c[7], 0,
173 | n * c[5], n * c[0],
174 | n * c[6], 0
175 | ]
176 |
177 | if swap {
178 | for (i, _) in u.enumerated() where i % 2 == 0 {
179 | u.swapAt(i, i + 1)
180 | }
181 | }
182 |
183 | let ix : CGFloat = invertX ? -1.0 : 1.0
184 | let iy : CGFloat = invertY ? -1.0 : 1.0
185 | let bx = biasX
186 | let by = biasY
187 |
188 | path.addCurve(
189 | to: CGPoint(x: bx + ix * u[0], y: by + iy * u[1]),
190 | controlPoint1: CGPoint(x: bx + ix * u[2], y: by + iy * u[3]),
191 | controlPoint2: CGPoint(x: bx + ix * u[4], y: by + iy * u[5]))
192 | path.addCurve(
193 | to: CGPoint(x: bx + ix * u[6], y: by + iy * u[7]),
194 | controlPoint1: CGPoint(x: bx + ix * u[8], y: by + iy * u[9]),
195 | controlPoint2: CGPoint(x: bx + ix * u[10], y: by + iy * u[11])
196 | )
197 | path.addCurve(
198 | to: CGPoint(x: bx + ix * u[12], y: by + iy * u[13]),
199 | controlPoint1: CGPoint(x: bx + ix * u[14], y: by + iy * u[15]),
200 | controlPoint2: CGPoint(x: bx + ix * u[16], y: by + iy * u[17])
201 | )
202 | }
203 |
204 | private func drawPath() {
205 | let w = frame.size.width
206 | let h = frame.size.height
207 |
208 | // starting points for each curve set
209 | let ptls = lerp(y0: SquircleView.coeffs[7], y1: 1.0, x: interpolationAmount(corner: "topLeft"))
210 | let tls = CGPoint(x: 0, y: ptls * normalizeRadius(corner: "topLeft"))
211 |
212 | let ptrs = lerp(y0: SquircleView.coeffs[7], y1: 1.0, x: interpolationAmount(corner: "topRight"))
213 | let trs = CGPoint(x: w - ptrs * normalizeRadius(corner: "topRight"), y: 0)
214 |
215 | let pbrs = lerp(y0: SquircleView.coeffs[7], y1: 1.0, x: interpolationAmount(corner: "bottomRight"))
216 | let brs = CGPoint(x: w, y: h - pbrs * normalizeRadius(corner: "bottomRight"))
217 |
218 | let pbls = lerp(y0: SquircleView.coeffs[7], y1: 1.0, x: interpolationAmount(corner: "bottomLeft"))
219 | let bls = CGPoint(x: pbls * normalizeRadius(corner: "bottomLeft"), y: h)
220 |
221 | path.move(to: tls)
222 | self.drawCorner(corner: "topLeft", biasX: 0, biasY: 0, invertX: false, invertY: false, swap: false)
223 |
224 | path.addLine(to: trs)
225 | self.drawCorner(corner: "topRight", biasX: w, biasY: 0, invertX: true, invertY: false, swap: true)
226 |
227 | path.addLine(to: brs)
228 | self.drawCorner(corner: "bottomRight", biasX: w, biasY: h, invertX: true, invertY: true, swap: false)
229 |
230 | path.addLine(to: bls)
231 | self.drawCorner(corner: "bottomLeft", biasX: 0, biasY: h, invertX: false, invertY: true, swap: true)
232 |
233 | path.close()
234 | }
235 |
236 | @objc public func setBckColor(_ color: NSNumber) {
237 | self.bckColor = RCTConvert.uiColor(color)
238 | }
239 |
240 | @objc public func setShdColor(_ color: NSNumber) {
241 | self.shdColor = RCTConvert.cgColor(color)
242 | }
243 |
244 | @objc public func setShdOpacity(_ opacity: Float) {
245 | self.shdOpacity = opacity
246 | }
247 |
248 | @objc public func setShdOffsetX(_ offset: CGFloat) {
249 | self.shdOffsetX = offset
250 | }
251 |
252 | @objc public func setShdOffsetY(_ offset: CGFloat) {
253 | self.shdOffsetY = offset
254 | }
255 |
256 | @objc public func setShdRadius(_ radius: CGFloat) {
257 | self.shdRadius = radius
258 | }
259 |
260 | @objc public func setBrdColor(_ color: NSNumber) {
261 | self.brdColor = RCTConvert.cgColor(color)
262 | }
263 |
264 | @objc public func setBrdWidth(_ width: CGFloat) {
265 | self.brdWidth = width * 2.0
266 | }
267 |
268 | @objc public func setBrdRadius(_ radius: CGFloat) {
269 | self.radii = [
270 | "topLeft": radius,
271 | "topRight": radius,
272 | "bottomRight": radius,
273 | "bottomLeft": radius
274 | ]
275 | }
276 |
277 | @objc public func setBrdTopLeftRadius(_ radius: CGFloat) {
278 | self.radii["topLeft"] = radius
279 | }
280 |
281 | @objc public func setBrdTopRightRadius(_ radius: CGFloat) {
282 | self.radii["topRight"] = radius
283 | }
284 |
285 | @objc public func setBrdBottomRightRadius(_ radius: CGFloat) {
286 | self.radii["bottomRight"] = radius
287 | }
288 |
289 | @objc public func setBrdBottomLeftRadius(_ radius: CGFloat) {
290 | self.radii["bottomLeft"] = radius
291 | }
292 |
293 | @objc public func setInterpolatePath(_ interpolate: NSNumber) {
294 | self.interpolatePath = RCTConvert.bool(interpolate)
295 | }
296 |
297 | }
298 |
299 |
300 | @objc(SquircleViewManager)
301 | class SquircleViewManager: RCTViewManager {
302 | override func view() -> UIView! {
303 | let squircle = SquircleView()
304 | return squircle
305 | }
306 |
307 | override static func requiresMainQueueSetup() -> Bool {
308 | return true
309 | }
310 | }
311 |
--------------------------------------------------------------------------------
/ios/RNSquircleView.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | B3E7B58A1CC2AC0600A0062D /* RNSquircleView.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNSquircleView.m */; };
11 | C3ECA810217FDFAC00CB39DA /* RNSquircleView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C3ECA80F217FDFAC00CB39DA /* RNSquircleView.swift */; };
12 | /* End PBXBuildFile section */
13 |
14 | /* Begin PBXCopyFilesBuildPhase section */
15 | 58B511D91A9E6C8500147676 /* CopyFiles */ = {
16 | isa = PBXCopyFilesBuildPhase;
17 | buildActionMask = 2147483647;
18 | dstPath = "include/$(PRODUCT_NAME)";
19 | dstSubfolderSpec = 16;
20 | files = (
21 | );
22 | runOnlyForDeploymentPostprocessing = 0;
23 | };
24 | /* End PBXCopyFilesBuildPhase section */
25 |
26 | /* Begin PBXFileReference section */
27 | 134814201AA4EA6300B7C361 /* libRNSquircleView.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNSquircleView.a; sourceTree = BUILT_PRODUCTS_DIR; };
28 | B3E7B5881CC2AC0600A0062D /* RNSquircleView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNSquircleView.h; sourceTree = ""; };
29 | B3E7B5891CC2AC0600A0062D /* RNSquircleView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNSquircleView.m; sourceTree = ""; };
30 | C3ECA80E217FDFAB00CB39DA /* RNSquircleView-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RNSquircleView-Bridging-Header.h"; sourceTree = ""; };
31 | C3ECA80F217FDFAC00CB39DA /* RNSquircleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RNSquircleView.swift; sourceTree = ""; };
32 | /* End PBXFileReference section */
33 |
34 | /* Begin PBXFrameworksBuildPhase section */
35 | 58B511D81A9E6C8500147676 /* Frameworks */ = {
36 | isa = PBXFrameworksBuildPhase;
37 | buildActionMask = 2147483647;
38 | files = (
39 | );
40 | runOnlyForDeploymentPostprocessing = 0;
41 | };
42 | /* End PBXFrameworksBuildPhase section */
43 |
44 | /* Begin PBXGroup section */
45 | 134814211AA4EA7D00B7C361 /* Products */ = {
46 | isa = PBXGroup;
47 | children = (
48 | 134814201AA4EA6300B7C361 /* libRNSquircleView.a */,
49 | );
50 | name = Products;
51 | sourceTree = "";
52 | };
53 | 58B511D21A9E6C8500147676 = {
54 | isa = PBXGroup;
55 | children = (
56 | C3ECA80F217FDFAC00CB39DA /* RNSquircleView.swift */,
57 | B3E7B5881CC2AC0600A0062D /* RNSquircleView.h */,
58 | B3E7B5891CC2AC0600A0062D /* RNSquircleView.m */,
59 | 134814211AA4EA7D00B7C361 /* Products */,
60 | C3ECA80E217FDFAB00CB39DA /* RNSquircleView-Bridging-Header.h */,
61 | );
62 | sourceTree = "";
63 | };
64 | /* End PBXGroup section */
65 |
66 | /* Begin PBXNativeTarget section */
67 | 58B511DA1A9E6C8500147676 /* RNSquircleView */ = {
68 | isa = PBXNativeTarget;
69 | buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNSquircleView" */;
70 | buildPhases = (
71 | 58B511D71A9E6C8500147676 /* Sources */,
72 | 58B511D81A9E6C8500147676 /* Frameworks */,
73 | 58B511D91A9E6C8500147676 /* CopyFiles */,
74 | );
75 | buildRules = (
76 | );
77 | dependencies = (
78 | );
79 | name = RNSquircleView;
80 | productName = RCTDataManager;
81 | productReference = 134814201AA4EA6300B7C361 /* libRNSquircleView.a */;
82 | productType = "com.apple.product-type.library.static";
83 | };
84 | /* End PBXNativeTarget section */
85 |
86 | /* Begin PBXProject section */
87 | 58B511D31A9E6C8500147676 /* Project object */ = {
88 | isa = PBXProject;
89 | attributes = {
90 | LastUpgradeCheck = 0830;
91 | ORGANIZATIONNAME = Facebook;
92 | TargetAttributes = {
93 | 58B511DA1A9E6C8500147676 = {
94 | CreatedOnToolsVersion = 6.1.1;
95 | LastSwiftMigration = 1000;
96 | };
97 | };
98 | };
99 | buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNSquircleView" */;
100 | compatibilityVersion = "Xcode 3.2";
101 | developmentRegion = English;
102 | hasScannedForEncodings = 0;
103 | knownRegions = (
104 | en,
105 | );
106 | mainGroup = 58B511D21A9E6C8500147676;
107 | productRefGroup = 58B511D21A9E6C8500147676;
108 | projectDirPath = "";
109 | projectRoot = "";
110 | targets = (
111 | 58B511DA1A9E6C8500147676 /* RNSquircleView */,
112 | );
113 | };
114 | /* End PBXProject section */
115 |
116 | /* Begin PBXSourcesBuildPhase section */
117 | 58B511D71A9E6C8500147676 /* Sources */ = {
118 | isa = PBXSourcesBuildPhase;
119 | buildActionMask = 2147483647;
120 | files = (
121 | C3ECA810217FDFAC00CB39DA /* RNSquircleView.swift in Sources */,
122 | B3E7B58A1CC2AC0600A0062D /* RNSquircleView.m in Sources */,
123 | );
124 | runOnlyForDeploymentPostprocessing = 0;
125 | };
126 | /* End PBXSourcesBuildPhase section */
127 |
128 | /* Begin XCBuildConfiguration section */
129 | 58B511ED1A9E6C8500147676 /* Debug */ = {
130 | isa = XCBuildConfiguration;
131 | buildSettings = {
132 | ALWAYS_SEARCH_USER_PATHS = NO;
133 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
134 | CLANG_CXX_LIBRARY = "libc++";
135 | CLANG_ENABLE_MODULES = YES;
136 | CLANG_ENABLE_OBJC_ARC = YES;
137 | CLANG_WARN_BOOL_CONVERSION = YES;
138 | CLANG_WARN_CONSTANT_CONVERSION = YES;
139 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
140 | CLANG_WARN_EMPTY_BODY = YES;
141 | CLANG_WARN_ENUM_CONVERSION = YES;
142 | CLANG_WARN_INFINITE_RECURSION = YES;
143 | CLANG_WARN_INT_CONVERSION = YES;
144 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
145 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
146 | CLANG_WARN_UNREACHABLE_CODE = YES;
147 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
148 | COPY_PHASE_STRIP = NO;
149 | ENABLE_STRICT_OBJC_MSGSEND = YES;
150 | ENABLE_TESTABILITY = YES;
151 | GCC_C_LANGUAGE_STANDARD = gnu99;
152 | GCC_DYNAMIC_NO_PIC = NO;
153 | GCC_NO_COMMON_BLOCKS = YES;
154 | GCC_OPTIMIZATION_LEVEL = 0;
155 | GCC_PREPROCESSOR_DEFINITIONS = (
156 | "DEBUG=1",
157 | "$(inherited)",
158 | );
159 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
160 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
161 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
162 | GCC_WARN_UNDECLARED_SELECTOR = YES;
163 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
164 | GCC_WARN_UNUSED_FUNCTION = YES;
165 | GCC_WARN_UNUSED_VARIABLE = YES;
166 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
167 | MTL_ENABLE_DEBUG_INFO = YES;
168 | ONLY_ACTIVE_ARCH = YES;
169 | SDKROOT = iphoneos;
170 | };
171 | name = Debug;
172 | };
173 | 58B511EE1A9E6C8500147676 /* Release */ = {
174 | isa = XCBuildConfiguration;
175 | buildSettings = {
176 | ALWAYS_SEARCH_USER_PATHS = NO;
177 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
178 | CLANG_CXX_LIBRARY = "libc++";
179 | CLANG_ENABLE_MODULES = YES;
180 | CLANG_ENABLE_OBJC_ARC = YES;
181 | CLANG_WARN_BOOL_CONVERSION = YES;
182 | CLANG_WARN_CONSTANT_CONVERSION = YES;
183 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
184 | CLANG_WARN_EMPTY_BODY = YES;
185 | CLANG_WARN_ENUM_CONVERSION = YES;
186 | CLANG_WARN_INFINITE_RECURSION = YES;
187 | CLANG_WARN_INT_CONVERSION = YES;
188 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
189 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
190 | CLANG_WARN_UNREACHABLE_CODE = YES;
191 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
192 | COPY_PHASE_STRIP = YES;
193 | ENABLE_NS_ASSERTIONS = NO;
194 | ENABLE_STRICT_OBJC_MSGSEND = YES;
195 | GCC_C_LANGUAGE_STANDARD = gnu99;
196 | GCC_NO_COMMON_BLOCKS = YES;
197 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
198 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
199 | GCC_WARN_UNDECLARED_SELECTOR = YES;
200 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
201 | GCC_WARN_UNUSED_FUNCTION = YES;
202 | GCC_WARN_UNUSED_VARIABLE = YES;
203 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
204 | MTL_ENABLE_DEBUG_INFO = NO;
205 | SDKROOT = iphoneos;
206 | VALIDATE_PRODUCT = YES;
207 | };
208 | name = Release;
209 | };
210 | 58B511F01A9E6C8500147676 /* Debug */ = {
211 | isa = XCBuildConfiguration;
212 | buildSettings = {
213 | CLANG_ENABLE_MODULES = YES;
214 | HEADER_SEARCH_PATHS = (
215 | "$(inherited)",
216 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
217 | "$(SRCROOT)/../../../React/**",
218 | "$(SRCROOT)/../../react-native/React/**",
219 | );
220 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
221 | LIBRARY_SEARCH_PATHS = "$(inherited)";
222 | OTHER_LDFLAGS = "-ObjC";
223 | PRODUCT_NAME = RNSquircleView;
224 | SKIP_INSTALL = YES;
225 | SWIFT_OBJC_BRIDGING_HEADER = "RNSquircleView-Bridging-Header.h";
226 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
227 | SWIFT_VERSION = 4.2;
228 | };
229 | name = Debug;
230 | };
231 | 58B511F11A9E6C8500147676 /* Release */ = {
232 | isa = XCBuildConfiguration;
233 | buildSettings = {
234 | CLANG_ENABLE_MODULES = YES;
235 | HEADER_SEARCH_PATHS = (
236 | "$(inherited)",
237 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
238 | "$(SRCROOT)/../../../React/**",
239 | "$(SRCROOT)/../../react-native/React/**",
240 | );
241 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
242 | LIBRARY_SEARCH_PATHS = "$(inherited)";
243 | OTHER_LDFLAGS = "-ObjC";
244 | PRODUCT_NAME = RNSquircleView;
245 | SKIP_INSTALL = YES;
246 | SWIFT_OBJC_BRIDGING_HEADER = "RNSquircleView-Bridging-Header.h";
247 | SWIFT_VERSION = 4.2;
248 | };
249 | name = Release;
250 | };
251 | /* End XCBuildConfiguration section */
252 |
253 | /* Begin XCConfigurationList section */
254 | 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNSquircleView" */ = {
255 | isa = XCConfigurationList;
256 | buildConfigurations = (
257 | 58B511ED1A9E6C8500147676 /* Debug */,
258 | 58B511EE1A9E6C8500147676 /* Release */,
259 | );
260 | defaultConfigurationIsVisible = 0;
261 | defaultConfigurationName = Release;
262 | };
263 | 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNSquircleView" */ = {
264 | isa = XCConfigurationList;
265 | buildConfigurations = (
266 | 58B511F01A9E6C8500147676 /* Debug */,
267 | 58B511F11A9E6C8500147676 /* Release */,
268 | );
269 | defaultConfigurationIsVisible = 0;
270 | defaultConfigurationName = Release;
271 | };
272 | /* End XCConfigurationList section */
273 | };
274 | rootObject = 58B511D31A9E6C8500147676 /* Project object */;
275 | }
276 |
--------------------------------------------------------------------------------
/ios/RNSquircleView.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 |
3 |
5 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/license:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 Giorgio Tropiano
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 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "react-native-squircle-view",
3 | "version": "1.0.2",
4 | "description": "Apple flavored curvature continuity for React Native",
5 | "main": "index.js",
6 | "scripts": {},
7 | "keywords": [
8 | "react-native",
9 | "squircle",
10 | "smooth",
11 | "rounded",
12 | "superellipse",
13 | "curvature",
14 | "continuity",
15 | "apple",
16 | "ios"
17 | ],
18 | "repository": {
19 | "type": "git",
20 | "url": "https://github.com/everdrone/react-native-squircle-view"
21 | },
22 | "author": "everdrone",
23 | "license": "MIT",
24 | "dependencies": {
25 | "prop-types": "^15.6.2"
26 | },
27 | "peerDependencies": {
28 | "react-native": "^0.41.2"
29 | }
30 | }
31 |
--------------------------------------------------------------------------------