会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
嗷大喵
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2015年4月13日
备份Xcode6的配色主题以及代码模板
摘要: ~/Library/Developer/Xcode/UserData/FontAndColorThemes~/Library/Developer/Xcode/UserData/CodeSnippetsXcode6备份这2个目录即可
阅读全文
posted @ 2015-04-13 13:49 嗷大喵
阅读(424)
评论(0)
推荐(0)
2015年4月10日
iOS Framework lipo报错 lipo: can't map input file
摘要: fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't map input file: xxxFramework.framework...
阅读全文
posted @ 2015-04-10 23:40 嗷大喵
阅读(12996)
评论(0)
推荐(1)
2015年4月8日
iOS单例 宏定义
摘要: #define singleton_interface(className) \+ (className *)shared##className;// @implementation#define singleton_implementation(className) \static classNa...
阅读全文
posted @ 2015-04-08 23:16 嗷大喵
阅读(280)
评论(0)
推荐(0)
2015年4月7日
iOS截图
摘要: UIView *cutView = self.view.window.rootViewController.view; //截图 //开启上下文 UIGraphicsBeginImageContextWithOptions(cutView.frame.size, YES, 0....
阅读全文
posted @ 2015-04-07 19:09 嗷大喵
阅读(163)
评论(0)
推荐(0)
typedef block
摘要: 给同一种类型的block定义一个别名typedef int (^MyBlock) (int , int); int main(int argc, const char * argv[]) { @autoreleasepool { MyBlock sumBlock = ^(int ...
阅读全文
posted @ 2015-04-07 19:07 嗷大喵
阅读(332)
评论(0)
推荐(0)
iOS的几种定时器
摘要: //gcd的定时器timer必须先保存为一个属性或者成员变量@property (nonatomic , assign) dispatch_source_t timer; //第一种 每一秒执行一次(重复性) double delayInSeconds = 1.0; //每间隔...
阅读全文
posted @ 2015-04-07 19:03 嗷大喵
阅读(360)
评论(0)
推荐(0)
CocoaPods pod install/pod update更新慢的问题
摘要: 最近使用CocoaPods来添加第三方类库,无论是执行pod install还是pod update都卡在了Analyzing dependencies不动原因在于当执行以上两个命令的时候会升级CocoaPods的spec仓库,加一个参数可以省略这一步,然后速度就会提升不少。加参数的命令如下:pod...
阅读全文
posted @ 2015-04-07 18:58 嗷大喵
阅读(380)
评论(0)
推荐(0)
iOS设置导航栏样式(UINavigationController)
摘要: //设置导航栏baritem和返回baiitem样式UIBarButtonItem *barItem = [UIBarButtonItem appearance];//去掉返回按钮上的字[barItem setBackButtonTitlePositionAdjustment:UIOffsetMak...
阅读全文
posted @ 2015-04-07 18:51 嗷大喵
阅读(1099)
评论(0)
推荐(0)
2015年4月5日
IAP内购
摘要: IAPHelper.h//// IAPHelper.h// airplay//// Created by apple on 13-10-23.// Copyright (c) 2013年 itcast. All rights reserved.//#import typedef void (...
阅读全文
posted @ 2015-04-05 19:31 嗷大喵
阅读(738)
评论(0)
推荐(0)
设置UIButton文字大小颜色不同
摘要: _loginBtn = [[UIButton alloc]initWithFrame:CGRectMake(iconX, CGRectGetMaxY(passwordBGView.frame)+25, 280, 35)];[_loginBtn setTitle:@"进入游戏\nSTART GAME"...
阅读全文
posted @ 2015-04-05 19:21 嗷大喵
阅读(1636)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告