-
The UIFont Extension will crash in its '!', because some custom font has no bold or italic. And why the size of the new font is 0 instead of the font's own size?
```
public extension UIFont {
/…
-
**Describe the bug**
```swift
import Foundation
let x = "bjmc1"
switch x {
case "bjmc": print("123")
case "bjmc1": print("345")
default: print("567")
}
```
345 expected, but 123 was printe…
-
No such module 'SwifterSwift' error on import SwifterSwift line.
-
# Future of SwifterSwift
First of all I want to thank you all for making SwifterSwift what it is today 🚀
Here are some insights from Github
- 132 contributors!
- 4000+ monthly repo visitors…
-
**Describe the bug**
Xcode will become slow when I open a xib file in som project that I have import SwiferSwift
**To Reproduce**
Steps to reproduce the behavior:
1. pod 'SwifterSwift', '~> 5.0'…
-
``` swift
//error: Cannot convert value of type 'Int' to specified type 'String'
let str = 'bar' * 5
```
参考了原生 String API 文档
```
// Swift.String
@inlinable public static func + (lhs: String…
-
我通过在podfile 中声明使用 use_modular_headers!
进行 SwifterSwift 的静态库打包
在将源码切换成二进制后
在主工程中无法通过 import SwifterSwift 进行调用该库
发现生成静态库时没有 SwifterSwift.modulemap 文件
这是cocoapods-imy-bin 生成的静态库
![image](https…
-
```swift
func round(numberOfDecimalPlaces: Int, rule: FloatingPointRoundingRule) -> Self {
let factor = Self(pow(10.0, Double(max(0, numberOfDecimalPlaces))))
return (self * factor).rounded…
-
We'll want to provide some information surrounding onboarding new users to the SwifterSwift organization. We could probably take same sections from [Moya's contributing guidelines](https://github.com/…
-
**Describe the bug**
hexString for NSColor extension provides invalid values for CMYK colors or other non RGB colors selected using NSColorPicker.
**To Reproduce**
Steps to reproduce the behavio…