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

Code Quality、规范 #27

Open
ShannonChenCHN opened this issue Apr 27, 2017 · 4 comments
Open

Code Quality、规范 #27

ShannonChenCHN opened this issue Apr 27, 2017 · 4 comments

Comments

@ShannonChenCHN
Copy link
Owner

ShannonChenCHN commented Apr 27, 2017

  • What does "High-Quality" Code mean
  • Why we should spend the time and budget for higher-quality code
  • Code Review
    • 方法
    • 工具
      • GitHub
      • phabricator
  • 代码规范

关联话题

@ShannonChenCHN
Copy link
Owner Author

ShannonChenCHN commented May 24, 2017

Code Review

  • 什么是 Code Review
  • 为什么要做 Code Review
  • 如何进行合适的 Code Review
  • Code Review 过程中要注意的问题
    • 达成共识
    • 避免不必要的争议
  • Code Review 工具有哪些
    • GitHub
    • Phabricator

@ShannonChenCHN
Copy link
Owner Author

ShannonChenCHN commented Aug 13, 2017

@ShannonChenCHN ShannonChenCHN changed the title Code Quality/Code Review Code Quality、规范 Aug 28, 2017
@ShannonChenCHN
Copy link
Owner Author

ShannonChenCHN commented Aug 28, 2017

iOS字体规范与多屏幕适配

  • 4 和 5 宽度一样, 只是 5 比 4 要高 176px
  • 以 6 为标准(750*1334),4、5、6 共用一套字体规范,6plus 放大 1.5 倍
  • 字号大小是有规律的,字号大小对比要合适,各个不同界面大小对比要统一
  • 6 和 5 的适配规则:
    • 文字流(文字跟着屏幕宽度变)
    • 弹性布局(界面元素垂直方向高度不变,屏幕宽度变化时,动态调整元素间距自适应)
  • 6 plus 的适配规则:
    • 文字流
    • 弹性布局
    • 元素等比缩放(有些元素在不同屏幕上展示时,需要按比例缩放,比如轮播图)

讨论:实际上,在最新(2017.08)的淘宝、QQ、微信中,他们都是基于 6,在字体上,对不同屏幕做了等比缩放,这一点跟文中所说有点不同。
我们的 UED 团队采用的字体规范是,以 6 为基准,6 plus 跟 6 一样,5 和 4 上按屏幕宽度进行等比缩放。

ui

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

No branches or pull requests

1 participant