Sketch-iOS-Library

? A library of iOS styles replicated in Sketch to speed up your workflow.

Github星跟踪图

Sketch iOS Library

I’ve decided to take styles from Xcode and do my best to replicate them for Sketch. Along the way, I documented the process of how I ended up with the result so you can look into things even further.

You'll need to download Apple's SF font: https://developer.apple.com/fonts/

UIBlurEffectStyle

The API doesn't provide any specs for blurs, so it's a challenge to replicate. For performance concerns, I understand why Apple isn't open about these specs. However, as designers I think we shuold be aware of these constraints and design with them.

Usage

  1. Open UIBlurEffectStyle.sketch
  2. Copy style of a blur type
  3. Paste style to any shape

Process

  1. Created a few colorful shapes to blur
  2. Rendered and exported all three types of blur over the shapes in Xcode:
    • extraLight
    • light
    • dark
  3. Replicated each blur type in Sketch

UIFontTextStyle

Apple’s system fonts are designed for legibility and provide a variety of sizes which automatically react to accessibility features. You can read more about why it’s best to use system fonts on the iOS Human Interface Guidelines.

Usage

  1. Open UIFontTextStyle.sketch
  2. Copy & Paste artboard into Sketch document
  3. Assign texts to a system style

Process

  1. Made a list of all ten text styles:
    • Title1
    • Title2
    • Title3
    • Headline
    • Subhead
    • Body
    • Footnote
    • Caption1
    • Caption2
    • Callout
  2. Printed out the specs in Xcode (e.g. UIFontTextStyle(_rawValue: UICTFontTextStyleTitle1): .SFUIDisplay-Light, 28)
  3. Used font tracking designcode.io recommends

Get Involved

Suggest a style

  1. Create a new issue
  2. Describe the iOS style that should be replicated
  3. ✨ Bonus: Follow the issue to provide feedback

Leave feedback

  1. Create a new issue
  2. Mention which style you have feedback on
  3. ✨ Bonus: Follow the issue to provide feedback

Ask a question

主要指标

概览
名称与所有者bgian/Sketch-iOS-Library
主编程语言Swift
编程语言Swift (语言数: 1)
平台
许可证
所有者活动
创建于2016-09-26 01:39:14
推送于2017-05-01 01:23:26
最后一次提交2017-04-30 21:23:25
发布数0
用户参与
星数261
关注者数12
派生数12
提交数113
已启用问题?
问题数2
打开的问题数0
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?