随笔分类 -  iOS

iOS里生成灰化(黑白)图像
摘要:代码的目的是根据一个UIImage生成对应的灰化(黑白)UIImage.以下代码源自stackoverflow里的一个回复,可惜原文链接已经找不到了。- (UIImage*) convertImageToGreyScale:(UIImage*) image{ // Create image rectangle with current image width/height CGRect imageRect = CGRectMake(0, 0, image.size.width, image.size.height); // Grayscale color space ... 阅读全文

posted @ 2013-03-11 13:20 零度的火 阅读(1511) 评论(0) 推荐(0)

Xcode的环境变量列表
摘要:复制过来备用。内容来自stackoverflow的回复:http://stackoverflow.com/questions/6910901/canonical-list-of-xcode-environment-variables/6911421#6911421Variable ExamplePATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"LANG en_US.US-ASCIIIPHONEOS_DE 阅读全文

posted @ 2013-03-08 16:15 零度的火 阅读(1290) 评论(0) 推荐(0)

导航