摘要: ARC 基础(上) IOS5 中最具颠覆性的变化当属自动引用计数(Automatic Reference Counting)的引入,缩写为 ARC。ARC 是新的 LLVM 3.0 编译器具备的特性之一,这项技术完全摒弃了让所有 IOS 开发者由爱生恨的手动内存管理。在你的工程中使用 ARC非常简... 阅读全文
posted @ 2015-01-28 10:08 lee4519 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Cocoa框架是iOS应用程序的基础,了解Cocoa框架,对开发iOS应用有很大的帮助。1、Cocoa是什么?Cocoa是OS X和 iOS操作系统的程序的运行环境。是什么因素使一个程序成为Cocoa程序呢?不是编程语言,因为在Cocoa开发中你可以使用各种语言;也不是开发工具,你可以在命令行上就可... 阅读全文
posted @ 2015-01-27 12:30 lee4519 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 在iOS开发中,播放视频通常有两种方式,一种是使用MPMoviePlayerController(需要导入MediaPlayer.Framework),还有一种是使用AVPlayer。关于这两个类的区别可以参考http://stackoverflow.com/questions/8146942/av... 阅读全文
posted @ 2015-01-27 10:03 lee4519 阅读(568) 评论(0) 推荐(0) 编辑
摘要: 2015年01月26日1. MPMoviePlayerController 播放视频,不能播放解决方法:设置成全局变量就OK了 ,估计是跟内存有关2. iTunes connect 提交 app icon 无法载入文件,各种重新保存 还是不行,最终原因:文件名字带有中文字符 擦擦擦3. CFAbs... 阅读全文
posted @ 2015-01-26 22:06 lee4519 阅读(183) 评论(0) 推荐(0) 编辑
摘要: iOS 设计中 图片后期简单处理的完美组合四张图+.DS_Store (3张alpha通道“是”,1张没有alpha通道)5,909,971 字节(磁盘上的 5.9 MB),共 5 项第一步:转非alpha通道,工具Alpha-Channel-Removerhttps://github.com/... 阅读全文
posted @ 2015-01-22 10:41 lee4519 阅读(158) 评论(0) 推荐(0) 编辑
摘要: nil:A null pointer to an Objective-Cobject.( #define nil ((id)0) )nil表示一个Objective-C对象,这个对象的指针指向空Nil: A null pointer to an Objective-Cclass.首字母大写的Nil ... 阅读全文
posted @ 2015-01-13 18:42 lee4519 阅读(176) 评论(0) 推荐(0) 编辑
摘要: http://www.the-nerd.be/2014/08/06/add-unity3d-in-a-native-ios-application/The problemFor a project I need to implement an augmented reality feature in... 阅读全文
posted @ 2015-01-08 14:49 lee4519 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 下面大致介绍一下UIRefreshControl的使用1、使用范围如果你装了xcode_4.5_developer_preview,那么在UITableViewController.h文件中你会看到,UITableViewController里面有如下声明,说明UITableViewControll... 阅读全文
posted @ 2015-01-06 18:47 lee4519 阅读(386) 评论(0) 推荐(0) 编辑
摘要: info.plist文件中,View controller-based status bar appearance项设为YES,则View controller对status bar的设置优先级高于application的设置。为NO则以application的设置为准,view controlle... 阅读全文
posted @ 2014-12-31 10:41 lee4519 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 一、键盘风格 UIKit框架支持8种风格键盘。[java]view plaincopyprint?typedefenum{UIKeyboardTypeDefault,//默认键盘:支持所有字符UIKeyboardTypeASCIICapable,//支持ASCII的默认键盘UIKeyboardTyp... 阅读全文
posted @ 2014-12-25 18:49 lee4519 阅读(413) 评论(0) 推荐(0) 编辑