07 2014 档案
Objective-C中的属性机制
摘要:Objective-C 2.0中的属性机制为我们提供了便捷的获取和设置实例变量的方式,也可以说属性为我们提供了一个默认的设置器和访问器的实现。在学习OC中属性之前我们先要知道为什么要为变量实现getter和setter方法,我们先来了解一下实例的作用域。实例变量的作用域如下:1. @public ... 阅读全文
posted @ 2014-07-30 12:03 归海一刀
JSON数据格式(二)
摘要:JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。它基于JavaScript(Standard ECMA-262 3rd Edition - December 1999)的一个子集。 JSON采用完全独立于语言的文本格式,但是也使用了类似于C语言家族的习惯... 阅读全文
posted @ 2014-07-28 10:56 归海一刀 阅读(160) 评论(0) 推荐(0)
JSON 数据格式 (一) JSON 数据格式的介绍
摘要:JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。JSON采用完全独立于语言的文本格式,这些特性使JSON成为理想的数据交换语言。易于人阅读和编写,同时也易于机器解析和生成。基础结构JSON建构于两种结构:1. “名称/值”对的集合(A collecti... 阅读全文
posted @ 2014-07-28 10:52 归海一刀 阅读(258) 评论(0) 推荐(0)
UITabBar 代码分析(二)
摘要:分析UIBarItem UITabBarItemUIBarItem 是UITabBarItem的基类//UIBarItem.h//// UIBarItem.h// UIKit//// Copyright (c) 2008-2013, Apple Inc. All rights reserved.//... 阅读全文
posted @ 2014-07-24 22:46 归海一刀
UIGeometry.h 简介
摘要://// UIGeometry.h// UIKit//// Copyright (c) 2005-2013, Apple Inc. All rights reserved.//#import #import #import typedef struct UIEdgeInsets { //边缘锁进 ... 阅读全文
posted @ 2014-07-23 23:32 归海一刀
UIImage的使用的一些情况
摘要:转载自:http://www.cnblogs.com/smileEvday/archive/2013/05/14/UIImage.htmlIOS:聊一聊UIImage几点知识 有一段时间没有写博客了,中间隔了个五一假,算一下差不多20天,这段时间准备组内的一个分享,所以就耽搁了,今天准备写一些... 阅读全文
posted @ 2014-07-17 22:55 归海一刀
UIImageView 使用
摘要:// UIImageView 头文件// UIImageView.h// UIKit//// Copyright (c) 2006-2013, Apple Inc. All rights reserved.//#import #import #import @class UIImage;NS_CLA... 阅读全文
posted @ 2014-07-17 22:44 归海一刀
使用UIDatePicker
摘要:什么是UIDatePicker用官方文档的话来说,UIDatePicker就是使用多个滚轮来选择日期和时间的类。官方的示例有定时器,闹钟(设置时间)部件。正确设置后,UIDatePicker对象会在用户在滚动时间轮轴后向发送一个action消息;相应的control事件为UIControlEvent... 阅读全文
posted @ 2014-07-17 22:17 归海一刀
UIControl 介绍
摘要:UIControl 控件使用介绍//转自:http://www.cnblogs.com/jxyZ/archive/2013/04/20/3032060.htmlUIKit提供了一组控件:UISwitch开关、UIButton按钮、UISegmentedControl分段控件、UISlider滑块、U... 阅读全文
posted @ 2014-07-15 22:31 归海一刀
UIButton 使用说明
摘要:UIButton 使用说明。UIButton得父类UIControl1)创建UIButton *btn1 = [UIButton buttonWithType:UIButtonTypeRoundedRect]; 风格有如下typedef enum { UIButtonTypeCustom = ... 阅读全文
posted @ 2014-07-15 22:03 归海一刀
IOS开发之UI设计---视图入门(UIWindow,UILabel,UIView,UIColor,UIFont)
摘要://转载自:http://www.cnblogs.com/my_work_blog_space/p/3163374.htmlUIKit结构体系Bundle display name --—>修改应用名Target —>App Icons—>单击 —>Select File选择…-Info.plist... 阅读全文
posted @ 2014-07-14 23:33 归海一刀
c++ stl algorithm: std::find, std::find_if
摘要:from:http://blog.csdn.net/ilysony/article/details/6526545std::find: 查找容器元素, find只能查找容器元素为 [cpp] view plaincopy#include #include #include in... 阅读全文
posted @ 2014-07-01 10:39 归海一刀