自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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滑动卡片动画

代码地址:  https://github.com/leicunjie/CardAnimation

2016-07-12 13:15:02 2816

原创 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关注的人

提示
确定要删除当前文章?
取消 删除