自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

陈思浓 | Simon

小白的学习之路

  • 博客(11)
  • 收藏
  • 关注

原创 NSURLSession和NSURLConnection比较

分别用NSURLSession和NSURLConnection实现数据的请求以及NSURLSession和NSURLConnection中block参数的解释

2015-09-25 20:16:39 3322

原创 FLT_MAX 和 FLT_MIN的定义

学习iOS时,有文章用到了FLT_MAX和FLT_MIN。查阅资料后知道这是C++中的定义注意这个FLT_MIN定义的是最小的正浮点数定义是#define FLT_MIN 1.175494351e-38F FLT_MAX的定义则是#define FLT_MAX 3.402823466e+38F stack overflow上很多人

2015-09-23 10:51:09 37432

原创 initWithCoder, initWithNibName, viewDidLoad的区别

讨论initWithCoder:, initWithNibName:, 以及awakeFromNib、再加上常用的application:didFinishLaunchingWithOptions: , viewDidLoad的定义和调用顺序

2015-09-23 00:26:48 1479

转载 What is the difference between initWithCoder:, initWithNibName:, and awakeFromNib?

Answer Wiki initWithNibName:bundle: is a message sent to a view (or window) controller in order to create the controller; thus, before the nib is loaded. (Possibly long before. I

2015-09-22 07:31:42 652

翻译 基于Objective-C的面向对象编程入门

通过实现简单地model来介绍Objective-C下面向对象的基础

2015-09-22 00:02:19 589

原创 【leetcode】Search in Rotated Sorted Array

Search in Rotated Sorted ArraySuppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).You are given a target value

2015-09-16 09:17:11 351

原创 【leetcode】 two sum

Two Sum:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to

2015-09-15 09:46:08 331

原创 【leetcode】 Implement strStr()

问题:Implement strStr()Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.分析:效率最高的是KMP算法,但是不容易实现,所以先写了一个传统的字符串匹配算法。解决办法://解决办法1:传统

2015-09-14 09:46:22 418

原创 cocos:command not found 解决方法

【cocos2d-x】 cocos:command not found 解决方法

2015-09-07 21:28:13 3778

原创 尝试实现 atoi和atof函数

手动实现atoi以及atof的功能及思路

2015-09-06 19:49:19 724

原创 iOS 属性中strong,weak,assign,retain,copy等特性

iOS 内存管理 属性中strong,weak,assign,retain,copy特性的学习

2015-09-06 11:00:23 4008

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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