`
文章列表
Apache & PHP: http://dancewithnet.com/2010/05/09/run-apache-php-mysql-in-mac-os-x/#php http://hi.baidu.com/sorepheal/item/afb264c6b9cc4ccd984aa050 MySQL:http://www.cnblogs.com/macro-cheng/archive/2011/10/25/mysql-001.html mysql装在/usr/local/mysql /etc/profile快捷设置: alias mysql='/usr/local/mysql ...

UIWebView

http://hi.baidu.com/wei_1123/item/a11f65df35ca4ee63cc2cbd8 http://unmi.cc/uiwebview-replace-uitextview-line-height 图片URL: http://gaohaijun.blog.163.com/blog/static/176698271201110133338742/ 一些JS的操作: http://www.cnblogs.com/superhappy/archive/2012/12/04/2801929.html         self.saying = [[UIWebVi ...
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation {     return YES; } - (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation                                          duration:(NSTimeInterval)duration {     UIDevice ...
for UIApplication These notifications are sent out after the equivalent delegate message is called UIKIT_EXTERN NSString *const UIApplicationDidEnterBackgroundNotification       NS_AVAILABLE_IOS(4_0); NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter]; [notificationC ...

NSZombies

NSZombies搞定EXC_BAD_ACCESS http://blog.tianya.cn/blogger/post_read.asp?BlogID=2682988&PostID=25851784 http://mobile.51cto.com/iphone-279455.htm 1. 重写object的respondsToSelector方法,现实出现EXEC_BAD_ACCESS前访问的最后一个object 有时程序崩溃根本不知错误发生在什么地方。比如程序出现EXEC_BAD_ACCESS的时候,虽然大部分情况使用设定 NSZombieEnabled环境变量可以帮助你找到问 ...

install webpy

http://webpy.org/install.zh-cn http://webpy.org/install_macosx 不使用macports,换用Homebrew http://liang.eu/mac/forgot-macports-now-we-have-homebrew 一令安装Homebrew https://github.com/mxcl/homebrew/wiki/Installation //Homebrew的使用方法: $ brew install postgresql 下载webpy http://webpy.org/static/ impor ...

mar 工具

Dash  mac OmniGraffle Pro 5.4 http://soft.macx.cn/soft780.htm Axure http://soft.macx.cn/3828.htm
Quartz 2D 内容不少啊 Graphics Transforms Shadows Gradients PDF 略过x个 http://developer.apple.com/library/ios/#documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/Introduction/Introduction.html#//apple_ref/doc/uid/TP40007533-SW1

NSCache

http://thenewself.blog.163.com/blog/static/198501330201251311025928/ http://www.cnblogs.com/zhuqil/archive/2011/07/30/2122127.html http://yinghuayuan8866.blog.163.com/blog/static/2245702720122292279677/ // Your cache should have a lifetime beyond the method or handful of methods // that use it. ...

NSCoding

@protocol NSCoding - (void)encodeWithCoder:(NSCoder *)aCoder; - (id)initWithCoder:(NSCoder *)aDecoder; @end // // Apple.h // test_GCD // // Created by xserver on 12-7-12. // Copyright (c) 2012年 __MyCompanyName__. All rights reserved. // #import <Foundation/Foundation.h&g ...

C++序列化

http://hi.baidu.com/ewook/item/0260f7f3e9082910d6ff8c7f 现在的C++本身不支持序列化, 1x新标准貌似也没提供:http://zh.wikipedia.org/wiki/C%2B%2B11 http://blog.chinaunix.net/uid-12664992-id-129821.html C++ 1x http://my.oschina.net/zmjerry/blog/3167
http://blog.csdn.net/toss156/article/details/7173213
智能与灵活与工作量>_< http://www.oschina.net/question/213217_45564 处理复杂的多点触摸序列: http://www.apple.com.cn/developer/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/EventHandling/EventHandling.html#//apple_ref/doc/uid/TP40007072-CH9-SW16 scroll view : http://stackoverflow.com/quest ...
http://anxonli.iteye.com/blog/1097777 http://www.dreamingwish.com/dream-2012/of-of-of-of-gcd-introduced-1-basic-concepts-in-and-the-dispatch-queue.html https://developer.apple.com/library/ios/#documentation/Performance/Reference/GCD_libdispatch_Ref/Reference/reference.html#//apple_ref/c/func/disp ...

NSCopying

http://www.apple.com.cn/developer/iphone/library/documentation/UserExperience/Conceptual/MemoryMgmt/Articles/mmImplementCopy.html 从超类继承 NSCopying 如果超类没有实现NSCopying, 则您的类的实现必须复制它所继承的实例变量,以及那些在您的类中声明的实例变量。 一般来说,完成这一任务的最安全的方式是使用alloc, init...和set方法。 另一方面,如果您的类继承了NSCopying的行为,并声明了额外的实例变量, 那么您也需要实现cop ...
Global site tag (gtag.js) - Google Analytics