
OS/IOS
文章平均质量分 80
fanbird2008
这个作者很懒,什么都没留下…
展开
-
IOS Dev Intro - FBO
https://developer.apple.com/library/ios/documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/WorkingwithEAGLContexts/WorkingwithEAGLContexts.htmlDrawing to Other Rendering Destinations转载 2016-06-25 21:44:03 · 532 阅读 · 0 评论 -
IOS Dev Intro - Resize image in ios programatically
http://www.abdus.me/ios-programming-tips/resize-image-in-ios/Make sure toInclude QuartzCore.FrameWork in projectImport in implementation fileResize Image in iOSview转载 2016-06-26 11:03:57 · 793 阅读 · 0 评论 -
IOS Dev Intro - Opengl ES Context Share Group
https://developer.apple.com/library/ios/documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/WorkingwithOpenGLESContexts/WorkingwithOpenGLESContexts.htmlConfiguring OpenGL ES Conte转载 2016-06-25 21:40:42 · 1394 阅读 · 0 评论 -
IOS Dev Intro - Subclass UIView to Render by Opengl ES
http://nehe.gamedev.net/tutorial/ios_lesson_01__setting_up_gl_es/44001/Hi all to the first tutorial in our new iOS series!PrefaceBefore you start with the tutorial you should know,转载 2016-06-26 12:06:46 · 696 阅读 · 0 评论 -
IOS Dev Intro - CADisplay of Core Animation
http://blog.youkuaiyun.com/wzzvictory/article/details/22417181Core Animation系列之CADisplayLink作者:wangzz原文地址:http://blog.youkuaiyun.com/wzzvictory/article/details/22417181转载请注明出处如果觉得文章对转载 2016-06-26 17:09:19 · 417 阅读 · 0 评论 -
IOS Dev Intro - Create UImage from Sample Buffer Data
// Create a UIImage from sample buffer data- (UIImage *) imageFromSampleBuffer:(CMSampleBufferRef) sampleBuffer{ // Get a CMSampleBuffer's Core Video image buffer for the media data CVI转载 2016-06-26 18:14:43 · 595 阅读 · 0 评论 -
IOS Dev Intro - Mac Commands
An A-Z Index of the Apple OS X command line alias Create an alias • alloc List used and free memory apropos Search the whatis database for strings asr Apple Software Restore转载 2016-06-06 08:44:37 · 512 阅读 · 0 评论 -
IOS Dev Intro - Mac Usual Commands
$ diskutil list/dev/disk0#: TYPE NAME SIZE IDENTIFIER0: GUID_partition_scheme *121.3 GB disk01: EFI 209.7 MB disk0s12: Apple_HFS Macintosh HD 120.5 GB disk0s23: Apple_Boot Recovery HD 650.转载 2016-06-06 08:46:12 · 247 阅读 · 0 评论 -
IOS Dev Intro - Objective-C Instancetype and id
Objective-C中的instancetype和id关键字作者:wangzz原文地址:http://blog.youkuaiyun.com/wzzvictory/article/details/16994913转载请注明出处如果觉得文章对你有所帮助,请通过留言或关注微信公众帐号wangzzstrive来支持我,谢谢!一、什么是instancety转载 2016-06-06 09:10:17 · 319 阅读 · 0 评论 -
IOS Dev Intro - Blocks Programming Series 01
https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/Blocks/Articles/bxGettingStarted.html#//apple_ref/doc/uid/TP40007502-CH7-SW1The following sections help you to get st转载 2016-06-12 10:20:52 · 391 阅读 · 0 评论 -
IOS Dev Intro - Blocks Programming Series 02
https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/Blocks/Articles/bxVariables.html#//apple_ref/doc/uid/TP40007502-CH6-SW1Blocks and VariablesThis article describes t转载 2016-06-12 10:21:10 · 282 阅读 · 0 评论 -
IOS Dev Intro - Blocks Programming Series 03
https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/Blocks/Articles/bxDeclaringCreating.html#//apple_ref/doc/uid/TP40007502-CH4-SW1Declaring and Creating BlocksDeclari转载 2016-06-12 10:21:30 · 498 阅读 · 0 评论 -
IOS Dev Intro - Blocks Programming Series 04
https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/Blocks/Articles/bxVariables.html#//apple_ref/doc/uid/TP40007502-CH6-SW1Blocks and VariablesThis article describes t转载 2016-06-12 10:21:53 · 462 阅读 · 0 评论 -
IOS Dev Intro - Blocks Programming Series 05
https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/Blocks/Articles/bxUsing.html#//apple_ref/doc/uid/TP40007502-CH5-SW1Using BlocksInvoking a BlockIf you declare a blo转载 2016-06-12 10:22:14 · 339 阅读 · 0 评论 -
IOS Dev Intro - Blocks Programming Series 06
http://blog.youkuaiyun.com/enuola/article/details/8674063Block简介:Block的实际行为和Function很像,最大的差别是在可以存取同一个Scope的变量值。Block实体形式如下:^(传入参数列){行为主体};Block实体开头是“^”,接着是由小括号所包起来的参数列(比如 int a, int b, i转载 2016-06-12 10:22:34 · 267 阅读 · 0 评论 -
IOS Dev Intro - Key-Value Observing
https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/KeyValueObserving/KeyValueObserving.htmlIntroduction to Key-Value Observing Programming GuideKey-value observing is转载 2016-06-12 10:23:00 · 325 阅读 · 0 评论 -
IOS Dev Intro - Notification Series 01
http://www.cnblogs.com/xunziji/p/3257447.htmlIOS 消息机制(NSNotificationCenter)消息机制 NSNotificationCenter 一直都在频繁使用,但是却对其原理不是十分了解。今天就花些时间,把消息机制原理重头到尾好好过一遍。iOS 提供了一种 "同步的" 消息通知机制,观察者只转载 2016-06-12 10:23:18 · 281 阅读 · 0 评论 -
IOS Dev Intro - Notification Series 02
http://www.jianshu.com/p/209ef870e131iOS Notification Center字数2691 阅读7195 评论0 喜欢12Notification(通知)是iOS系统下重要的消息传递机制之一,通知封装了诸如窗口获得焦点、网络连接关闭等事件信息,通知的内容可按照我们实际的需求来定制。在实际开发中或多或少都会接触到,转载 2016-06-12 10:23:36 · 271 阅读 · 0 评论 -
IOS Dev Intro - Protocols and Delegate
Excerpt from Beginning IOS Programming by Nick Harrisprotocols and DelegatesModel-View-Controller is a great high-level programming pattern, but to use it in a programming language, you转载 2016-06-08 09:18:18 · 291 阅读 · 0 评论 -
IOS Dev Intro - Opengl ES Series 01
https://www.raywenderlich.com/3664/opengl-tutorial-for-ios-opengl-es-2-0OpenGL Tutorial for iOS: OpenGL ES 2.0 Ray Wenderlich on May 25, 2011If you're n转载 2016-06-12 14:18:18 · 897 阅读 · 0 评论 -
IOS Dev Intro - Opengl ES Series 02
https://www.raywenderlich.com/4404/opengl-es-2-0-for-iphone-tutorial-part-2-texturesOpenGL ES 2.0 for iPhone Tutorial Part 2: Textures Ray Wenderlich on July 19, 2011转载 2016-06-12 14:20:31 · 568 阅读 · 0 评论 -
IOS Dev Intro - scutil command usage
1. change computer namesudo scutil --set ComputerName windy.ios2. change hostnamesudo scutil --set HostName windy.ios3. change LocalHostNamescutil --set LocalHostName "Ma原创 2016-06-12 17:55:02 · 517 阅读 · 0 评论 -
IOS Dev Intro - Object-C Call C C++
1. Object-C Call C++1.1. 建立一个C++类1.2. 写一个Adaptor的Objective-C类1.3. 在其他Objective-C的逻辑中调用Adaptor类。 1.1.C++类//// CPlusPlusClass.h// OBJ_C++//// Created by Txtw on 13转载 2016-06-13 14:59:11 · 512 阅读 · 0 评论 -
IOS Dev Intro - Avoiding Common Networking Mistakes
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/CommonPitfalls/CommonPitfalls.htmlAvoiding Common Networking MistakesWhen wr转载 2016-06-13 15:41:58 · 467 阅读 · 0 评论 -
IOS Dev Intro - Core Media
http://asciiwwdc.com/2014/sessions/513Direct Access to Video Encoding and DecodingSession 513WWDC 2014Discover how to use AV Foundation and Video Toolbox to access hardware acce转载 2016-06-13 17:25:11 · 757 阅读 · 0 评论 -
IOS Dev Intro - Message Category and Protocol
http://www.cnblogs.com/chijianqiang/archive/2012/06/22/objc-category-protocol.html面向对象永远是个可以吐槽的话题,从开始提出到推崇备至,到充满质疑,一路走来让人唏嘘不已。面向对象的思想可谓历史悠久,20世纪70年代的Smalltalk可以说是面向对象语言的经典,直到今天我们依然将这门语言视为面转载 2016-06-14 08:58:46 · 287 阅读 · 0 评论 -
IOS Dev Intro - Delegation Notification and Observation
https://blog.shinetech.com/2011/06/14/delegation-notification-and-observation/When to use Delegation, Notification, or Observation in iOSPosted on June 14, 2011 by Chaise Hocki转载 2016-06-12 10:23:59 · 287 阅读 · 0 评论 -
IOS Dev Intro - ARC Memory Leak
ARC 下内存泄露的那些点在网上搜了一下,发现这篇文章是第一篇、也是唯一 一篇总结 ARC 内存泄露的博客,哈哈好兴奋。在 iOS 4.2 时,苹果推出了 ARC 的内存管理机制。这是一种编译期的内存管理方式,在编译时,编译器会判断 Cocoa 对象的使用状况,并适当的加上 retain 和 release,使得对象的内存被合理的管理。所以,ARC 和 MRC 在本质上转载 2016-07-12 09:24:50 · 442 阅读 · 0 评论 -
IOS Dev Intro - Message Transfer Mechanism
《Effective Objective-C Notes》系列博文整理自《Effective Objective-C 2.0》从事 iOS 开发的童鞋,多多少少会听到过“消息传递”这个词。在 Objective-C 中,方法的调用会被称为消息传递,那么它到底有什么特殊地方,以至于需要重新给它一个名字?最简单的动态Objective-C 是一门极其转载 2016-07-12 09:34:13 · 353 阅读 · 0 评论 -
IOS Dev Intro - UIControlEvent
在控件事件中,简单解释下下面几个事件。说明:由于是在“iOS 模拟器”中测试的,所以不能用手指,只能用鼠标。1)UIControlEventTouchDown指鼠标左键按下(注:只是“按下”)的动作2)UIControlEventTouchDownRepeat指鼠标左键连续多次重复按下(注:只是“按下”)的动作,比如,鼠标连续双击、三击、……、多次连击。说明:多次重复按下时转载 2016-06-14 14:08:43 · 250 阅读 · 0 评论 -
IOS Dev Intro - UIButton
这段代码动态的创建了一个UIButton,并且把相关常用的属性都列举了.希望对大家有用. //这里创建一个圆角矩形的按钮UIButton *button1 = [UIButton buttonWithType:UIButtonTypeRoundedRect];// 能够定义的button类型有以下6种,// typedef enum {// UIButtonTypeC转载 2016-06-14 14:18:34 · 224 阅读 · 0 评论 -
IOS Dev Intro - UILabel
这段代码动态的创建了一个UILabel,并且把相关常用的属性都列举了.希望对大家有用.- (void)viewDidLoad {//创建uilabelUILabel *label1 = [[UILabel alloc] initWithFrame:CGRectMake(20, 40, 280, 80)];//设置背景色labe转载 2016-06-14 14:22:40 · 225 阅读 · 0 评论 -
IOS Dev Intro - Coordination System
在写程序的时候发现,iOS下的坐标、位置很容易弄乱,特别是在不同的坐标系统中,必须完成弄明白一些概念才能做相应的变化,例如CoreImage和UIView的坐标系统就截然不同,一个是以屏幕的左上角为原点,一个是以屏幕的左下角为原点。总体上,IOS中包含UIKit坐标系(X轴正方向向右,Y轴正方向向下)和标准的Quartz 2D绘图坐标系(X轴正方向向右,Y轴正方向向上),下面,解释一些相关的概念:转载 2016-06-14 14:27:37 · 333 阅读 · 0 评论 -
IOS Dev Intro - NSOperation of Thread Series
http://blog.youkuaiyun.com/totogo2010/article/details/8013316前一篇 《iOS多线程编程之NSThread的使用》介绍三种多线程编程和NSThread的使用,这篇介绍NSOperation的使用。使用 NSOperation的方式有两种,一种是用定义好的两个子类:NSInvocationOp转载 2016-06-14 16:19:35 · 232 阅读 · 0 评论 -
IOS Dev Intro - Grand Central Dispatch of Thread Series
http://blog.youkuaiyun.com/totogo2010/article/details/8016129介绍:Grand Central Dispatch 简称(GCD)是苹果公司开发的技术,以优化的应用程序支持多核心处理器和其他的对称多处理系统的系统。这建立在任务并行执行的线程池模式的基础上的。它首次发布在Mac OS X 10.6 ,iOS 4及以上也可用转载 2016-06-14 16:23:19 · 326 阅读 · 0 评论 -
IOS Dev Intro - Memory Management
http://blog.youkuaiyun.com/weiwangchao_/article/details/73761891. 内总管理原则(引用计数) iOS的对象都继承于NSObject, 该对象有一个方法:retainCount ,内存引用计数。 引用计数在很多技术都用到: window下的COM组件,多线程的信号量,读写锁,思想都一样。转载 2016-07-12 10:04:06 · 288 阅读 · 0 评论 -
IOS Dev Intro - Instance Variable
The ivar that is used for a property (which is gotten and set by the automatically synthesized property accessor methods) is named _ (i.e. the ivar's name is the property's name prefixed with an und转载 2016-06-14 22:40:43 · 314 阅读 · 0 评论 -
IOS Dev Intro - NSDictionary
http://www.cnblogs.com/wengzilin/archive/2012/03/15/2397712.html做过Java语言 或者 C语言 开发的朋友应该很清楚 关键字map 吧,它可以将数据以键值对儿的形式储存起来,取值的时候通过KEY就可以直接拿到对应的值,非常方便。在Objective-C语言中 词典对象就是做这个事情的,不过在同一个词典对象中可以保存多个转载 2016-07-12 17:53:06 · 243 阅读 · 0 评论 -
IOS Dev Intro - Object C Forward Declaration
for example:@class AVEncoder;原创 2016-06-30 17:22:25 · 445 阅读 · 0 评论 -
IOS Dev Intro - NSArray
http://blog.youkuaiyun.com/totogo2010/article/details/7729377Objective-C的数组比C++,Java的数组强大在于,NSArray保存的对象可以是不同的对象。但只能保存对象,int ,char,double等基本数据类型不能直接保存,需要通过转换成对象才能加入数组。1、NSArray 不可变数组转载 2016-07-12 18:26:09 · 311 阅读 · 0 评论