- 博客(6)
- 资源 (19)
- 收藏
- 关注
原创 iOS开发之*.a静态库注意事项
以*.a静态库的形式引入工程的(比如:libUploadLib.a),*.a里面的class有category形式实现时,除了在工程Target的 Build Phases里面的 Link Binary With Libraries里面添加依赖外,还需要在Target的 Build Settings的 Linking -> Other Linker Flags (Debug or Release)里面添加:-force_load
2015-07-27 20:46:53 3697
原创 关于weak
#define DECLARE_WEAK_SELF __typeof(&*self) __weak weakSelf = self#define DECLARE_STRONG_SELF __typeof(&*self) __strong strongSelf = weakSelf
2015-07-24 09:44:52 1773
原创 返回present的根
//返回四大tab页面+ (void)gobackToTabarController{ UINavigationController* selectedTabNavController = (UINavigationController *)[QZoneUIAppDelegate shareInstance].qqTabbarController.selectedViewControl
2015-07-23 11:04:14 1704
原创 通过一个color创建一个image
使用的地方:[_addButton setBackgroundImage:[UIImage imageWithColor:[[UIColor whiteColor] colorWithAlphaComponent:0.f]] forState:UIControlStateDisabled];UIImage+Theme.m==============================+ (UIImag
2015-07-21 10:45:34 1584
原创 UILabel设定行间距方法
NSString *textStr = @"iPhone规定:任何应用想访问麦克风,必须被授权麦克风服务。请进入“设置”->“隐私”->“麦克风”中打开QQ空间的麦克风服务。"; UIFont *textFont = [UIFont systemFontOfSize:14]; CGSize textSize = [textStr sizeWithFont:textF
2015-07-09 22:09:29 36211
原创 Mac下hosts文件配置
工作中总会因为莫名其妙的原因,比如Mac下面打不开某网站,但是在windows 7下面却可以,此时只需两步即可完成在Mac下面上网。在Windows下面Win+R,输入cmd,进入命令行,将在windows下面能打开,但是在Mac下面不能打开的网址,贴到命令行ping一下,然后把ip对应的填到mac下的hosts文件当中去即可。1. windows 命令行下面ping在Mac下面打不开但是在win
2015-07-03 10:53:23 8089
Procedure Call Standard for the ARM 64-bit Architecture (AArch64)
2015-09-19
Procedure Call Standard for the ARM® Architecture
2015-09-19
Xib设计UITableViewCell然后动态加载
2012-02-14
android-1.5-cupcake-src.zip
2011-10-28
iPhone开发秘籍(第2版) 英文原版
2011-10-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人