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

以屏幕高度适配的时候写//变成了注释,请问这个该怎么办呢 #19

Closed
MQL9011 opened this issue Dec 9, 2020 · 1 comment

Comments

@MQL9011
Copy link

MQL9011 commented Dec 9, 2020

No description provided.

@LinXunFeng
Copy link
Owner

enum SwiftyFitType: Int {
    /// Original Value
    case none = 0
    /// ~
    case flexibleWidth = 1
    /// ≈
    case forceWidth = 2
    /// ∣
    case flexibleHeight = 3
    /// ∥
    case forceHeight = 4
    /// ∣=(竖的特殊符号 & 等于号)
    case flexibleSafeAreaCenterHeight = 5
    /// ∥=
    case forceSafeAreaCenterHeight = 6
    /// ∣-(竖的特殊符号 & 减号)
    case flexibleSafeAreaWithoutTopHeight = 7
    /// ∥-
    case forceSafeAreaWithoutTopHeight = 8
}

建议你直接复制使用,这个是特殊符号来着,是两根竖着的,不是斜的 //,只是在GitHub上显示得跟 // 差不多 😂

你也可以按 control + cmd + 空格 调出符号管理工具,把上述单个的符号添加到 个人收藏,方便使用

image

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

No branches or pull requests

2 participants