Skip to content

Instantly share code, notes, and snippets.

Frank FANWENBIN

Block or report user

Report or block FANWENBIN

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:816742c160119b8794d8
// http://cocoawithlove.com/2009/10/ugly-side-of-blocks-explicit.html has a nice breakdown of the syntax--it helps to think of the ^ as similar to a pointer dereference symbol *
// block typedef:
typedef void(^Block)();
typedef void(^ConditionalBlock)(BOOL);
typedef NSString*(^BlockThatReturnsString)();
typedef NSString*(^ConditionalBlockThatReturnsString)(BOOL);
// block property with typedef:
View makefile
/*
相信大家应该都有自己的ipa打包发布脚本吧?
汤圣罡分享了一个他实现的打包脚本,之前是用python写的,现在改成makefile了,
编译、打包、生成 OTA 安装文件、短链接、二维码、邮件通知都支持。
*/
APP = Pages
WORKSPACE = Pages
CONFIG = InHouse
SCHEME = PagesInHouse
@FANWENBIN
FANWENBIN / gist:5727394
Last active Dec 28, 2016
#Mac常用快捷键
View gist:5727394
Command + ,  打开偏好设置

Command + H  最小化

Command + Q  退出

Command + F 搜索

Command + ↑ 返回上层
You can’t perform that action at this time.