├── .watchmanconfig ├── .gitattributes ├── .babelrc ├── .vscode └── settings.json ├── app.json ├── app ├── imgs │ ├── back.png │ ├── user.png │ ├── moebutton.png │ └── slideButton.png ├── action │ ├── actionTypes.js │ └── fetchListAction.js ├── reducers │ ├── rootReducer.js │ └── listInfoReducer.js ├── store │ └── configureStore.js ├── root.js ├── common │ └── utils.js ├── view │ ├── App.js │ ├── Menu.js │ ├── AppMain.js │ └── InfoListView.js └── components │ └── WebViewContainer.js ├── screenshot ├── pic1.png ├── pic2.png ├── pic3.png ├── pic4.png ├── v2ex_app1.gif ├── v2ex_app2.gif └── v2ex_app3.gif ├── android ├── app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ └── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── assets │ │ │ └── fonts │ │ │ │ ├── Entypo.ttf │ │ │ │ ├── Zocial.ttf │ │ │ │ ├── Ionicons.ttf │ │ │ │ ├── Octicons.ttf │ │ │ │ ├── EvilIcons.ttf │ │ │ │ ├── FontAwesome.ttf │ │ │ │ ├── Foundation.ttf │ │ │ │ ├── MaterialIcons.ttf │ │ │ │ ├── SimpleLineIcons.ttf │ │ │ │ └── MaterialCommunityIcons.ttf │ │ │ ├── java │ │ │ └── com │ │ │ │ └── v2ex_demo │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── AndroidManifest.xml │ ├── BUCK │ ├── proguard-rules.pro │ └── build.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── keystores │ ├── debug.keystore.properties │ └── BUCK ├── settings.gradle ├── build.gradle ├── gradle.properties ├── gradlew.bat └── gradlew ├── .buckconfig ├── jsconfig.json ├── __tests__ ├── index.ios.js └── index.android.js ├── index.android.js ├── index.ios.js ├── ios ├── v2ex_demo │ ├── AppDelegate.h │ ├── main.m │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── AppDelegate.m │ ├── Info.plist │ └── Base.lproj │ │ └── LaunchScreen.xib ├── v2ex_demoTests │ ├── Info.plist │ └── v2ex_demoTests.m ├── v2ex_demo-tvOSTests │ └── Info.plist ├── v2ex_demo-tvOS │ └── Info.plist └── v2ex_demo.xcodeproj │ ├── xcshareddata │ └── xcschemes │ │ ├── v2ex_demo.xcscheme │ │ └── v2ex_demo-tvOS.xcscheme │ └── project.pbxproj ├── package.json ├── README.md ├── .gitignore └── .flowconfig /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vsicons.presets.angular": false 3 | } -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "v2ex_demo", 3 | "displayName": "v2ex_demo" 4 | } -------------------------------------------------------------------------------- /app/imgs/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/app/imgs/back.png -------------------------------------------------------------------------------- /app/imgs/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/app/imgs/user.png -------------------------------------------------------------------------------- /screenshot/pic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/screenshot/pic1.png -------------------------------------------------------------------------------- /screenshot/pic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/screenshot/pic2.png -------------------------------------------------------------------------------- /screenshot/pic3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/screenshot/pic3.png -------------------------------------------------------------------------------- /screenshot/pic4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/screenshot/pic4.png -------------------------------------------------------------------------------- /app/imgs/moebutton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/app/imgs/moebutton.png -------------------------------------------------------------------------------- /app/imgs/slideButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/app/imgs/slideButton.png -------------------------------------------------------------------------------- /screenshot/v2ex_app1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/screenshot/v2ex_app1.gif -------------------------------------------------------------------------------- /screenshot/v2ex_app2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/screenshot/v2ex_app2.gif -------------------------------------------------------------------------------- /screenshot/v2ex_app3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/screenshot/v2ex_app3.gif -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | v2ex_demo 3 | 4 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/action/actionTypes.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by haifeng on 17/2/22. 3 | */ 4 | export const FETCH_LIST_INIT = 'FETCH_LIST_INIT'; 5 | export const FETCH_LIST_INFO = 'FETCH_LIST_INFO'; -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seawind8888/react-native-v2ex/HEAD/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = 'debug', 3 | store = 'debug.keystore', 4 | properties = 'debug.keystore.properties', 5 | visibility = [ 6 | 'PUBLIC', 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "allowJs": true, 4 | "allowSyntheticDefaultImports": true 5 | }, 6 | "exclude": [ 7 | "node_modules" 8 | ] 9 | } -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /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-2.4-all.zip 6 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'v2ex_demo' 2 | include ':react-native-vector-icons' 3 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /app/reducers/rootReducer.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by haifeng on 17/1/10. 3 | */ 4 | import { combineReducers } from 'redux'; 5 | import ListInfo from './listInfoReducer'; 6 | 7 | const rootReducer = combineReducers({ 8 | ListInfo 9 | }); 10 | 11 | export default rootReducer -------------------------------------------------------------------------------- /app/store/configureStore.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by haifeng on 17/1/9. 3 | */ 4 | 5 | import {createStore, applyMiddleware} from 'redux'; 6 | import thunk from 'redux-thunk'; 7 | import rootReducer from '../reducers/rootReducer'; 8 | 9 | let store = applyMiddleware(thunk)(createStore)(rootReducer); 10 | export default store; 11 | -------------------------------------------------------------------------------- /__tests__/index.ios.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.ios.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /__tests__/index.android.js: -------------------------------------------------------------------------------- 1 | import 'react-native'; 2 | import React from 'react'; 3 | import Index from '../index.android.js'; 4 | 5 | // Note: test renderer must be required after react-native. 6 | import renderer from 'react-test-renderer'; 7 | 8 | it('renders correctly', () => { 9 | const tree = renderer.create( 10 | 11 | ); 12 | }); 13 | -------------------------------------------------------------------------------- /index.android.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * @flow 5 | */ 6 | 7 | import React, { Component } from 'react'; 8 | import { 9 | AppRegistry, 10 | StyleSheet, 11 | Text, 12 | View 13 | } from 'react-native'; 14 | 15 | import root from './app/root' 16 | 17 | 18 | AppRegistry.registerComponent('v2ex_demo', () => root); -------------------------------------------------------------------------------- /index.ios.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * @flow 5 | */ 6 | 7 | import React, { Component } from 'react'; 8 | import { 9 | AppRegistry, 10 | StyleSheet, 11 | Text, 12 | View 13 | } from 'react-native'; 14 | 15 | import root from './app/root' 16 | 17 | 18 | AppRegistry.registerComponent('v2ex_demo', () => root); 19 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/v2ex_demo/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.v2ex_demo; 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 "v2ex_demo"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ios/v2ex_demo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (nonatomic, strong) UIWindow *window; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /app/root.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by haifeng on 17/2/22. 3 | */ 4 | import React, { Component } from 'react'; 5 | import { 6 | AppRegistry, 7 | StyleSheet, 8 | Navigator, 9 | View 10 | } from 'react-native'; 11 | import App from './view/App'; 12 | import { Provider } from 'react-redux'; 13 | import store from './store/configureStore'; 14 | 15 | export default class root extends Component { 16 | render() { 17 | return ( 18 | 19 | 20 | 21 | ) 22 | } 23 | } -------------------------------------------------------------------------------- /ios/v2ex_demo/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import "AppDelegate.h" 13 | 14 | int main(int argc, char * argv[]) { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/common/utils.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by haifeng on 17/2/22. 3 | */ 4 | let Util = { 5 | fetchData: (url, method, successCallback, failCallback) => { 6 | fetch(url, { 7 | method: method 8 | }) 9 | .then((response) => response.json()) 10 | .then((responseJSON) => { 11 | successCallback(responseJSON); 12 | }) 13 | .catch((err) => { 14 | failCallback(err); 15 | }); 16 | }, 17 | NaviGoBack: (navigator) => { 18 | if (navigator && navigator.getCurrentRoutes().length > 1) { 19 | navigator.pop(); 20 | return 21 | } 22 | } 23 | }; 24 | export default Util -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:1.3.1' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | mavenLocal() 18 | jcenter() 19 | maven { 20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 21 | url "$rootDir/../node_modules/react-native/android" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /ios/v2ex_demo/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 | } -------------------------------------------------------------------------------- /app/reducers/listInfoReducer.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by haifeng on 17/1/13. 3 | */ 4 | import * as types from '../action/actionTypes'; 5 | 6 | const initialState = { 7 | data:{}, 8 | isLoading:true, 9 | channel:'' 10 | }; 11 | 12 | let listInfoReducer = (state = initialState, action) => { 13 | switch (action.type) { 14 | case types.FETCH_LIST_INIT: 15 | return { 16 | ...state, 17 | isLoading: true 18 | }; 19 | case types.FETCH_LIST_INFO: 20 | return { 21 | ...state, 22 | isLoading: false, 23 | data: action.response, 24 | channel:action.channel 25 | }; 26 | default: 27 | return state 28 | } 29 | } 30 | 31 | export default listInfoReducer; -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "v2ex_demo", 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": "~15.4.0", 11 | "react-native": "0.41.2", 12 | "react-native-progress": "^3.2.0", 13 | "react-native-side-menu": "^0.20.1", 14 | "react-native-swiper": "^1.5.4", 15 | "react-native-vector-icons": "^4.0.0", 16 | "react-redux": "^5.0.2", 17 | "redux": "^3.6.0", 18 | "redux-thunk": "^2.2.0" 19 | }, 20 | "devDependencies": { 21 | "babel-jest": "19.0.0", 22 | "babel-preset-react-native": "1.9.1", 23 | "jest": "19.0.0", 24 | "react-test-renderer": "~15.4.0" 25 | }, 26 | "jest": { 27 | "preset": "react-native" 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /ios/v2ex_demoTests/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 | -------------------------------------------------------------------------------- /ios/v2ex_demo-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 | -------------------------------------------------------------------------------- /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 | 20 | android.useDeprecatedNdk=true 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # React-Native高仿v2ex客户端 2 | 基于react-native+redux的高仿v2ex客户端开源项目 3 | 4 | ## 安装配置 5 | 6 | ### 1.第一步 7 | ``` 8 | git clone https://github.com/seawind8888/react-native-v2ex.git 9 | ``` 10 | ### 2.第二步 11 | ``` 12 | cd v2ex_demo 13 | ``` 14 | ### 3.第三步 15 | ``` 16 | npm install 17 | ``` 18 | ### 4.第四步 19 | ``` 20 | 1.运行Android版本 21 | Mac OS X:react-native run-android or Windows OS:react-native start and react-native run-android 22 | 2.运行iOS版本 23 | Mac OS X:react-native run-ios or xcode open project and run project 24 | ``` 25 | ## 运行效果 26 | ![image](https://github.com/seawind8888/v2ex_demo/blob/master/screenshot/v2ex_app1.gif) 27 | ![image](https://github.com/seawind8888/v2ex_demo/blob/master/screenshot/v2ex_app2.gif) 28 | ![image](https://github.com/seawind8888/v2ex_demo/blob/master/screenshot/v2ex_app3.gif) 29 | 30 | 31 | ## 使用组件 32 | ``` 33 | 1.react-native-side-menu 34 | 2.react-native-swiper 35 | 3.react-native-vector-icons 36 | 4.react-redux 37 | 5.redux 38 | 6.redux-thunk 39 | ``` 40 | -------------------------------------------------------------------------------- /.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 | android/app/libs 43 | *.keystore 44 | 45 | # fastlane 46 | # 47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 48 | # screenshots whenever they are needed. 49 | # For more information about the recommended setup visit: 50 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 51 | 52 | fastlane/report.xml 53 | fastlane/Preview.html 54 | fastlane/screenshots 55 | -------------------------------------------------------------------------------- /app/action/fetchListAction.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by haifeng on 17/2/22. 3 | */ 4 | import Util from '../common/utils' 5 | import * as types from './actionTypes' 6 | 7 | export function fetchList(channel) { 8 | var URL; 9 | if (channel == '最新') { 10 | URL = 'https://www.v2ex.com/api/topics/latest.json'; 11 | } else if (channel == '最热') { 12 | URL = 'https://www.v2ex.com/api/topics/hot.json'; 13 | } else { 14 | URL = 'https://www.v2ex.com/api/nodes/show.json?name=' 15 | } 16 | 17 | 18 | return dispatch => { 19 | dispatch(fetchListInit()); 20 | 21 | Util.fetchData(URL, 'get', (response) => { 22 | dispatch(fetchListInfo(response,channel)); 23 | }, (error) => { 24 | alert(error); 25 | dispatch(fetchListInfo(error,channel)) 26 | }) 27 | } 28 | } 29 | 30 | let fetchListInit = (response) => { 31 | return { 32 | type: types.FETCH_LIST_INIT, 33 | response 34 | } 35 | }; 36 | 37 | let fetchListInfo = (response,channel) => { 38 | return { 39 | type: types.FETCH_LIST_INFO, 40 | response, 41 | channel 42 | } 43 | }; 44 | 45 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /app/view/App.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by haifeng on 17/2/22. 3 | */ 4 | import React, { Component } from 'react'; 5 | import { 6 | AppRegistry, 7 | StyleSheet, 8 | Navigator, 9 | View 10 | } from 'react-native'; 11 | import AppMain from './AppMain' 12 | 13 | class App extends Component { 14 | constructor(props) { 15 | super(props) 16 | } 17 | 18 | _renderScene(route, navigator) { 19 | let Component = route.component; 20 | return ( 21 | 22 | ); 23 | } 24 | 25 | _configureScene() { 26 | return Navigator.SceneConfigs.PushFromRight; 27 | } 28 | 29 | render(){ 30 | return( 31 | 32 | 42 | 43 | ) 44 | } 45 | } 46 | 47 | export default App -------------------------------------------------------------------------------- /android/app/src/main/java/com/v2ex_demo/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.v2ex_demo; 2 | 3 | import android.app.Application; 4 | import android.util.Log; 5 | 6 | import com.facebook.react.ReactApplication; 7 | import com.oblador.vectoricons.VectorIconsPackage; 8 | import com.facebook.react.ReactInstanceManager; 9 | import com.facebook.react.ReactNativeHost; 10 | import com.facebook.react.ReactPackage; 11 | import com.facebook.react.shell.MainReactPackage; 12 | import com.facebook.soloader.SoLoader; 13 | 14 | import java.util.Arrays; 15 | import java.util.List; 16 | 17 | public class MainApplication extends Application implements ReactApplication { 18 | 19 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 20 | @Override 21 | public boolean getUseDeveloperSupport() { 22 | return BuildConfig.DEBUG; 23 | } 24 | 25 | @Override 26 | protected List getPackages() { 27 | return Arrays.asList( 28 | new MainReactPackage(), 29 | new VectorIconsPackage() 30 | ); 31 | } 32 | }; 33 | 34 | @Override 35 | public ReactNativeHost getReactNativeHost() { 36 | return mReactNativeHost; 37 | } 38 | 39 | @Override 40 | public void onCreate() { 41 | super.onCreate(); 42 | SoLoader.init(this, /* native exopackage */ false); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /.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 | .*/Libraries/react-native/ReactNative.js 16 | 17 | [include] 18 | 19 | [libs] 20 | node_modules/react-native/Libraries/react-native/react-native-interface.js 21 | node_modules/react-native/flow 22 | flow/ 23 | 24 | [options] 25 | module.system=haste 26 | 27 | experimental.strict_type_args=true 28 | 29 | munge_underscores=true 30 | 31 | 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' 32 | 33 | suppress_type=$FlowIssue 34 | suppress_type=$FlowFixMe 35 | suppress_type=$FixMe 36 | 37 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-7]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 38 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-7]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 39 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 40 | 41 | unsafe.enable_getters_and_setters=true 42 | 43 | [version] 44 | ^0.37.0 45 | -------------------------------------------------------------------------------- /ios/v2ex_demo/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | 12 | #import 13 | #import 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSURL *jsCodeLocation; 20 | 21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"v2ex_demo" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | import re 2 | 3 | # To learn about Buck see [Docs](https://buckbuild.com/). 4 | # To run your application with Buck: 5 | # - install Buck 6 | # - `npm start` - to start the packager 7 | # - `cd android` 8 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 9 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 10 | # - `buck install -r android/app` - compile, install and run application 11 | # 12 | 13 | lib_deps = [] 14 | for jarfile in glob(['libs/*.jar']): 15 | name = 'jars__' + re.sub(r'^.*/([^/]+)\.jar$', r'\1', jarfile) 16 | lib_deps.append(':' + name) 17 | prebuilt_jar( 18 | name = name, 19 | binary_jar = jarfile, 20 | ) 21 | 22 | for aarfile in glob(['libs/*.aar']): 23 | name = 'aars__' + re.sub(r'^.*/([^/]+)\.aar$', r'\1', aarfile) 24 | lib_deps.append(':' + name) 25 | android_prebuilt_aar( 26 | name = name, 27 | aar = aarfile, 28 | ) 29 | 30 | android_library( 31 | name = 'all-libs', 32 | exported_deps = lib_deps 33 | ) 34 | 35 | android_library( 36 | name = 'app-code', 37 | srcs = glob([ 38 | 'src/main/java/**/*.java', 39 | ]), 40 | deps = [ 41 | ':all-libs', 42 | ':build_config', 43 | ':res', 44 | ], 45 | ) 46 | 47 | android_build_config( 48 | name = 'build_config', 49 | package = 'com.v2ex_demo', 50 | ) 51 | 52 | android_resource( 53 | name = 'res', 54 | res = 'src/main/res', 55 | package = 'com.v2ex_demo', 56 | ) 57 | 58 | android_binary( 59 | name = 'app', 60 | package_type = 'debug', 61 | manifest = 'src/main/AndroidManifest.xml', 62 | keystore = '//android/keystores:debug', 63 | deps = [ 64 | ':app-code', 65 | ], 66 | ) 67 | -------------------------------------------------------------------------------- /ios/v2ex_demo-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 | -------------------------------------------------------------------------------- /ios/v2ex_demoTests/v2ex_demoTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | #import 12 | 13 | #import 14 | #import 15 | 16 | #define TIMEOUT_SECONDS 600 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface v2ex_demoTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation v2ex_demoTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[[UIApplication sharedApplication] delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /ios/v2ex_demo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | v2ex_demo 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 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 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UIViewControllerBasedStatusBarAppearance 40 | 41 | NSLocationWhenInUseUsageDescription 42 | 43 | NSAppTransportSecurity 44 | 45 | NSExceptionDomains 46 | 47 | localhost 48 | 49 | NSExceptionAllowsInsecureHTTPLoads 50 | 51 | 52 | 53 | 54 | UIAppFonts 55 | 56 | Entypo.ttf 57 | EvilIcons.ttf 58 | FontAwesome.ttf 59 | Foundation.ttf 60 | Ionicons.ttf 61 | MaterialCommunityIcons.ttf 62 | MaterialIcons.ttf 63 | Octicons.ttf 64 | SimpleLineIcons.ttf 65 | Zocial.ttf 66 | 67 | 68 | -------------------------------------------------------------------------------- /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 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 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 Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /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 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # okhttp 54 | 55 | -keepattributes Signature 56 | -keepattributes *Annotation* 57 | -keep class okhttp3.** { *; } 58 | -keep interface okhttp3.** { *; } 59 | -dontwarn okhttp3.** 60 | 61 | # okio 62 | 63 | -keep class sun.misc.Unsafe { *; } 64 | -dontwarn java.nio.file.* 65 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 66 | -dontwarn okio.** 67 | -------------------------------------------------------------------------------- /app/components/WebViewContainer.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by haifeng on 17/1/20. 3 | */ 4 | import React, {Component} from 'react'; 5 | import { 6 | AppRegistry, 7 | StyleSheet, 8 | Text, 9 | View, 10 | Dimensions, 11 | Image, 12 | WebView, 13 | Platform, 14 | TouchableWithoutFeedback 15 | } from 'react-native'; 16 | 17 | import Util from '../common/utils'; 18 | 19 | let {height, width} = Dimensions.get('window'); 20 | 21 | const headerHeight = (Platform.OS === 'ios' ? 65 : 55) 22 | const headerPaddingTop = (Platform.OS === 'ios' ? 35 : 20) 23 | 24 | class WebViewContainer extends Component { 25 | constructor(props) { 26 | super(props); 27 | this.buttonBackAction = this.buttonBackAction.bind(this); 28 | this.state = { 29 | } 30 | } 31 | 32 | buttonBackAction() { 33 | const {navigator} = this.props; 34 | return Util.NaviGoBack(navigator); 35 | } 36 | 37 | render() { 38 | const {route} = this.props; 39 | return ( 40 | 41 | 42 | 43 | { 44 | this.buttonBackAction() 45 | }}> 46 | 47 | 48 | 49 | 50 | 技术 51 | 52 | 53 | 54 | 55 | 59 | 60 | 61 | ); 62 | } 63 | } 64 | const styles = StyleSheet.create({ 65 | listHeader: { 66 | width: width, 67 | height: headerHeight, 68 | paddingTop: headerPaddingTop, 69 | paddingLeft: 10, 70 | paddingRight: 10, 71 | backgroundColor: '#ffffff', 72 | flexDirection: 'row', 73 | position:'relative', 74 | borderBottomWidth:.5, 75 | borderColor:'#dddddd' 76 | }, 77 | titleContainer: { 78 | flex: 1, 79 | alignItems: 'center' 80 | }, 81 | tabTitle: { 82 | fontSize: 18 83 | }, 84 | backButtonContainer: { 85 | width: 20, 86 | height:20, 87 | padding: 2 88 | }, 89 | backButton: { 90 | width: 14, 91 | height: 14 92 | }, 93 | 94 | }); 95 | 96 | export default WebViewContainer -------------------------------------------------------------------------------- /ios/v2ex_demo/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 | -------------------------------------------------------------------------------- /app/view/Menu.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by haifeng on 16/12/29. 3 | */ 4 | import React, {Component} from 'react'; 5 | import { 6 | Dimensions, 7 | StyleSheet, 8 | ScrollView, 9 | InteractionManager, 10 | View, 11 | Image, 12 | Text, 13 | TouchableWithoutFeedback 14 | } from 'react-native'; 15 | 16 | import Icon from 'react-native-vector-icons/Ionicons'; 17 | import FontAwesome from 'react-native-vector-icons/FontAwesome' 18 | 19 | var {height,width} = Dimensions.get('window'); 20 | 21 | class Menu extends Component { 22 | constructor(props) { 23 | super(props); 24 | this.state = { 25 | onItemSelected: React.PropTypes.func.isRequired, 26 | } 27 | } 28 | 29 | render() { 30 | return ( 31 | 32 | 33 | 34 | 35 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | this.props.onItemSelected('Latest')} 46 | style={styles.leftItemText}> 47 | 最新 48 | 49 | 50 | 51 | 52 | this.props.onItemSelected('Class')} 54 | style={styles.leftItemText}> 55 | 分类 56 | 57 | 58 | 59 | 60 | this.props.onItemSelected('Poing')} 62 | style={styles.leftItemText}> 63 | 节点 64 | 65 | 66 | 67 | 68 | this.props.onItemSelected('Star')} 70 | style={styles.leftItemText}> 71 | 收藏 72 | 73 | 74 | 75 | 76 | this.props.onItemSelected('Bell')} 78 | style={styles.leftItemText}> 79 | 提醒 80 | 81 | 82 | 83 | 84 | this.props.onItemSelected('User')} 86 | style={styles.leftItemText}> 87 | 个人 88 | 89 | 90 | 91 | 92 | 93 | ) 94 | } 95 | } 96 | const styles = StyleSheet.create({ 97 | menu: { 98 | height:height, 99 | width:width, 100 | flex:1, 101 | backgroundColor: '#fafafa', 102 | position:'relative', 103 | zIndex:300 104 | }, 105 | leftSliderHeader:{ 106 | paddingTop:30, 107 | paddingBottom:20, 108 | paddingLeft:30, 109 | borderBottomWidth:.5, 110 | borderColor:'#dddddd' 111 | }, 112 | avatarContainer: { 113 | padding:10, 114 | width:68, 115 | borderWidth:1, 116 | borderColor:'#757575', 117 | borderRadius:5, 118 | }, 119 | avatar: { 120 | width: 48, 121 | height: 48 122 | }, 123 | leftSliderMain: { 124 | padding:10 125 | }, 126 | leftSliderItem: { 127 | height:60, 128 | paddingLeft:20, 129 | flexDirection:'row', 130 | alignItems:'center' 131 | }, 132 | name: { 133 | position: 'absolute', 134 | left: 70, 135 | top: 20, 136 | }, 137 | leftItemText: { 138 | fontSize: 16, 139 | marginLeft:30, 140 | color:'#727272', 141 | fontWeight: 'bold', 142 | paddingBottom:3, 143 | flex:1 144 | }, 145 | }); 146 | export default Menu -------------------------------------------------------------------------------- /ios/v2ex_demo.xcodeproj/xcshareddata/xcschemes/v2ex_demo.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 | -------------------------------------------------------------------------------- /ios/v2ex_demo.xcodeproj/xcshareddata/xcschemes/v2ex_demo-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 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 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 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /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 | * // the root of your project, i.e. where "package.json" lives 37 | * root: "../../", 38 | * 39 | * // where to put the JS bundle asset in debug mode 40 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 41 | * 42 | * // where to put the JS bundle asset in release mode 43 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 44 | * 45 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 46 | * // require('./image.png')), in debug mode 47 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 48 | * 49 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 50 | * // require('./image.png')), in release mode 51 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 52 | * 53 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 54 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 55 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 56 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 57 | * // for example, you might want to remove it from here. 58 | * inputExcludes: ["android/**", "ios/**"], 59 | * 60 | * // override which node gets called and with what additional arguments 61 | * nodeExecutableAndArgs: ["node"] 62 | * 63 | * // supply additional arguments to the packager 64 | * extraPackagerArgs: [] 65 | * ] 66 | */ 67 | 68 | apply from: "../../node_modules/react-native/react.gradle" 69 | 70 | /** 71 | * Set this to true to create two separate APKs instead of one: 72 | * - An APK that only works on ARM devices 73 | * - An APK that only works on x86 devices 74 | * The advantage is the size of the APK is reduced by about 4MB. 75 | * Upload all the APKs to the Play Store and people will download 76 | * the correct one based on the CPU architecture of their device. 77 | */ 78 | def enableSeparateBuildPerCPUArchitecture = false 79 | 80 | /** 81 | * Run Proguard to shrink the Java bytecode in release builds. 82 | */ 83 | def enableProguardInReleaseBuilds = false 84 | 85 | android { 86 | compileSdkVersion 25 87 | buildToolsVersion "25.0.2" 88 | 89 | defaultConfig { 90 | applicationId "com.v2ex_demo" 91 | minSdkVersion 16 92 | targetSdkVersion 22 93 | versionCode 1 94 | versionName "1.0" 95 | ndk { 96 | abiFilters "armeabi-v7a", "x86" 97 | } 98 | } 99 | splits { 100 | abi { 101 | reset() 102 | enable enableSeparateBuildPerCPUArchitecture 103 | universalApk false // If true, also generate a universal APK 104 | include "armeabi-v7a", "x86" 105 | } 106 | } 107 | buildTypes { 108 | release { 109 | minifyEnabled enableProguardInReleaseBuilds 110 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 111 | } 112 | } 113 | // applicationVariants are e.g. debug, release 114 | applicationVariants.all { variant -> 115 | variant.outputs.each { output -> 116 | // For each separate APK per architecture, set a unique version code as described here: 117 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 118 | def versionCodes = ["armeabi-v7a":1, "x86":2] 119 | def abi = output.getFilter(OutputFile.ABI) 120 | if (abi != null) { // null for the universal-debug, universal-release variants 121 | output.versionCodeOverride = 122 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 123 | } 124 | } 125 | } 126 | } 127 | 128 | dependencies { 129 | compile project(':react-native-vector-icons') 130 | compile fileTree(dir: "libs", include: ["*.jar"]) 131 | compile "com.android.support:appcompat-v7:23.0.1" 132 | compile "com.facebook.react:react-native:+" // From node_modules 133 | } 134 | 135 | // Run this once to be able to run the application with BUCK 136 | // puts all compile dependencies into folder libs for BUCK to use 137 | task copyDownloadableDepsToLibs(type: Copy) { 138 | from configurations.compile 139 | into 'libs' 140 | } 141 | -------------------------------------------------------------------------------- /app/view/AppMain.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by haifeng on 16/12/29. 3 | */ 4 | import React, { Component } from 'react'; 5 | import { 6 | AppRegistry, 7 | StyleSheet, 8 | Text, 9 | View, 10 | Dimensions, 11 | Image, 12 | TouchableOpacity, 13 | TouchableWithoutFeedback, 14 | InteractionManager, 15 | DrawerLayoutAndroid, 16 | Platform, 17 | Animated 18 | } from 'react-native'; 19 | 20 | import InfoListView from './InfoListView'; 21 | import { connect } from 'react-redux'; 22 | import { fetchList } from '../action/fetchListAction'; 23 | import SideMenu from 'react-native-side-menu' 24 | import Menu from '../view/Menu'; 25 | 26 | const headerHeight = (Platform.OS === 'ios' ? 65 : 55) 27 | const headerPaddingTop = (Platform.OS === 'ios' ? 35 : 20) 28 | 29 | 30 | var { height, width } = Dimensions.get('window'); 31 | 32 | 33 | class AppMain extends Component { 34 | constructor(props) { 35 | super(props); 36 | this.onMenuItemSelected = this.onMenuItemSelected.bind(this); 37 | this.changeRightSlider = this.changeRightSlider.bind(this); 38 | this.state = { 39 | isOpen: false, 40 | maskShow: false, 41 | rightIsOpen: false, 42 | selectedItem: 'Latest', 43 | fadeAnim: new Animated.Value(0) 44 | } 45 | } 46 | 47 | componentWillMount() { 48 | const { dispatch } = this.props; 49 | dispatch(fetchList('最新')); 50 | } 51 | 52 | toggleLeft() { 53 | if (this.state.isOpen == false) { 54 | this.setState({ 55 | maskShow: true, 56 | }); 57 | 58 | } else { 59 | setTimeout(() => { 60 | this.setState({ 61 | maskShow: false, 62 | }); 63 | }, 500) 64 | } 65 | 66 | this.setState({ 67 | isOpen: !this.state.isOpen, 68 | }); 69 | 70 | 71 | } 72 | toggleRight() { 73 | this.setState({ 74 | rightIsOpen: !this.state.rightIsOpen, 75 | }); 76 | } 77 | 78 | updateMenuState(isOpen) { 79 | this.setState({ isOpen }); 80 | if (isOpen == 1) { 81 | Animated.timing( 82 | this.state.fadeAnim, { 83 | toValue: .6, 84 | duration: 500 85 | }, 86 | ).start(); 87 | } else { 88 | Animated.timing( 89 | this.state.fadeAnim, { 90 | toValue: 0, 91 | duration: 500 92 | }, 93 | ).start(); 94 | } 95 | } 96 | changeRightSlider = () => { 97 | this.setState({ 98 | rightIsOpen: false 99 | }); 100 | }; 101 | toggleLeftAndroid = () => { 102 | this.refs['DRAWER'].openDrawer() 103 | } 104 | 105 | onMenuItemSelected = (item) => { 106 | const { dispatch } = this.props; 107 | this.setState({ 108 | isOpen: false, 109 | selectedItem: item, 110 | }); 111 | if (item == this.state.selectedItem) { 112 | return 113 | } else { 114 | dispatch(fetchList('最新')); 115 | } 116 | }; 117 | 118 | 119 | 120 | render() { 121 | const { ListInfo } = this.props; 122 | const menu = ; 123 | return ( 124 | 125 | {Platform.OS === 'ios' ? 126 | this.updateMenuState(isOpen)}> 132 | {this.state.maskShow ? 133 | this.toggleLeft()}> 134 | 143 | 144 | : 145 | } 146 | 147 | this.toggleLeft()}> 148 | 149 | 150 | 151 | {ListInfo.channel} 152 | 153 | this.toggleRight()}> 154 | 155 | 156 | 157 | 158 | 159 | : 160 | menu}> 165 | 166 | this.toggleLeftAndroid()}> 167 | 168 | 169 | 170 | {ListInfo.channel} 171 | 172 | this.toggleRight()}> 173 | 174 | 175 | 176 | 177 | 178 | } 179 | 180 | ) 181 | } 182 | } 183 | 184 | const styles = StyleSheet.create({ 185 | listHeader: { 186 | width: width, 187 | height: headerHeight, 188 | paddingTop: headerPaddingTop, 189 | paddingLeft: 10, 190 | paddingRight: 10, 191 | backgroundColor: '#ffffff', 192 | flexDirection: 'row', 193 | borderColor: '#dddddd', 194 | borderBottomWidth: .5 195 | }, 196 | titleContainer: { 197 | flex: 1, 198 | alignItems: 'center' 199 | }, 200 | slideButton: { 201 | width: 20, 202 | padding: 2 203 | }, 204 | waitingBlock: { 205 | width: width, 206 | height: height, 207 | alignItems: 'center', 208 | justifyContent: 'center', 209 | }, 210 | slideButtonImg: { 211 | width: 14, 212 | height: 14 213 | }, 214 | tabTitle: { 215 | fontSize: 18 216 | } 217 | }); 218 | 219 | export default connect((state) => { 220 | const { ListInfo } = state; 221 | return { 222 | ListInfo 223 | } 224 | })(AppMain); 225 | 226 | 227 | 228 | 229 | 230 | -------------------------------------------------------------------------------- /app/view/InfoListView.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by haifeng on 16/12/27. 3 | */ 4 | import React, {Component} from 'react'; 5 | import{ 6 | View, 7 | Text, 8 | TouchableWithoutFeedback, 9 | Image, 10 | Dimensions, 11 | ScrollView, 12 | RefreshControl, 13 | InteractionManager, 14 | StyleSheet, 15 | ListView, 16 | Animated 17 | } from 'react-native'; 18 | import WebViewContainer from '../components/WebViewContainer'; 19 | 20 | import {fetchList} from '../action/fetchListAction'; 21 | 22 | 23 | var {height, width} = Dimensions.get('window'); 24 | 25 | 26 | class InfoListView extends Component { 27 | 28 | constructor(props) { 29 | super(props); 30 | const {rightIsOpen} = this.props; 31 | this.onPressItem = this.onPressItem.bind(this); 32 | this.renderItem = this.renderItem.bind(this); 33 | this.onScrollDown = this.onScrollDown.bind(this); 34 | this.fetchInfoTransition = this.fetchInfoTransition.bind(this); 35 | this.state = { 36 | dataSource: new ListView.DataSource({ 37 | rowHasChanged: (row1, row2) => row1 !== row2, 38 | }), 39 | selectedItem: 'Collection', 40 | digAnim: new Animated.Value(0), 41 | rightIsOpen: rightIsOpen, 42 | changeOpen: React.PropTypes.func.isRequired, 43 | listViewHide:true 44 | } 45 | } 46 | 47 | componentWillMount() { 48 | 49 | } 50 | 51 | componentDidMount() { 52 | 53 | } 54 | 55 | componentWillUpdate(nextProps, nextState){ 56 | if(nextProps.rightIsOpen == 1){ 57 | Animated.timing( 58 | this.state.digAnim, { 59 | toValue: 130, 60 | duration: 200 61 | }, 62 | ).start(); 63 | }else{ 64 | Animated.timing( 65 | this.state.digAnim, { 66 | toValue: 0, 67 | duration: 200 68 | }, 69 | ).start(); 70 | } 71 | } 72 | 73 | 74 | onPressItem(listContent) { 75 | const {navigator} = this.props; 76 | InteractionManager.runAfterInteractions(() => { 77 | navigator.push({ 78 | component: WebViewContainer, 79 | name: 'WebViewContainer', 80 | listContent 81 | }); 82 | }); 83 | } 84 | 85 | onScrollDown(channel) { 86 | const {dispatch} = this.props; 87 | dispatch(fetchList(channel)) 88 | } 89 | 90 | fetchInfoTransition(channel) { 91 | const {dispatch} = this.props; 92 | this.props.changeOpen(); 93 | Animated.timing( 94 | this.state.digAnim, { 95 | toValue: 0, 96 | duration: 200 97 | }, 98 | ).start(); 99 | setTimeout(()=>{ 100 | dispatch(fetchList(channel)) 101 | },300) 102 | } 103 | 104 | 105 | renderContent(dataSource) { 106 | return ( 107 | 115 | ); 116 | } 117 | 118 | renderItem(listContent) { 119 | let postTime = Math.floor((Date.parse(new Date()) / 1000 - listContent.last_modified) / 60); 120 | return ( 121 | 122 | { 123 | this.onPressItem(listContent) 124 | }}> 125 | 126 | 127 | {listContent.title} 128 | 129 | 131 | 132 | 133 | 134 | {postTime}分钟前 135 | 136 | {listContent.member.username} 137 | {listContent.node.title} 138 | 139 | 140 | 141 | 142 | 143 | ); 144 | } 145 | 146 | 147 | 148 | render() { 149 | const {ListInfo} = this.props; 150 | return ( 151 | 152 | this.onScrollDown(ListInfo.channel) } 158 | title="正在加载中……" 159 | color="#ccc"/> 160 | }> 161 | 162 | 163 | {this.state.rightIsOpen? 164 | 165 | this.props.changeOpen()}> 166 | 167 | 168 | 169 | : 170 | } 171 | 177 | {this.renderContent(this.state.dataSource.cloneWithRows(ListInfo.data))} 178 | 179 | {ListInfo.isLoading ? : 180 | 181 | { this.fetchInfoTransition('最新') }}> 182 | 183 | 最新 186 | 187 | 188 | { this.fetchInfoTransition('最热')}}> 189 | 190 | 最热 193 | 194 | 195 | 196 | } 197 | 198 | 199 | 200 | ); 201 | } 202 | } 203 | const styles = StyleSheet.create({ 204 | container: { 205 | flex: 1, 206 | backgroundColor: '#ffffff' 207 | }, 208 | listContainer: { 209 | flex: 1, 210 | }, 211 | listItemContainer: { 212 | paddingTop: 13, 213 | padding: 10, 214 | backgroundColor: '#ffffff', 215 | borderColor: '#dddddd', 216 | borderBottomWidth: .5 217 | }, 218 | listItemHeader: { 219 | flexDirection: 'row' 220 | }, 221 | listItemBottom: { 222 | marginTop: 8, 223 | flexDirection: 'row' 224 | }, 225 | listItemBottomRight: { 226 | flex: 1, 227 | flexDirection: 'row', 228 | justifyContent: 'flex-end' 229 | }, 230 | contentTitle: { 231 | flex: 1, 232 | fontSize: 16 233 | }, 234 | avatarContainer: { 235 | width: 60, 236 | alignItems: 'flex-end' 237 | }, 238 | postTime: { 239 | color: '#9f9f9f', 240 | fontSize: 12 241 | }, 242 | userAvatar: { 243 | width: 30, 244 | height: 30, 245 | borderRadius: 5 246 | }, 247 | userName: { 248 | color: '#75787c', 249 | fontSize: 12, 250 | marginRight: 8 251 | }, 252 | contentClass: { 253 | color: '#75787c', 254 | backgroundColor: '#f9f9f9', 255 | fontSize: 13 256 | }, 257 | rightSliderContainer: { 258 | width: 130, 259 | height: height, 260 | position: 'absolute', 261 | right: 0, 262 | backgroundColor: '#fafafa', 263 | borderLeftWidth:1, 264 | borderColor:'#efefef', 265 | paddingTop:10, 266 | paddingLeft:18, 267 | flexWrap:'wrap' 268 | }, 269 | rightSliderOptionsContainer:{ 270 | height:36, 271 | justifyContent:'center' 272 | }, 273 | rightSliderOptions:{ 274 | color:'#8d8d8d', 275 | fontSize:18 276 | }, 277 | rightSliderOptionsOn:{ 278 | color:'#55b8ec', 279 | fontSize:18 280 | }, 281 | rightSliderBlock: { 282 | position:'absolute', 283 | width:width-130, 284 | height:height, 285 | zIndex:110 286 | } 287 | }); 288 | 289 | export default InfoListView; 290 | -------------------------------------------------------------------------------- /ios/v2ex_demo.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 /* v2ex_demoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* v2ex_demoTests.m */; }; 16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 23 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 25 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 26 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 27 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 28 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */; }; 29 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */; }; 30 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */; }; 31 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */; }; 32 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 33 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 34 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 35 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 36 | 2DCD954D1E0B4F2C00145EB5 /* v2ex_demoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* v2ex_demoTests.m */; }; 37 | 51E670037617462F95ADE116 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 78061750E25F4FB2B08898AD /* SimpleLineIcons.ttf */; }; 38 | 55A53124A2024A7185EB605C /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 33E74F00BBB44FC0A5883E37 /* MaterialIcons.ttf */; }; 39 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 40 | 6603B178A15045D680DFC6E0 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B9DF9698E6724B7ABD3F558F /* Ionicons.ttf */; }; 41 | 7EF3D6B31E5D6F9B00448AE6 /* libART.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7EF3D6981E5D6F8000448AE6 /* libART.a */; }; 42 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 43 | 8FB60BE4F7DD4B6DBCC32200 /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 51B8932319D5401094E55A8F /* Zocial.ttf */; }; 44 | 9A00BEC4781B438AB6F7A63B /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C81FB78B355F4C06BEB45F0E /* FontAwesome.ttf */; }; 45 | 9A0F88E0ADAA46C88AC60E6B /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DDAE2C0BA4304A7AAFE62328 /* libRNVectorIcons.a */; }; 46 | B2E65877A76F4C27B2BBD2D5 /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = BF2B5DAD83664B0AAD495F6F /* EvilIcons.ttf */; }; 47 | C5B23123A55B4DB49F600507 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EAA315BBF7164E05B131B0E3 /* MaterialCommunityIcons.ttf */; }; 48 | E964B740A8994B6E935C0E08 /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 2EDD402DFE7F461EB547B51D /* Foundation.ttf */; }; 49 | F9C111577B4C4BB1AAD9AD0D /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = AB87A9FA15844FB58C2512D9 /* Entypo.ttf */; }; 50 | FE732A9E0C3849F3BEC879B2 /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = C720AD7B995A401D927F4D1D /* Octicons.ttf */; }; 51 | /* End PBXBuildFile section */ 52 | 53 | /* Begin PBXContainerItemProxy section */ 54 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 55 | isa = PBXContainerItemProxy; 56 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 57 | proxyType = 2; 58 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 59 | remoteInfo = RCTActionSheet; 60 | }; 61 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 62 | isa = PBXContainerItemProxy; 63 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 64 | proxyType = 2; 65 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 66 | remoteInfo = RCTGeolocation; 67 | }; 68 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 69 | isa = PBXContainerItemProxy; 70 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 71 | proxyType = 2; 72 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 73 | remoteInfo = RCTImage; 74 | }; 75 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 76 | isa = PBXContainerItemProxy; 77 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 78 | proxyType = 2; 79 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 80 | remoteInfo = RCTNetwork; 81 | }; 82 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 83 | isa = PBXContainerItemProxy; 84 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 85 | proxyType = 2; 86 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 87 | remoteInfo = RCTVibration; 88 | }; 89 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 90 | isa = PBXContainerItemProxy; 91 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 92 | proxyType = 1; 93 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 94 | remoteInfo = v2ex_demo; 95 | }; 96 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 97 | isa = PBXContainerItemProxy; 98 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 99 | proxyType = 2; 100 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 101 | remoteInfo = RCTSettings; 102 | }; 103 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 104 | isa = PBXContainerItemProxy; 105 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 106 | proxyType = 2; 107 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 108 | remoteInfo = RCTWebSocket; 109 | }; 110 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 111 | isa = PBXContainerItemProxy; 112 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 113 | proxyType = 2; 114 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 115 | remoteInfo = React; 116 | }; 117 | 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { 118 | isa = PBXContainerItemProxy; 119 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 120 | proxyType = 1; 121 | remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; 122 | remoteInfo = "v2ex_demo-tvOS"; 123 | }; 124 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 125 | isa = PBXContainerItemProxy; 126 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 127 | proxyType = 2; 128 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 129 | remoteInfo = "RCTImage-tvOS"; 130 | }; 131 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 132 | isa = PBXContainerItemProxy; 133 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 134 | proxyType = 2; 135 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 136 | remoteInfo = "RCTLinking-tvOS"; 137 | }; 138 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 139 | isa = PBXContainerItemProxy; 140 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 141 | proxyType = 2; 142 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 143 | remoteInfo = "RCTNetwork-tvOS"; 144 | }; 145 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 146 | isa = PBXContainerItemProxy; 147 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 148 | proxyType = 2; 149 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 150 | remoteInfo = "RCTSettings-tvOS"; 151 | }; 152 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 153 | isa = PBXContainerItemProxy; 154 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 155 | proxyType = 2; 156 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 157 | remoteInfo = "RCTText-tvOS"; 158 | }; 159 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 160 | isa = PBXContainerItemProxy; 161 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 162 | proxyType = 2; 163 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 164 | remoteInfo = "RCTWebSocket-tvOS"; 165 | }; 166 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 167 | isa = PBXContainerItemProxy; 168 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 169 | proxyType = 2; 170 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 171 | remoteInfo = "React-tvOS"; 172 | }; 173 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 174 | isa = PBXContainerItemProxy; 175 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 176 | proxyType = 2; 177 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 178 | remoteInfo = yoga; 179 | }; 180 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 181 | isa = PBXContainerItemProxy; 182 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 183 | proxyType = 2; 184 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 185 | remoteInfo = "yoga-tvOS"; 186 | }; 187 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 188 | isa = PBXContainerItemProxy; 189 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 190 | proxyType = 2; 191 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 192 | remoteInfo = cxxreact; 193 | }; 194 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 195 | isa = PBXContainerItemProxy; 196 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 197 | proxyType = 2; 198 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 199 | remoteInfo = "cxxreact-tvOS"; 200 | }; 201 | 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 202 | isa = PBXContainerItemProxy; 203 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 204 | proxyType = 2; 205 | remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; 206 | remoteInfo = jschelpers; 207 | }; 208 | 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 209 | isa = PBXContainerItemProxy; 210 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 211 | proxyType = 2; 212 | remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; 213 | remoteInfo = "jschelpers-tvOS"; 214 | }; 215 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 216 | isa = PBXContainerItemProxy; 217 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 218 | proxyType = 2; 219 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 220 | remoteInfo = RCTAnimation; 221 | }; 222 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 223 | isa = PBXContainerItemProxy; 224 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 225 | proxyType = 2; 226 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 227 | remoteInfo = "RCTAnimation-tvOS"; 228 | }; 229 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 230 | isa = PBXContainerItemProxy; 231 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 232 | proxyType = 2; 233 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 234 | remoteInfo = RCTLinking; 235 | }; 236 | 7EF3D6851E5D6E5600448AE6 /* PBXContainerItemProxy */ = { 237 | isa = PBXContainerItemProxy; 238 | containerPortal = 4CD4EFF433C94CF2A625AFD4 /* RNVectorIcons.xcodeproj */; 239 | proxyType = 2; 240 | remoteGlobalIDString = 5DBEB1501B18CEA900B34395; 241 | remoteInfo = RNVectorIcons; 242 | }; 243 | 7EF3D6971E5D6F8000448AE6 /* PBXContainerItemProxy */ = { 244 | isa = PBXContainerItemProxy; 245 | containerPortal = 7EF3D6931E5D6F7F00448AE6 /* ART.xcodeproj */; 246 | proxyType = 2; 247 | remoteGlobalIDString = 0CF68AC11AF0540F00FF9E5C; 248 | remoteInfo = ART; 249 | }; 250 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 251 | isa = PBXContainerItemProxy; 252 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 253 | proxyType = 2; 254 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 255 | remoteInfo = RCTText; 256 | }; 257 | /* End PBXContainerItemProxy section */ 258 | 259 | /* Begin PBXFileReference section */ 260 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 261 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 262 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 263 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 264 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 265 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 266 | 00E356EE1AD99517003FC87E /* v2ex_demoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = v2ex_demoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 267 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 268 | 00E356F21AD99517003FC87E /* v2ex_demoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = v2ex_demoTests.m; sourceTree = ""; }; 269 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 270 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 271 | 13B07F961A680F5B00A75B9A /* v2ex_demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = v2ex_demo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 272 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = v2ex_demo/AppDelegate.h; sourceTree = ""; }; 273 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = v2ex_demo/AppDelegate.m; sourceTree = ""; }; 274 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 275 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = v2ex_demo/Images.xcassets; sourceTree = ""; }; 276 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = v2ex_demo/Info.plist; sourceTree = ""; }; 277 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = v2ex_demo/main.m; sourceTree = ""; }; 278 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 279 | 2D02E47B1E0B4A5D006451C7 /* v2ex_demo-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "v2ex_demo-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 280 | 2D02E4901E0B4A5D006451C7 /* v2ex_demo-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "v2ex_demo-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 281 | 2EDD402DFE7F461EB547B51D /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; }; 282 | 33E74F00BBB44FC0A5883E37 /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; }; 283 | 4CD4EFF433C94CF2A625AFD4 /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNVectorIcons.xcodeproj; path = "../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = ""; }; 284 | 51B8932319D5401094E55A8F /* Zocial.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Zocial.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; }; 285 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 286 | 78061750E25F4FB2B08898AD /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; }; 287 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 288 | 7EF3D6931E5D6F7F00448AE6 /* ART.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ART.xcodeproj; path = "../node_modules/react-native/Libraries/ART/ART.xcodeproj"; sourceTree = ""; }; 289 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 290 | AB87A9FA15844FB58C2512D9 /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; }; 291 | B9DF9698E6724B7ABD3F558F /* Ionicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Ionicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; }; 292 | BF2B5DAD83664B0AAD495F6F /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; }; 293 | C720AD7B995A401D927F4D1D /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; }; 294 | C81FB78B355F4C06BEB45F0E /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; }; 295 | DDAE2C0BA4304A7AAFE62328 /* libRNVectorIcons.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNVectorIcons.a; sourceTree = ""; }; 296 | EAA315BBF7164E05B131B0E3 /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialCommunityIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; }; 297 | /* End PBXFileReference section */ 298 | 299 | /* Begin PBXFrameworksBuildPhase section */ 300 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 301 | isa = PBXFrameworksBuildPhase; 302 | buildActionMask = 2147483647; 303 | files = ( 304 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 305 | ); 306 | runOnlyForDeploymentPostprocessing = 0; 307 | }; 308 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 309 | isa = PBXFrameworksBuildPhase; 310 | buildActionMask = 2147483647; 311 | files = ( 312 | 7EF3D6B31E5D6F9B00448AE6 /* libART.a in Frameworks */, 313 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 314 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 315 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 316 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 317 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 318 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 319 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 320 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 321 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 322 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 323 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 324 | 9A0F88E0ADAA46C88AC60E6B /* libRNVectorIcons.a in Frameworks */, 325 | ); 326 | runOnlyForDeploymentPostprocessing = 0; 327 | }; 328 | 2D02E4781E0B4A5D006451C7 /* Frameworks */ = { 329 | isa = PBXFrameworksBuildPhase; 330 | buildActionMask = 2147483647; 331 | files = ( 332 | 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, 333 | 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */, 334 | 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 335 | 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, 336 | 2D02E4C51E0B4AEC006451C7 /* libRCTNetwork-tvOS.a in Frameworks */, 337 | 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */, 338 | 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */, 339 | 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */, 340 | ); 341 | runOnlyForDeploymentPostprocessing = 0; 342 | }; 343 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */ = { 344 | isa = PBXFrameworksBuildPhase; 345 | buildActionMask = 2147483647; 346 | files = ( 347 | ); 348 | runOnlyForDeploymentPostprocessing = 0; 349 | }; 350 | /* End PBXFrameworksBuildPhase section */ 351 | 352 | /* Begin PBXGroup section */ 353 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 354 | isa = PBXGroup; 355 | children = ( 356 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 357 | ); 358 | name = Products; 359 | sourceTree = ""; 360 | }; 361 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 362 | isa = PBXGroup; 363 | children = ( 364 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 365 | ); 366 | name = Products; 367 | sourceTree = ""; 368 | }; 369 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 370 | isa = PBXGroup; 371 | children = ( 372 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 373 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 374 | ); 375 | name = Products; 376 | sourceTree = ""; 377 | }; 378 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 379 | isa = PBXGroup; 380 | children = ( 381 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 382 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 383 | ); 384 | name = Products; 385 | sourceTree = ""; 386 | }; 387 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 388 | isa = PBXGroup; 389 | children = ( 390 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 391 | ); 392 | name = Products; 393 | sourceTree = ""; 394 | }; 395 | 00E356EF1AD99517003FC87E /* v2ex_demoTests */ = { 396 | isa = PBXGroup; 397 | children = ( 398 | 00E356F21AD99517003FC87E /* v2ex_demoTests.m */, 399 | 00E356F01AD99517003FC87E /* Supporting Files */, 400 | ); 401 | path = v2ex_demoTests; 402 | sourceTree = ""; 403 | }; 404 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 405 | isa = PBXGroup; 406 | children = ( 407 | 00E356F11AD99517003FC87E /* Info.plist */, 408 | ); 409 | name = "Supporting Files"; 410 | sourceTree = ""; 411 | }; 412 | 139105B71AF99BAD00B5F7CC /* Products */ = { 413 | isa = PBXGroup; 414 | children = ( 415 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 416 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 417 | ); 418 | name = Products; 419 | sourceTree = ""; 420 | }; 421 | 139FDEE71B06529A00C62182 /* Products */ = { 422 | isa = PBXGroup; 423 | children = ( 424 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 425 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 426 | ); 427 | name = Products; 428 | sourceTree = ""; 429 | }; 430 | 13B07FAE1A68108700A75B9A /* v2ex_demo */ = { 431 | isa = PBXGroup; 432 | children = ( 433 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 434 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 435 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 436 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 437 | 13B07FB61A68108700A75B9A /* Info.plist */, 438 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 439 | 13B07FB71A68108700A75B9A /* main.m */, 440 | ); 441 | name = v2ex_demo; 442 | sourceTree = ""; 443 | }; 444 | 146834001AC3E56700842450 /* Products */ = { 445 | isa = PBXGroup; 446 | children = ( 447 | 146834041AC3E56700842450 /* libReact.a */, 448 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 449 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 450 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 451 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 452 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 453 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, 454 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, 455 | ); 456 | name = Products; 457 | sourceTree = ""; 458 | }; 459 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 460 | isa = PBXGroup; 461 | children = ( 462 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 463 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */, 464 | ); 465 | name = Products; 466 | sourceTree = ""; 467 | }; 468 | 78C398B11ACF4ADC00677621 /* Products */ = { 469 | isa = PBXGroup; 470 | children = ( 471 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 472 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 473 | ); 474 | name = Products; 475 | sourceTree = ""; 476 | }; 477 | 7EF3D6691E5D6E5600448AE6 /* Products */ = { 478 | isa = PBXGroup; 479 | children = ( 480 | 7EF3D6861E5D6E5600448AE6 /* libRNVectorIcons.a */, 481 | ); 482 | name = Products; 483 | sourceTree = ""; 484 | }; 485 | 7EF3D6941E5D6F7F00448AE6 /* Products */ = { 486 | isa = PBXGroup; 487 | children = ( 488 | 7EF3D6981E5D6F8000448AE6 /* libART.a */, 489 | ); 490 | name = Products; 491 | sourceTree = ""; 492 | }; 493 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 494 | isa = PBXGroup; 495 | children = ( 496 | 7EF3D6931E5D6F7F00448AE6 /* ART.xcodeproj */, 497 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 498 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 499 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 500 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 501 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 502 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 503 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 504 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 505 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 506 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 507 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 508 | 4CD4EFF433C94CF2A625AFD4 /* RNVectorIcons.xcodeproj */, 509 | ); 510 | name = Libraries; 511 | sourceTree = ""; 512 | }; 513 | 832341B11AAA6A8300B99B32 /* Products */ = { 514 | isa = PBXGroup; 515 | children = ( 516 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 517 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 518 | ); 519 | name = Products; 520 | sourceTree = ""; 521 | }; 522 | 83CBB9F61A601CBA00E9B192 = { 523 | isa = PBXGroup; 524 | children = ( 525 | 13B07FAE1A68108700A75B9A /* v2ex_demo */, 526 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 527 | 00E356EF1AD99517003FC87E /* v2ex_demoTests */, 528 | 83CBBA001A601CBA00E9B192 /* Products */, 529 | ECCC9951ECC84BAF9D31BC33 /* Resources */, 530 | ); 531 | indentWidth = 2; 532 | sourceTree = ""; 533 | tabWidth = 2; 534 | }; 535 | 83CBBA001A601CBA00E9B192 /* Products */ = { 536 | isa = PBXGroup; 537 | children = ( 538 | 13B07F961A680F5B00A75B9A /* v2ex_demo.app */, 539 | 00E356EE1AD99517003FC87E /* v2ex_demoTests.xctest */, 540 | 2D02E47B1E0B4A5D006451C7 /* v2ex_demo-tvOS.app */, 541 | 2D02E4901E0B4A5D006451C7 /* v2ex_demo-tvOSTests.xctest */, 542 | ); 543 | name = Products; 544 | sourceTree = ""; 545 | }; 546 | ECCC9951ECC84BAF9D31BC33 /* Resources */ = { 547 | isa = PBXGroup; 548 | children = ( 549 | AB87A9FA15844FB58C2512D9 /* Entypo.ttf */, 550 | BF2B5DAD83664B0AAD495F6F /* EvilIcons.ttf */, 551 | C81FB78B355F4C06BEB45F0E /* FontAwesome.ttf */, 552 | 2EDD402DFE7F461EB547B51D /* Foundation.ttf */, 553 | B9DF9698E6724B7ABD3F558F /* Ionicons.ttf */, 554 | EAA315BBF7164E05B131B0E3 /* MaterialCommunityIcons.ttf */, 555 | 33E74F00BBB44FC0A5883E37 /* MaterialIcons.ttf */, 556 | C720AD7B995A401D927F4D1D /* Octicons.ttf */, 557 | 78061750E25F4FB2B08898AD /* SimpleLineIcons.ttf */, 558 | 51B8932319D5401094E55A8F /* Zocial.ttf */, 559 | ); 560 | name = Resources; 561 | sourceTree = ""; 562 | }; 563 | /* End PBXGroup section */ 564 | 565 | /* Begin PBXNativeTarget section */ 566 | 00E356ED1AD99517003FC87E /* v2ex_demoTests */ = { 567 | isa = PBXNativeTarget; 568 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "v2ex_demoTests" */; 569 | buildPhases = ( 570 | 00E356EA1AD99517003FC87E /* Sources */, 571 | 00E356EB1AD99517003FC87E /* Frameworks */, 572 | 00E356EC1AD99517003FC87E /* Resources */, 573 | ); 574 | buildRules = ( 575 | ); 576 | dependencies = ( 577 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 578 | ); 579 | name = v2ex_demoTests; 580 | productName = v2ex_demoTests; 581 | productReference = 00E356EE1AD99517003FC87E /* v2ex_demoTests.xctest */; 582 | productType = "com.apple.product-type.bundle.unit-test"; 583 | }; 584 | 13B07F861A680F5B00A75B9A /* v2ex_demo */ = { 585 | isa = PBXNativeTarget; 586 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "v2ex_demo" */; 587 | buildPhases = ( 588 | 13B07F871A680F5B00A75B9A /* Sources */, 589 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 590 | 13B07F8E1A680F5B00A75B9A /* Resources */, 591 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 592 | ); 593 | buildRules = ( 594 | ); 595 | dependencies = ( 596 | ); 597 | name = v2ex_demo; 598 | productName = "Hello World"; 599 | productReference = 13B07F961A680F5B00A75B9A /* v2ex_demo.app */; 600 | productType = "com.apple.product-type.application"; 601 | }; 602 | 2D02E47A1E0B4A5D006451C7 /* v2ex_demo-tvOS */ = { 603 | isa = PBXNativeTarget; 604 | buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "v2ex_demo-tvOS" */; 605 | buildPhases = ( 606 | 2D02E4771E0B4A5D006451C7 /* Sources */, 607 | 2D02E4781E0B4A5D006451C7 /* Frameworks */, 608 | 2D02E4791E0B4A5D006451C7 /* Resources */, 609 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */, 610 | ); 611 | buildRules = ( 612 | ); 613 | dependencies = ( 614 | ); 615 | name = "v2ex_demo-tvOS"; 616 | productName = "v2ex_demo-tvOS"; 617 | productReference = 2D02E47B1E0B4A5D006451C7 /* v2ex_demo-tvOS.app */; 618 | productType = "com.apple.product-type.application"; 619 | }; 620 | 2D02E48F1E0B4A5D006451C7 /* v2ex_demo-tvOSTests */ = { 621 | isa = PBXNativeTarget; 622 | buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "v2ex_demo-tvOSTests" */; 623 | buildPhases = ( 624 | 2D02E48C1E0B4A5D006451C7 /* Sources */, 625 | 2D02E48D1E0B4A5D006451C7 /* Frameworks */, 626 | 2D02E48E1E0B4A5D006451C7 /* Resources */, 627 | ); 628 | buildRules = ( 629 | ); 630 | dependencies = ( 631 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, 632 | ); 633 | name = "v2ex_demo-tvOSTests"; 634 | productName = "v2ex_demo-tvOSTests"; 635 | productReference = 2D02E4901E0B4A5D006451C7 /* v2ex_demo-tvOSTests.xctest */; 636 | productType = "com.apple.product-type.bundle.unit-test"; 637 | }; 638 | /* End PBXNativeTarget section */ 639 | 640 | /* Begin PBXProject section */ 641 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 642 | isa = PBXProject; 643 | attributes = { 644 | LastUpgradeCheck = 610; 645 | ORGANIZATIONNAME = Facebook; 646 | TargetAttributes = { 647 | 00E356ED1AD99517003FC87E = { 648 | CreatedOnToolsVersion = 6.2; 649 | DevelopmentTeam = 27Q95L2WKP; 650 | TestTargetID = 13B07F861A680F5B00A75B9A; 651 | }; 652 | 13B07F861A680F5B00A75B9A = { 653 | DevelopmentTeam = 27Q95L2WKP; 654 | }; 655 | 2D02E47A1E0B4A5D006451C7 = { 656 | CreatedOnToolsVersion = 8.2.1; 657 | ProvisioningStyle = Automatic; 658 | }; 659 | 2D02E48F1E0B4A5D006451C7 = { 660 | CreatedOnToolsVersion = 8.2.1; 661 | ProvisioningStyle = Automatic; 662 | TestTargetID = 2D02E47A1E0B4A5D006451C7; 663 | }; 664 | }; 665 | }; 666 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "v2ex_demo" */; 667 | compatibilityVersion = "Xcode 3.2"; 668 | developmentRegion = English; 669 | hasScannedForEncodings = 0; 670 | knownRegions = ( 671 | en, 672 | Base, 673 | ); 674 | mainGroup = 83CBB9F61A601CBA00E9B192; 675 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 676 | projectDirPath = ""; 677 | projectReferences = ( 678 | { 679 | ProductGroup = 7EF3D6941E5D6F7F00448AE6 /* Products */; 680 | ProjectRef = 7EF3D6931E5D6F7F00448AE6 /* ART.xcodeproj */; 681 | }, 682 | { 683 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 684 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 685 | }, 686 | { 687 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 688 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 689 | }, 690 | { 691 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 692 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 693 | }, 694 | { 695 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 696 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 697 | }, 698 | { 699 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 700 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 701 | }, 702 | { 703 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 704 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 705 | }, 706 | { 707 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 708 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 709 | }, 710 | { 711 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 712 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 713 | }, 714 | { 715 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 716 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 717 | }, 718 | { 719 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 720 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 721 | }, 722 | { 723 | ProductGroup = 146834001AC3E56700842450 /* Products */; 724 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 725 | }, 726 | { 727 | ProductGroup = 7EF3D6691E5D6E5600448AE6 /* Products */; 728 | ProjectRef = 4CD4EFF433C94CF2A625AFD4 /* RNVectorIcons.xcodeproj */; 729 | }, 730 | ); 731 | projectRoot = ""; 732 | targets = ( 733 | 13B07F861A680F5B00A75B9A /* v2ex_demo */, 734 | 00E356ED1AD99517003FC87E /* v2ex_demoTests */, 735 | 2D02E47A1E0B4A5D006451C7 /* v2ex_demo-tvOS */, 736 | 2D02E48F1E0B4A5D006451C7 /* v2ex_demo-tvOSTests */, 737 | ); 738 | }; 739 | /* End PBXProject section */ 740 | 741 | /* Begin PBXReferenceProxy section */ 742 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 743 | isa = PBXReferenceProxy; 744 | fileType = archive.ar; 745 | path = libRCTActionSheet.a; 746 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 747 | sourceTree = BUILT_PRODUCTS_DIR; 748 | }; 749 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 750 | isa = PBXReferenceProxy; 751 | fileType = archive.ar; 752 | path = libRCTGeolocation.a; 753 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 754 | sourceTree = BUILT_PRODUCTS_DIR; 755 | }; 756 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 757 | isa = PBXReferenceProxy; 758 | fileType = archive.ar; 759 | path = libRCTImage.a; 760 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 761 | sourceTree = BUILT_PRODUCTS_DIR; 762 | }; 763 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 764 | isa = PBXReferenceProxy; 765 | fileType = archive.ar; 766 | path = libRCTNetwork.a; 767 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 768 | sourceTree = BUILT_PRODUCTS_DIR; 769 | }; 770 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 771 | isa = PBXReferenceProxy; 772 | fileType = archive.ar; 773 | path = libRCTVibration.a; 774 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 775 | sourceTree = BUILT_PRODUCTS_DIR; 776 | }; 777 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 778 | isa = PBXReferenceProxy; 779 | fileType = archive.ar; 780 | path = libRCTSettings.a; 781 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 782 | sourceTree = BUILT_PRODUCTS_DIR; 783 | }; 784 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 785 | isa = PBXReferenceProxy; 786 | fileType = archive.ar; 787 | path = libRCTWebSocket.a; 788 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 789 | sourceTree = BUILT_PRODUCTS_DIR; 790 | }; 791 | 146834041AC3E56700842450 /* libReact.a */ = { 792 | isa = PBXReferenceProxy; 793 | fileType = archive.ar; 794 | path = libReact.a; 795 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 796 | sourceTree = BUILT_PRODUCTS_DIR; 797 | }; 798 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 799 | isa = PBXReferenceProxy; 800 | fileType = archive.ar; 801 | path = "libRCTImage-tvOS.a"; 802 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 803 | sourceTree = BUILT_PRODUCTS_DIR; 804 | }; 805 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 806 | isa = PBXReferenceProxy; 807 | fileType = archive.ar; 808 | path = "libRCTLinking-tvOS.a"; 809 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 810 | sourceTree = BUILT_PRODUCTS_DIR; 811 | }; 812 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 813 | isa = PBXReferenceProxy; 814 | fileType = archive.ar; 815 | path = "libRCTNetwork-tvOS.a"; 816 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 817 | sourceTree = BUILT_PRODUCTS_DIR; 818 | }; 819 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 820 | isa = PBXReferenceProxy; 821 | fileType = archive.ar; 822 | path = "libRCTSettings-tvOS.a"; 823 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 824 | sourceTree = BUILT_PRODUCTS_DIR; 825 | }; 826 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 827 | isa = PBXReferenceProxy; 828 | fileType = archive.ar; 829 | path = "libRCTText-tvOS.a"; 830 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 831 | sourceTree = BUILT_PRODUCTS_DIR; 832 | }; 833 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 834 | isa = PBXReferenceProxy; 835 | fileType = archive.ar; 836 | path = "libRCTWebSocket-tvOS.a"; 837 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 838 | sourceTree = BUILT_PRODUCTS_DIR; 839 | }; 840 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 841 | isa = PBXReferenceProxy; 842 | fileType = archive.ar; 843 | path = libReact.a; 844 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 845 | sourceTree = BUILT_PRODUCTS_DIR; 846 | }; 847 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 848 | isa = PBXReferenceProxy; 849 | fileType = archive.ar; 850 | path = libyoga.a; 851 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 852 | sourceTree = BUILT_PRODUCTS_DIR; 853 | }; 854 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 855 | isa = PBXReferenceProxy; 856 | fileType = archive.ar; 857 | path = libyoga.a; 858 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 859 | sourceTree = BUILT_PRODUCTS_DIR; 860 | }; 861 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 862 | isa = PBXReferenceProxy; 863 | fileType = archive.ar; 864 | path = libcxxreact.a; 865 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 866 | sourceTree = BUILT_PRODUCTS_DIR; 867 | }; 868 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 869 | isa = PBXReferenceProxy; 870 | fileType = archive.ar; 871 | path = libcxxreact.a; 872 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 873 | sourceTree = BUILT_PRODUCTS_DIR; 874 | }; 875 | 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = { 876 | isa = PBXReferenceProxy; 877 | fileType = archive.ar; 878 | path = libjschelpers.a; 879 | remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */; 880 | sourceTree = BUILT_PRODUCTS_DIR; 881 | }; 882 | 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = { 883 | isa = PBXReferenceProxy; 884 | fileType = archive.ar; 885 | path = libjschelpers.a; 886 | remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */; 887 | sourceTree = BUILT_PRODUCTS_DIR; 888 | }; 889 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 890 | isa = PBXReferenceProxy; 891 | fileType = archive.ar; 892 | path = libRCTAnimation.a; 893 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 894 | sourceTree = BUILT_PRODUCTS_DIR; 895 | }; 896 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */ = { 897 | isa = PBXReferenceProxy; 898 | fileType = archive.ar; 899 | path = "libRCTAnimation-tvOS.a"; 900 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 901 | sourceTree = BUILT_PRODUCTS_DIR; 902 | }; 903 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 904 | isa = PBXReferenceProxy; 905 | fileType = archive.ar; 906 | path = libRCTLinking.a; 907 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 908 | sourceTree = BUILT_PRODUCTS_DIR; 909 | }; 910 | 7EF3D6861E5D6E5600448AE6 /* libRNVectorIcons.a */ = { 911 | isa = PBXReferenceProxy; 912 | fileType = archive.ar; 913 | path = libRNVectorIcons.a; 914 | remoteRef = 7EF3D6851E5D6E5600448AE6 /* PBXContainerItemProxy */; 915 | sourceTree = BUILT_PRODUCTS_DIR; 916 | }; 917 | 7EF3D6981E5D6F8000448AE6 /* libART.a */ = { 918 | isa = PBXReferenceProxy; 919 | fileType = archive.ar; 920 | path = libART.a; 921 | remoteRef = 7EF3D6971E5D6F8000448AE6 /* PBXContainerItemProxy */; 922 | sourceTree = BUILT_PRODUCTS_DIR; 923 | }; 924 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 925 | isa = PBXReferenceProxy; 926 | fileType = archive.ar; 927 | path = libRCTText.a; 928 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 929 | sourceTree = BUILT_PRODUCTS_DIR; 930 | }; 931 | /* End PBXReferenceProxy section */ 932 | 933 | /* Begin PBXResourcesBuildPhase section */ 934 | 00E356EC1AD99517003FC87E /* Resources */ = { 935 | isa = PBXResourcesBuildPhase; 936 | buildActionMask = 2147483647; 937 | files = ( 938 | ); 939 | runOnlyForDeploymentPostprocessing = 0; 940 | }; 941 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 942 | isa = PBXResourcesBuildPhase; 943 | buildActionMask = 2147483647; 944 | files = ( 945 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 946 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 947 | F9C111577B4C4BB1AAD9AD0D /* Entypo.ttf in Resources */, 948 | B2E65877A76F4C27B2BBD2D5 /* EvilIcons.ttf in Resources */, 949 | 9A00BEC4781B438AB6F7A63B /* FontAwesome.ttf in Resources */, 950 | E964B740A8994B6E935C0E08 /* Foundation.ttf in Resources */, 951 | 6603B178A15045D680DFC6E0 /* Ionicons.ttf in Resources */, 952 | C5B23123A55B4DB49F600507 /* MaterialCommunityIcons.ttf in Resources */, 953 | 55A53124A2024A7185EB605C /* MaterialIcons.ttf in Resources */, 954 | FE732A9E0C3849F3BEC879B2 /* Octicons.ttf in Resources */, 955 | 51E670037617462F95ADE116 /* SimpleLineIcons.ttf in Resources */, 956 | 8FB60BE4F7DD4B6DBCC32200 /* Zocial.ttf in Resources */, 957 | ); 958 | runOnlyForDeploymentPostprocessing = 0; 959 | }; 960 | 2D02E4791E0B4A5D006451C7 /* Resources */ = { 961 | isa = PBXResourcesBuildPhase; 962 | buildActionMask = 2147483647; 963 | files = ( 964 | 2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */, 965 | ); 966 | runOnlyForDeploymentPostprocessing = 0; 967 | }; 968 | 2D02E48E1E0B4A5D006451C7 /* Resources */ = { 969 | isa = PBXResourcesBuildPhase; 970 | buildActionMask = 2147483647; 971 | files = ( 972 | ); 973 | runOnlyForDeploymentPostprocessing = 0; 974 | }; 975 | /* End PBXResourcesBuildPhase section */ 976 | 977 | /* Begin PBXShellScriptBuildPhase section */ 978 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 979 | isa = PBXShellScriptBuildPhase; 980 | buildActionMask = 2147483647; 981 | files = ( 982 | ); 983 | inputPaths = ( 984 | ); 985 | name = "Bundle React Native code and images"; 986 | outputPaths = ( 987 | ); 988 | runOnlyForDeploymentPostprocessing = 0; 989 | shellPath = /bin/sh; 990 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 991 | }; 992 | 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { 993 | isa = PBXShellScriptBuildPhase; 994 | buildActionMask = 2147483647; 995 | files = ( 996 | ); 997 | inputPaths = ( 998 | ); 999 | name = "Bundle React Native Code And Images"; 1000 | outputPaths = ( 1001 | ); 1002 | runOnlyForDeploymentPostprocessing = 0; 1003 | shellPath = /bin/sh; 1004 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 1005 | }; 1006 | /* End PBXShellScriptBuildPhase section */ 1007 | 1008 | /* Begin PBXSourcesBuildPhase section */ 1009 | 00E356EA1AD99517003FC87E /* Sources */ = { 1010 | isa = PBXSourcesBuildPhase; 1011 | buildActionMask = 2147483647; 1012 | files = ( 1013 | 00E356F31AD99517003FC87E /* v2ex_demoTests.m in Sources */, 1014 | ); 1015 | runOnlyForDeploymentPostprocessing = 0; 1016 | }; 1017 | 13B07F871A680F5B00A75B9A /* Sources */ = { 1018 | isa = PBXSourcesBuildPhase; 1019 | buildActionMask = 2147483647; 1020 | files = ( 1021 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 1022 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 1023 | ); 1024 | runOnlyForDeploymentPostprocessing = 0; 1025 | }; 1026 | 2D02E4771E0B4A5D006451C7 /* Sources */ = { 1027 | isa = PBXSourcesBuildPhase; 1028 | buildActionMask = 2147483647; 1029 | files = ( 1030 | 2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */, 1031 | 2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */, 1032 | ); 1033 | runOnlyForDeploymentPostprocessing = 0; 1034 | }; 1035 | 2D02E48C1E0B4A5D006451C7 /* Sources */ = { 1036 | isa = PBXSourcesBuildPhase; 1037 | buildActionMask = 2147483647; 1038 | files = ( 1039 | 2DCD954D1E0B4F2C00145EB5 /* v2ex_demoTests.m in Sources */, 1040 | ); 1041 | runOnlyForDeploymentPostprocessing = 0; 1042 | }; 1043 | /* End PBXSourcesBuildPhase section */ 1044 | 1045 | /* Begin PBXTargetDependency section */ 1046 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 1047 | isa = PBXTargetDependency; 1048 | target = 13B07F861A680F5B00A75B9A /* v2ex_demo */; 1049 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 1050 | }; 1051 | 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { 1052 | isa = PBXTargetDependency; 1053 | target = 2D02E47A1E0B4A5D006451C7 /* v2ex_demo-tvOS */; 1054 | targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; 1055 | }; 1056 | /* End PBXTargetDependency section */ 1057 | 1058 | /* Begin PBXVariantGroup section */ 1059 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1060 | isa = PBXVariantGroup; 1061 | children = ( 1062 | 13B07FB21A68108700A75B9A /* Base */, 1063 | ); 1064 | name = LaunchScreen.xib; 1065 | path = v2ex_demo; 1066 | sourceTree = ""; 1067 | }; 1068 | /* End PBXVariantGroup section */ 1069 | 1070 | /* Begin XCBuildConfiguration section */ 1071 | 00E356F61AD99517003FC87E /* Debug */ = { 1072 | isa = XCBuildConfiguration; 1073 | buildSettings = { 1074 | BUNDLE_LOADER = "$(TEST_HOST)"; 1075 | DEVELOPMENT_TEAM = 27Q95L2WKP; 1076 | GCC_PREPROCESSOR_DEFINITIONS = ( 1077 | "DEBUG=1", 1078 | "$(inherited)", 1079 | ); 1080 | INFOPLIST_FILE = v2ex_demoTests/Info.plist; 1081 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1082 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1083 | LIBRARY_SEARCH_PATHS = ( 1084 | "$(inherited)", 1085 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1086 | ); 1087 | OTHER_LDFLAGS = ( 1088 | "-ObjC", 1089 | "-lc++", 1090 | ); 1091 | PRODUCT_NAME = "$(TARGET_NAME)"; 1092 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/v2ex_demo.app/v2ex_demo"; 1093 | }; 1094 | name = Debug; 1095 | }; 1096 | 00E356F71AD99517003FC87E /* Release */ = { 1097 | isa = XCBuildConfiguration; 1098 | buildSettings = { 1099 | BUNDLE_LOADER = "$(TEST_HOST)"; 1100 | COPY_PHASE_STRIP = NO; 1101 | DEVELOPMENT_TEAM = 27Q95L2WKP; 1102 | INFOPLIST_FILE = v2ex_demoTests/Info.plist; 1103 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1104 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1105 | LIBRARY_SEARCH_PATHS = ( 1106 | "$(inherited)", 1107 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1108 | ); 1109 | OTHER_LDFLAGS = ( 1110 | "-ObjC", 1111 | "-lc++", 1112 | ); 1113 | PRODUCT_NAME = "$(TARGET_NAME)"; 1114 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/v2ex_demo.app/v2ex_demo"; 1115 | }; 1116 | name = Release; 1117 | }; 1118 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1119 | isa = XCBuildConfiguration; 1120 | buildSettings = { 1121 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1122 | CURRENT_PROJECT_VERSION = 1; 1123 | DEAD_CODE_STRIPPING = NO; 1124 | DEVELOPMENT_TEAM = 27Q95L2WKP; 1125 | INFOPLIST_FILE = v2ex_demo/Info.plist; 1126 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1127 | OTHER_LDFLAGS = ( 1128 | "$(inherited)", 1129 | "-ObjC", 1130 | "-lc++", 1131 | ); 1132 | PRODUCT_NAME = v2ex_demo; 1133 | VERSIONING_SYSTEM = "apple-generic"; 1134 | }; 1135 | name = Debug; 1136 | }; 1137 | 13B07F951A680F5B00A75B9A /* Release */ = { 1138 | isa = XCBuildConfiguration; 1139 | buildSettings = { 1140 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1141 | CURRENT_PROJECT_VERSION = 1; 1142 | DEVELOPMENT_TEAM = 27Q95L2WKP; 1143 | INFOPLIST_FILE = v2ex_demo/Info.plist; 1144 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1145 | OTHER_LDFLAGS = ( 1146 | "$(inherited)", 1147 | "-ObjC", 1148 | "-lc++", 1149 | ); 1150 | PRODUCT_NAME = v2ex_demo; 1151 | VERSIONING_SYSTEM = "apple-generic"; 1152 | }; 1153 | name = Release; 1154 | }; 1155 | 2D02E4971E0B4A5E006451C7 /* Debug */ = { 1156 | isa = XCBuildConfiguration; 1157 | buildSettings = { 1158 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1159 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1160 | CLANG_ANALYZER_NONNULL = YES; 1161 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1162 | CLANG_WARN_INFINITE_RECURSION = YES; 1163 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1164 | DEBUG_INFORMATION_FORMAT = dwarf; 1165 | ENABLE_TESTABILITY = YES; 1166 | GCC_NO_COMMON_BLOCKS = YES; 1167 | INFOPLIST_FILE = "v2ex_demo-tvOS/Info.plist"; 1168 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1169 | LIBRARY_SEARCH_PATHS = ( 1170 | "$(inherited)", 1171 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1172 | ); 1173 | OTHER_LDFLAGS = ( 1174 | "-ObjC", 1175 | "-lc++", 1176 | ); 1177 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.v2ex_demo-tvOS"; 1178 | PRODUCT_NAME = "$(TARGET_NAME)"; 1179 | SDKROOT = appletvos; 1180 | TARGETED_DEVICE_FAMILY = 3; 1181 | TVOS_DEPLOYMENT_TARGET = 9.2; 1182 | }; 1183 | name = Debug; 1184 | }; 1185 | 2D02E4981E0B4A5E006451C7 /* Release */ = { 1186 | isa = XCBuildConfiguration; 1187 | buildSettings = { 1188 | ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image"; 1189 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1190 | CLANG_ANALYZER_NONNULL = YES; 1191 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1192 | CLANG_WARN_INFINITE_RECURSION = YES; 1193 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1194 | COPY_PHASE_STRIP = NO; 1195 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1196 | GCC_NO_COMMON_BLOCKS = YES; 1197 | INFOPLIST_FILE = "v2ex_demo-tvOS/Info.plist"; 1198 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1199 | LIBRARY_SEARCH_PATHS = ( 1200 | "$(inherited)", 1201 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1202 | ); 1203 | OTHER_LDFLAGS = ( 1204 | "-ObjC", 1205 | "-lc++", 1206 | ); 1207 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.v2ex_demo-tvOS"; 1208 | PRODUCT_NAME = "$(TARGET_NAME)"; 1209 | SDKROOT = appletvos; 1210 | TARGETED_DEVICE_FAMILY = 3; 1211 | TVOS_DEPLOYMENT_TARGET = 9.2; 1212 | }; 1213 | name = Release; 1214 | }; 1215 | 2D02E4991E0B4A5E006451C7 /* Debug */ = { 1216 | isa = XCBuildConfiguration; 1217 | buildSettings = { 1218 | BUNDLE_LOADER = "$(TEST_HOST)"; 1219 | CLANG_ANALYZER_NONNULL = YES; 1220 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1221 | CLANG_WARN_INFINITE_RECURSION = YES; 1222 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1223 | DEBUG_INFORMATION_FORMAT = dwarf; 1224 | ENABLE_TESTABILITY = YES; 1225 | GCC_NO_COMMON_BLOCKS = YES; 1226 | INFOPLIST_FILE = "v2ex_demo-tvOSTests/Info.plist"; 1227 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1228 | LIBRARY_SEARCH_PATHS = ( 1229 | "$(inherited)", 1230 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1231 | ); 1232 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.v2ex_demo-tvOSTests"; 1233 | PRODUCT_NAME = "$(TARGET_NAME)"; 1234 | SDKROOT = appletvos; 1235 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/v2ex_demo-tvOS.app/v2ex_demo-tvOS"; 1236 | TVOS_DEPLOYMENT_TARGET = 10.1; 1237 | }; 1238 | name = Debug; 1239 | }; 1240 | 2D02E49A1E0B4A5E006451C7 /* Release */ = { 1241 | isa = XCBuildConfiguration; 1242 | buildSettings = { 1243 | BUNDLE_LOADER = "$(TEST_HOST)"; 1244 | CLANG_ANALYZER_NONNULL = YES; 1245 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1246 | CLANG_WARN_INFINITE_RECURSION = YES; 1247 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1248 | COPY_PHASE_STRIP = NO; 1249 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1250 | GCC_NO_COMMON_BLOCKS = YES; 1251 | INFOPLIST_FILE = "v2ex_demo-tvOSTests/Info.plist"; 1252 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1253 | LIBRARY_SEARCH_PATHS = ( 1254 | "$(inherited)", 1255 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 1256 | ); 1257 | PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.v2ex_demo-tvOSTests"; 1258 | PRODUCT_NAME = "$(TARGET_NAME)"; 1259 | SDKROOT = appletvos; 1260 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/v2ex_demo-tvOS.app/v2ex_demo-tvOS"; 1261 | TVOS_DEPLOYMENT_TARGET = 10.1; 1262 | }; 1263 | name = Release; 1264 | }; 1265 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1266 | isa = XCBuildConfiguration; 1267 | buildSettings = { 1268 | ALWAYS_SEARCH_USER_PATHS = NO; 1269 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1270 | CLANG_CXX_LIBRARY = "libc++"; 1271 | CLANG_ENABLE_MODULES = YES; 1272 | CLANG_ENABLE_OBJC_ARC = YES; 1273 | CLANG_WARN_BOOL_CONVERSION = YES; 1274 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1275 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1276 | CLANG_WARN_EMPTY_BODY = YES; 1277 | CLANG_WARN_ENUM_CONVERSION = YES; 1278 | CLANG_WARN_INT_CONVERSION = YES; 1279 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1280 | CLANG_WARN_UNREACHABLE_CODE = YES; 1281 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1282 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1283 | COPY_PHASE_STRIP = NO; 1284 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1285 | GCC_C_LANGUAGE_STANDARD = gnu99; 1286 | GCC_DYNAMIC_NO_PIC = NO; 1287 | GCC_OPTIMIZATION_LEVEL = 0; 1288 | GCC_PREPROCESSOR_DEFINITIONS = ( 1289 | "DEBUG=1", 1290 | "$(inherited)", 1291 | ); 1292 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1293 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1294 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1295 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1296 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1297 | GCC_WARN_UNUSED_FUNCTION = YES; 1298 | GCC_WARN_UNUSED_VARIABLE = YES; 1299 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1300 | MTL_ENABLE_DEBUG_INFO = YES; 1301 | ONLY_ACTIVE_ARCH = YES; 1302 | SDKROOT = iphoneos; 1303 | }; 1304 | name = Debug; 1305 | }; 1306 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1307 | isa = XCBuildConfiguration; 1308 | buildSettings = { 1309 | ALWAYS_SEARCH_USER_PATHS = NO; 1310 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1311 | CLANG_CXX_LIBRARY = "libc++"; 1312 | CLANG_ENABLE_MODULES = YES; 1313 | CLANG_ENABLE_OBJC_ARC = YES; 1314 | CLANG_WARN_BOOL_CONVERSION = YES; 1315 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1316 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1317 | CLANG_WARN_EMPTY_BODY = YES; 1318 | CLANG_WARN_ENUM_CONVERSION = YES; 1319 | CLANG_WARN_INT_CONVERSION = YES; 1320 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1321 | CLANG_WARN_UNREACHABLE_CODE = YES; 1322 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1323 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1324 | COPY_PHASE_STRIP = YES; 1325 | ENABLE_NS_ASSERTIONS = NO; 1326 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1327 | GCC_C_LANGUAGE_STANDARD = gnu99; 1328 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1329 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1330 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1331 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1332 | GCC_WARN_UNUSED_FUNCTION = YES; 1333 | GCC_WARN_UNUSED_VARIABLE = YES; 1334 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 1335 | MTL_ENABLE_DEBUG_INFO = NO; 1336 | SDKROOT = iphoneos; 1337 | VALIDATE_PRODUCT = YES; 1338 | }; 1339 | name = Release; 1340 | }; 1341 | /* End XCBuildConfiguration section */ 1342 | 1343 | /* Begin XCConfigurationList section */ 1344 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "v2ex_demoTests" */ = { 1345 | isa = XCConfigurationList; 1346 | buildConfigurations = ( 1347 | 00E356F61AD99517003FC87E /* Debug */, 1348 | 00E356F71AD99517003FC87E /* Release */, 1349 | ); 1350 | defaultConfigurationIsVisible = 0; 1351 | defaultConfigurationName = Release; 1352 | }; 1353 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "v2ex_demo" */ = { 1354 | isa = XCConfigurationList; 1355 | buildConfigurations = ( 1356 | 13B07F941A680F5B00A75B9A /* Debug */, 1357 | 13B07F951A680F5B00A75B9A /* Release */, 1358 | ); 1359 | defaultConfigurationIsVisible = 0; 1360 | defaultConfigurationName = Release; 1361 | }; 1362 | 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "v2ex_demo-tvOS" */ = { 1363 | isa = XCConfigurationList; 1364 | buildConfigurations = ( 1365 | 2D02E4971E0B4A5E006451C7 /* Debug */, 1366 | 2D02E4981E0B4A5E006451C7 /* Release */, 1367 | ); 1368 | defaultConfigurationIsVisible = 0; 1369 | defaultConfigurationName = Release; 1370 | }; 1371 | 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "v2ex_demo-tvOSTests" */ = { 1372 | isa = XCConfigurationList; 1373 | buildConfigurations = ( 1374 | 2D02E4991E0B4A5E006451C7 /* Debug */, 1375 | 2D02E49A1E0B4A5E006451C7 /* Release */, 1376 | ); 1377 | defaultConfigurationIsVisible = 0; 1378 | defaultConfigurationName = Release; 1379 | }; 1380 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "v2ex_demo" */ = { 1381 | isa = XCConfigurationList; 1382 | buildConfigurations = ( 1383 | 83CBBA201A601CBA00E9B192 /* Debug */, 1384 | 83CBBA211A601CBA00E9B192 /* Release */, 1385 | ); 1386 | defaultConfigurationIsVisible = 0; 1387 | defaultConfigurationName = Release; 1388 | }; 1389 | /* End XCConfigurationList section */ 1390 | }; 1391 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1392 | } 1393 | --------------------------------------------------------------------------------