Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

LiXiang cleexiang

🎯
Focusing
Block or report user

Report or block cleexiang

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 oclint-xctool-xcode-aggregate-script.sh
source ~/.bash_profile
cd ${SRCROOT}
/path/to/xctool.sh -reporter json-compilation-database:compile_commands.json clean
/path/to/xctool.sh -reporter json-compilation-database:compile_commands.json build
oclint-json-compilation-database | sed 's/\(.*\.\m\{1,2\}:[0-9]*:[0-9]*:\)/\1 warning:/'
View Common Swift String Extensions
import Foundation
extension String
{
var length: Int {
get {
return countElements(self)
}
}
@cleexiang
cleexiang / gist:2cee4d774ca42406e768
Last active Aug 29, 2015
iOS开发常见问题解决汇总
View gist:2cee4d774ca42406e768

###iOS开发常见问题解决汇总

####代码篇

  • 隐藏空白cell的分割线

    UIView *footer =[[UIView alloc] initWithFrame:CGRectZero]; myTableView.tableFooterView = footer; [footer release];

You can’t perform that action at this time.