11 2015 档案
摘要:拷贝被人的drawRect绘图分类用途,用法很全。留着、供用时参考 // Only override drawRect: if you perform custom drawing. // An empty implementation adversely affects performance d
阅读全文
摘要:UIBezierPath的使用方式: 一,直接添加轨迹,然后stroke或者fill UIColor *blue =[UIColor blueColor]; [blue set]; UIBezierPath *bezier =[UIBezierPath bezierPath]; bezier.lin
阅读全文
摘要:隐藏uitabbar的代码: /** * 隐藏UITabbar * * @param hidden yes隐藏 */ - (void)hidesTabBar:(BOOL)hidden{ [UIView beginAnimations:nil context:NULL]; [UIView setAni
阅读全文
摘要:在Xcode中手动添加pch文件: 一: 在工程中新建.pch文件,pch文件名通常用工程名字命名; 二: 在Targets->build Settings->Prefix Header 设置路径如:$(SRCROOT)/MyTestWorkProduct/MyTestWorkProduct.pch
阅读全文
摘要:Xcode插件路径 ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins Xcode缓存路径 ~/Library/Developer/Xcode/DerivedData Xcode图片压缩工具路径 /Applications/X
阅读全文