Swiftpack.co - Swift Packages by shortcut

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

Packages published by shortcut

shortcut/safe-san-francisco 1.1.1
Typesafe access to SFSymbols on all Apple platforms
⭐️ 2
🕓 1 year 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.
Safe San Francisco 1.1.1
1 year ago
- Fix compile error by removing file private type dependency **Full Changelog**: https://github.com/shortcut/safe-san-francisco/compare/1.1.0...1.1.1
Safe San Francisco 1.1.0
1 year ago
## What's Changed - Improved build time - Added DocC documentation and tutorials on how to get started - Added syntax for numbers and image with a preceding x (e.g.`SF.x1.square`) - Added tests for all symbols **Full Changelog**: https://github.com/shortcut/safe-san-francisco/compare/1.0.0...1.1.0
Safe San Francisco 1.0.0
1 year ago
Initial release
iOS macOS watchOS tvOS
shortcut/NetworkKit 0.1.8
Networking
⭐️ 1
🕓 1 year 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.
Data in data even if server responds with 0 bytes
3 years ago
Empty data as success
4 years ago
Allow the server to response with empty data
Disk request fixes, cancellation fixes, logging improvement
4 years ago
0.1.5: Bug fix
4 years ago
Fixed retain cycle on requests
0.1.4: Validation and custom error parsing
4 years ago
- add better validation of requests - be able to specify a model type for error responses (details in README)
bux fixes
4 years ago
- update internal urlRequest after going through all the RequestAdapters - actually use the jsonDecoder passed in - don't let Request retain the parent Network
Add RequestAdapter
4 years ago
New protocol for adding adapters (middleware) to a request: ```swift public protocol RequestAdapter { func adapt(_ urlRequest: URLRequest) -> URLRequest } ``` `Request` now has `adapters: [RequestAdapter]` and `func withAdapter(_ adapter: RequestAdapter) -> Self` which you can use to chain the addition of adapters Example: ```swift network.request(OrderAPI.getOrders) .withAdapter(AuthenticationAdapter(accessToken: accessToken)) .responseDecoded(of: OrderResponse.self) ```
Fixes DiskRequest and adds TargetType properties for mock data
4 years ago
TargetType protocol now includes: ```swift var diskPath: String? { get } // for mocks using DiskRequest var diskDelay: TimeInterval { get } ``` in order for a target to define a local json file for the request, and an optional delay (to test loading UI for example)
New Network API
4 years ago
This release introduces an almost complete rewrite of the API. See README for more info
4 years ago
iOS

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