码迷,mamicode.com
首页 >  
搜索关键字:av foundation    ( 2760个结果
程序的执行
1,从终端执行代码。-fobj 意思是编译OC语言。-arc 使用自动引用计数。-framework 链接到Foundation框架。-o 指定执行文件,文件会被创建。clang -fobjc-arc -framework Foundation main.m -o mappp别忘了加arc。编译的m...
分类:其他好文   时间:2014-08-14 23:11:06    阅读次数:154
C数据类型之基本类型
先来张C数据类型的图片,如下图基本数据类型的长度,数据存储是以"字节"(Byte)为单位,数据传输是以"位"(bit)为单位,一位就代表一个0或1(二进制),一个字节(Byte)占8位(bit).#import<Foundation/Foundation.h> intmain(intargc,constchar*argv[]) { @autoreleasepo..
分类:其他好文   时间:2014-08-14 17:09:59    阅读次数:204
学习iOS: 4
这里总结下lecture 4 & 5 部分的内容。lecture 4介绍了更多Objective-C的内容,包括了创建对象(alloc init & class method),给nil发送消息,id类型,动态绑定,内省等内容;下半部分介绍了Foundation框架的一些内容。lecture 5介....
分类:移动开发   时间:2014-08-14 01:25:07    阅读次数:243
jQuery源码
/*! * jQuery JavaScript Library v2.1.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, ...
分类:Web程序   时间:2014-08-13 03:28:15    阅读次数:658
OC之KVC的使用
KVC简介KVC(KeyValueCoding)也就是所谓的键/值编码,键/值编码中的基本调用是-ValueForKye:和-setValue:forKey:。例子:定义个Student类,Student.h头文件如下:#import<Foundation/Foundation.h> //学生类 @interfaceStudent:NSObject { NSString*name; intage; } @end..
分类:其他好文   时间:2014-08-12 10:31:34    阅读次数:233
a new Webcam Api Tutorial in C++ for Windows(Windows Media Foundation)--WMF
Foword from: http://www.dreamincode.net/forums/topic/347938-a-new-webcam-api-tutorial-in-c-for-windows/page__st__0%26 Well, A long time ago I introduced a Webcam Tutorial. It was for Video...
分类:编程语言   时间:2014-08-11 21:26:23    阅读次数:658
Android上使用camera拍照,把获取的照片上传到远程服务器
使用Java上传文件 从Apache Software Foundation下载HttpClient 4.3.4。 在工程中添加下面的jar包: 参考sample,写一个简单的上传: public?static?void?main(String[]?args)?throws?Exception?{ ????...
分类:移动开发   时间:2014-08-11 15:26:54    阅读次数:455
From Apprentice To Artisan 翻译 01
Dependency Injection 依赖注入 The Problem 遇到的问题 The foundation of the Laravel framework is its powerful IoC container. To truly understand the framework, a strong grasp of the container is nec...
分类:移动开发   时间:2014-08-11 15:25:43    阅读次数:387
【Foundation】NSData 数据对象
// 创建文件操作对象 fm NSFileManager *fm=[NSFileManager defaultManager]; //将文件内容读取到内存缓冲区 NSString *fPathName=@"/Users/hai...
分类:其他好文   时间:2014-08-07 12:43:09    阅读次数:165
【Foundation】NSFileManager文件操作.02
1.文件目录操作 // 1.创建文件操作对象fm,并打印出当前目录 NSFileManager *fm=[NSFileManager defaultManager]; // 获取当前目录 NSLog(@"当前目录:%@",[fm curren...
分类:其他好文   时间:2014-08-07 12:35:49    阅读次数:237
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!