- 博客(8)
- 收藏
- 关注
原创 生成main.jsbundle命令
curl http://localhost:8081/index.ios.bundle -o main.jsbundle
2016-07-30 15:45:01 1050
原创 react-native ScrollView的简单应用
import React, { Component } from 'react';import { AppRegistry, StyleSheet, Text, View, ScrollView, Dimensions,} from 'react-native';import QuestionItem from './QuestionItem';var questionData = { title
2016-07-26 16:56:16 581
原创 react-native缓存数据
'use strict';import React, { Component } from 'react';import { AppRegistry, NavigatorIOS, StyleSheet, ListView, View, Text, TouchableHighlight, Alert,
2016-07-14 16:58:35 8199
原创 iOS判断某个类是否释放
Class object_getClass(id object); Class newClass = object_getClass(strongSelf); if(strongSelf != newClass){ return ;//已经释放
2016-07-12 16:02:35 1961
原创 iOS在原有项目中使用react
1. 在Podfile中添加:pod 'React', :path => './node_modules/react-native', :subspecs => [ 'Core', 'RCTImage', 'RCTNetwork', 'RCTText', 'RCTWebSocket', # Add any other subspecs you want to
2016-07-07 10:15:34 304
原创 react调用原生iOS方法
/*OC...................................//// ViewController.m// ReactNativeLearn//// Created by leicunjie on 16/7/6.// Copyright © 2016年 Facebook. All rights reserved.//
2016-07-06 19:08:54 1452
原创 React创建项目报错 Error: EACCES: permission denied, open '/Users/****/.babel.json'
fs.js:549 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^Error: EACCES: permission denied, open '/Users/leicunjie/.babel.json'
2016-07-05 11:40:39 5555 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人