自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (1)
  • 收藏
  • 关注

转载 How to Run a Custom Shell Script During an XCODE Build

Right click on the specific target in XCODEYou can enter your shell script like this, here is a sample script to list available variables.Build and Run and come open build results to s

2012-07-31 16:47:11 1716

转载 OpenGLES2.0 Iphone开发指引:第二部分,纹理贴图

转自:http://www.cnblogs.com/zilongshanren/archive/2011/09/02/2155061.html     免责申明(必读!):本博客提供的所有教程的翻译原稿均来自于互联网,仅供学习交流之用,切勿进行商业传播。同时,转载时不要移除本申明。如产生任何纠纷,均与本博客所有人、发表该翻译稿之人无任何关系。谢谢合作!原文链接地址:http

2012-07-27 13:03:16 1781

转载 OpenGL ES2.0 – Iphone开发指引

转自:http://www.cnblogs.com/andyque/archive/2011/08/08/2131019.html原文链接地址:http://www.raywenderlich.com/3664/opengl-es-2-0-for-iphone-tutorial  免责申明(必读!):本博客提供的所有教程的翻译原稿均来自于互联网,仅供学习交流之用,切勿进行商业传播。同时

2012-07-27 12:59:45 891

转载 hostent结构介绍

转自:http://blog.csdn.net/leewenjin/article/details/7394613struct hostent结构体这个数据结构是这样的: struct    hostent {    const char    *h_name;    // 地址的正式名称。     char    **h_aliases;    //  空字节-地

2012-07-23 11:58:25 696

转载 NSButtonCell inside custom NSCell

转自:http://stackoverflow.com/questions/2280317/nsbuttoncell-inside-custom-nscellThe minimal requirements are:After left mouse down on the button, it must appear pressed whenever the mouse i

2012-07-16 10:25:50 1024

转载 Re: HTTPS streams through a proxy

转自: http://lists.apple.com/archives/macnetworkprog/2004/May/msg00040.htmlRe: HTTPS streams through a proxySubject: Re: HTTPS streams through a proxyFrom: Becky Willrich email@hidden>Date:

2012-07-15 11:07:26 1205

转载 典型 cloning, copy, copyWithZone:, NSCopyObject()

转自: http://hi.baidu.com/yezehui2002/blog/item/8c328299f0c3631e6e068c8b.html在 C++ 中,定义复制运算符和相关的操作是很重要的。在 Objective-C 中,运算法是不允许重定义的,所能做的就是要求提供一个正确的复制函数。克隆操作在 Cocoa 中要求使用 NSCopying 协议实现。该协议要求一个实现函数

2012-07-13 10:06:08 1288

原创 NSGeometry.h 里面的方法详解

1,NSDivideRect(NSRect inRect, NSRect *slice,NSRect *rem, CGFloat amount, NSRectEdge edge); 的意思是把按amount把inRect分成两块。直接看代码结果    NSRect aRect = [sender frame];    NSRect popUpRect, textRect;

2012-07-12 16:44:38 1319

原创 NSView 的 mouse 移动事件

如果直接重写 -(void)mouseMoved:(NSEvent *)theEvent和-(void)mouseExited:(NSEvent *)theEvent是没有用的,需要给NSView添加一个NSTrackingArea,像下面这样: _trackingArea = [[NSTrackingArea alloc] initWithRect:[self frame]

2012-07-11 16:00:33 3228

原创 “Unknown class <MyClass> in Interface Builder file” error at runtime

发生这种错误一般都是在xib文件里调用Framework或者是静态库存的Class, 这样直接调用是会出错的,需要在目标Target的Build Settings里设置"Other Linker Flags"成"-all_load" "-ObjC",如果还是出错查看一下Build Phases -> Link Binary With Libraies里是否引入了Framework。详见

2012-07-10 15:56:37 1227 1

转载 CFHTTPMessageRef Example

1, Build a CFHTTPMessageRef-(CFHTTPMessageRef)buildMessage{ NSURL *myURL = [NSURL URLWithString:@"http://myurl.com"]; NSData *dataToPost = [[NSString stringWithString:@"POST Data It Doesn't M

2012-07-09 11:32:02 1531

转载 Different cells on each row in an NSTableView or NSOutlineView

转自: http://www.corbinstreehouse.com/blog/archives/2005/06/different_cells.htmlJune 30, 2005Different cells on each row in an NSTableView or NSOutlineViewSome people have asked me how to dyna

2012-07-06 18:09:02 1064

原创 RunLoop例子

A CFRunLoopSource object is an abstraction of an input source that can be put into a run loop. Input sources typically generate asynchronous events, such as messages arriving on a network port or acti

2012-07-04 14:18:16 1585

转载 [iOS] CFRunLoop示例总结

首先看两个runloop的示例第一个:#include     static void  _perform(void *info __unused)  {      printf("hello\n");  }    static void  _timer(CFRunLoopTimerRef timer __unused, vo

2012-07-04 13:57:03 1044

转载 Run Loop

学习过程中,将Threading PG中的Run Loops翻译了下,权当是做为笔记。原文见 Run Loops。20110526转载请注明,谢谢。http://www.cnblogs.com/scorpiozj/Run loops是线程的基础架构部分。一个run loop就是一个事件处理循环,用来不停的调配工作以及处理输入事件。使用run loop的目的是使你

2012-07-04 13:20:54 1223

转载 10个迷惑新手的Cocoa,Objective-c开发难点和问题

Keefo  14 September, 2011 8:01:52 AM PDT Last update on 09 Fri Mar, 2012 17:36:24 AM PDT  因为有自己的软件要开发,所以我只能忙里偷闲过来接着写这篇教程。大家莫怪。请按上面的最后更新时间算。 原文地址 http://lianxu.me/blog/2011/11/14/10-cocoa

2012-07-04 11:45:42 2071

objective-c手册

objective-c手册,讲述一些基本的objective-c语法。

2010-11-15

空空如也

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

TA关注的人

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