A collection of helpful Swift extensions and utilities
https://github.com/ahcode0919/Fast.git
[Double]
.random(range:_size:_)
create a array of random values within a specified range[Float]
.random(range:_size:_)
create a array of random values within a specified range[Int]
.random(range:_size:_)
create a array of random values within a specified range[UInt]
.random(range:_size:_)
create a array of random values within a specified rangeCountedSet
OrderedSet
byteFormattedString(units:_, countStyle:_)
Convert Int64
to byte measurement string Ex: 100_000
= 100 KB
String.random(length:_)
- Create a string of alphanumeric characters of the specified lengthchomp()
- Removes white space from the start and end of a Stringcontains(_ type: NSTextCheckingResult.CheckingType)
- Checks for matching string format. Date, link, phonenumber, etcextractDoubles() -> [Doubles]
- Extract Doubles from stringextractInts() -> [Int]
- Extract integers from stringwithQuotes()
- Encapsulates a String in quotationslink |
Stars: 0 |
Last commit: 1 year ago |
Full Changelog: https://github.com/ahcode0919/Fast/compare/0.0.5...v0.0.6
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics