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

Version 2 #28

Open
rrbox opened this issue Dec 24, 2022 · 0 comments
Open

Version 2 #28

rrbox opened this issue Dec 24, 2022 · 0 comments

Comments

@rrbox
Copy link
Owner

rrbox commented Dec 24, 2022

release に書く内容をここに下書きします.

#27 Attribute が一新されます。

〜 version 1

let attribute = [.fontName: "times", .fontSize: 32]
  • 辞書型
  • Value は Any 型 (コード補完が効かない)

version 2 〜

let attribute = .fontName("times").fontSize(32)
  • indirect 列挙体
  • Value は静的 (コード補完が効く)
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