Swiftpack.co - Swift Packages by sharplet

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by sharplet

sharplet/Regex v0.2.3
A delightful and expressive regular expression type for Swift.
⭐️ 612
🕓 3 years ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
MetaPods
4 years ago
Improves the CocoaPods spec metadata by explicitly annotating the license file as "MIT". Thanks @AlexeyVasilyevRN!
Comments Enabled
5 years ago
New: - Adds a new option regex option `.allowCommentsAndWhitespace`, allowing for richer, self-documenting regular expression patterns. (#66 — thanks @remithaunay!) Improved: - Updated internals to use the modern built in conversions between `NSRange` and `Range<String.Index>`. This should improve performance and potentially correctness! (#69)
It Just Feels Better
5 years ago
Say hello to Regex version 2, including support for Swift 5! This release adds **no new functionality**, but drops support for Swift versions less than 4.2. Regex 2 should otherwise be fully compatible with Regex 1.1.
Swift Fourtification
6 years ago
Regex now speaks Swift 4! 🎉 **Added:** - The `Regex` type now conforms to `Codable`, so you can encode and decode regular expressions to your heart's content. (#52) - `MatchResult` has a new `range` property. (#54, thanks @mezhevikin!) - To go with `MatchResult.range`, there's also the `captureRanges` property, allowing you to work with the ranges of capture groups. (#59) **Fixed:** - Regex now handles the newly [overhauled String index API](https://github.com/apple/swift-evolution/blob/master/proposals/0180-string-index-overhaul.md), maintaining that sweet, sweet Unicode correctness, whatever your chosen Swift version. (#57, 7952baebc8cf08597c2810496b7e777e6212be00, 1a90514f101436f8f92f06e4c5796e8e58458285, thanks @wspl!) Thanks for using Regex!
1.0.0: A Regex for the future
6 years ago
Regex is now officially at 1.0.0! 🎉 Here's a quick hit list of features: - Easily and safely create regular expressions - When creating a regular expression from a static string, no error handling required - Great pattern-matching support via `Regex.lastMatch` - Type safe access to capture groups - Convenient extensions to `String` to support find and replace I hope you enjoy using Regex!
0.4.3
7 years ago
Fixes a build failure when using Swift Package Manager.
0.4.2
7 years ago
This should add full Swift 3 support for swiftpm and CocoaPods users. Carthage users should be able to opt into Swift 3 using the `--toolchain` option to `carthage build`. Breaking changes to drop Swift 2 support and adopt the Swift API Design Guidelines will be made in a future release.
0.4.1
7 years ago
Added: - New `DotMatchesLineSeparator` option allows `.` to match new line characters such as `\n`. Thanks @ninjaprawn!
Fail Me...Maybe?
7 years ago
Added: - New initialiser `Regex.init(string:)` that throws if the pattern is invalid. Previously it wasn't possible to recover from this scenario. Changed: - The existing `Regex.init(_:)` initialiser now accepts a `StaticString` instead of a `String` (meaning that the string must exist statically at compile time), and will trap if an invalid pattern is provided. For dynamically created strings, use `Regex.init(string:)` instead. Removed: - `Regex` no longer conforms to `StringLiteralConvertible`. Use `Regex.init(_:)` instead. Regex now supports Xcode 8 and Swift 2.3!
Replaceable
8 years ago
### Added - New `String` methods for performing find and replace operations (#31) - `replaceFirstMatching(_:with:)` - replaces the first match of the given regex with the replacement template - `replaceAllMatching(_:with:)` - replaces all matches of the given regex with the replacement template - Non-muting versions of each method for convenience - New `Regex.lastMatch` static property that gives access to the last match result when pattern matching (#27)
sharplet/SwiftIO 0.2.0
Simple Tools for File I/O in Swift
⭐️ 11
🕓 3 years ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Please Don't File a Complaint
3 years ago
Added: - New `FileHandle` struct that provides a unified interface to interacting with the file system. - New `Directory` namespace collects file operations on directories, including creating and removing directories, and inspecting and changing the current directory. - New `FileInfo` struct provides a Swifty interface to the `stat(2)` system call. Changed: - `ExitError` now automatically generates a human-readable description based on the code. - Increased compatibility with Linux by removing any dependency on the Objective-C implementation of Foundation.
Forging a new Path
3 years ago
Added: - A new `Path` struct is a lightweight utility for inspecting and transforming file paths.
Hello, SwiftIO!
3 years ago
sharplet/PublisherQueue 0.1.0
Model asynchronous tasks as publishers and limit concurrent execution
⭐️ 6
🕓 3 years ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
PublisherQueue
3 years ago
The initial release of PublisherQueue.
iOS macOS
sharplet/swift-cgit2 v1.1.1
Swift package providing pre-built libgit2 binaries.
⭐️ 6
🕓 2 years ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
v1.1.1
2 years ago
libgit2 release notes: https://github.com/libgit2/libgit2/releases/tag/v1.1.1.
Hello, libgit2!
2 years ago
swift-cgit2 is a binary distribution of libgit2 for Apple platforms. libgit2 release notes can be found at https://github.com/libgit2/libgit2/releases/tag/v1.1.0.
iOS macOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics