admin on August 19th, 2013

Bind with a specific instance of NSValueTransformerMyCustomValueTransformer *valueTransformer =[[MyCustomValueTransformer alloc] init];NSMutableDictionary *bindingOptions = [NSMutableDictionary dictionary];[bindingOptions setObject: valueTransformer forKey:@"NSValueTransformer"];[myControl  bind:@"value"  toObject:arrayController withKeyPath:@"selection.optionValue"  options:bindingOptions];

继续阅读..

http://xcodev.com/584.html
http://xcodev.com/761.html
xib文件性能  http://xcodev.com/373.html
LBS地图纠错  http://xcodev.com/131.html
Category  macor    http://xcodev.com/918.html

继续阅读..

admin on August 13th, 2013

亿万年的坚持,太阳的光辉,才孕育了整个地球,照亮了整个世界
把自己整个的身心,洒脱于宇宙之中,去感受生命的伟大

继续阅读..

admin on August 12th, 2013

做最好的自己,坚持心中的梦想不放弃!把自己避到一条不归路,体会心中的悲壮和凄凉。
越来越坚信,不能改变世界,就给世界一个惊喜吧!
从来都是走独特的路,行将愈远,辐射大宇!
感动自己,感动世界!

继续阅读..

Write this , Remember this。
2013-08-11

继续阅读..

admin on August 10th, 2013

NS: Poor Man’s Namespacing for Objective-C
NSArray Binary Search

继续阅读..

admin on August 9th, 2013

1. Monitoring a Folder with GCD
http://www.cocoanetics.com/2013/08/monitoring-a-folder-with-gcd/
2.
Simple Reachability + Blocks
http://www.cocoanetics.com/2013/05/simple-reachability-blocks/

继续阅读..

admin on August 7th, 2013

https://github.com/rsms/chromium-tabs
https://github.com/Perspx/PXListView    An optimized list view control for Mac OS X 10.5 and greater. It was created after I wrote this post on the subject.
https://github.com/jerrykrinock/CategoriesObjC
https://github.com/rsms/cocui   Cocoa meets WebKit for more rapid UI development
https://github.com/mzarra/ZSync

继续阅读..

admin on August 6th, 2013

https://github.com/boctor/pbmetrics

继续阅读..

admin on August 6th, 2013

1.+(void)initialize { if (self == [MyCustomClass class]) { // do your stuff here! }}
2. dont call [NSNotificationCenter removeObserver:] excepet dealloc
3.
Handy constants
Another element that is easily overlooked, but can make code and life so much easier: Convenience Constants. Take some examples:
CGPointZero
CGRectZero
CGSizeZero
CGRectInfinite – mostly used in Core Image contexts
CGRectNull – not equal to CGRectZero, returned by e.g. [...]

继续阅读..