Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style guide for Swift repo [CN]Swift项目代码规范、规约选型 #3

Open
2 tasks done
ChenYilong opened this issue Jul 17, 2019 · 1 comment
Open
2 tasks done
Assignees
Labels

Comments

@ChenYilong
Copy link
Member

ChenYilong commented Jul 17, 2019

Swift 规范

暂未选型,欢迎提供优秀的基于 Swift5.0 代码选型规范。

git 规范

  • PR流程默认往 develop 分支提交代码,master受保护。(正式版本发布前 PR 提交流程没什么大的感知,只是develop 变为默认分支。)
@ChenYilong ChenYilong changed the title **Swift代码规范选型** Swift代码规范选型 Jul 17, 2019
@EliseSo EliseSo self-assigned this Jul 18, 2019
@ChenYilong ChenYilong changed the title Swift代码规范选型 Style guide for Swift repo [CN]Swift项目代码规范、规约选型 Jul 18, 2019
@ChenYilong
Copy link
Member Author

ChenYilong commented Jul 23, 2019

来自 @NZ-Plexure- harry:

swift style guide 我建议参考airbnb的git repo + Swift 5.1的新特性 Airbnb's Swift Style Guide.
swiftlint可以用pods装个binary,然后写个run script call这个binary 去 run lint的命令,这样xcode的log可以打出来warnings;
参考 hyperoslo/Cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants