Проверка шаблона шины для iOS
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
-
- /// Пропускаем лишь значения от UI
- ///
- /// - Returns: Значение без префиксов "a:"/"u:"
- func onlyAcceptUIText(_ s: String) -> String? {
- guard s.hasPrefix("u:") else { return nil }
- return String(s.dropFirst(2))
- }
|