Swiftpack.co - Swift Packages by MLSDev

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

Packages published by MLSDev

MLSDev/TRON 5.5.0-beta.1
Lightweight network abstraction layer, written on top of Alamofire
⭐️ 538
🕓 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.
5.5.0-beta.1
1 year ago
### *Introducing support for Swift Concurrency* ```swift let request: APIRequest<Int,APIError> = tron.codable .request("status/200") let result = try await request.sender().value ``` Swift Concurrency methods require Swift 5.5 / Xcode 13.2 / iOS 13 / tvOS 13 / macOS 10.15 / watchOS 6. Read more usage examples in [README](https://github.com/MLSDev/TRON#swift-concurrency). ### Added * `download(_:to:)` and `download(_:to:resumingFrom:)` methods that create `DownloadAPIRequest` with <URL, ErrorModel> generic constraints to simplify requests creation, where you need only URL from resulting operation. * Structured Concurrency support for Swift 5.5 and higher: `RequestSender`, `DownloadRequestSender` types. ### Fixed * Issue, that could lead to sending network request with api stubs enabled, but Session.startRequestsImmediately property was set to false. ### Breaking * New deployment targets: iOS 11 / tvOS 11 / macOS 10.13 / watchOS 4 / Xcode 13. OS deployment targets now match minimum deployment targets, supported by Xcode 14.
5.4.1
2 years ago
### Changed * Improve Combine extensions to work better with stubs, that return synchronously. ### Fixed * Swift 5.4 warnings
5.4.0
3 years ago
### Changed * RxSwift dependency bumped to 6.0 and higher
5.3.0
3 years ago
### Added * Ability to modify `URLRequests` before it's adapted and sent: ```swift tron.codable .request("status") .modifyRequest { $0.httpShouldHandleCookies = false } ``` This feature uses Alamofire.RequestModifier closure, that can also be set without DSL on request instance directly: ```swift let request : APIRequest<Post,Empty> = tron.codable.request("posts") request.requestModifier = { urlRequest in urlRequest.httpShouldHandleCookies = false } ```
5.2.0
3 years ago
### Added * Combine support on supported platforms through `publisher()` method on `APIRequest`, `UploadAPIRequest`, `DownloadAPIRequest`. * `APIError.isCancelled` property, that tells, whether request, that errored, was cancelled by sender. ### Changed * `Alamofire.ParameterEncoding`, `JSONEncoding` and `URLEncoding` are now exposed through TRON API and don't require importing Alamofire to use. ### Deprecated * `NetworkActivityPlugin` is deprecated on iOS 13 and higher, because `UIApplication.isNetworkActivityIndicatorVisible` property it has been switching is deprecated on iOS 13 and higher.
5.1.0
3 years ago
### Changed * Several `Alamofire` types that are exposed through TRON API's are now implicitly exported to allow using them without needing to write `import Alamofire`. See `Exports.swift` file for a list of them.
5.0.3
4 years ago
### Added * `FileURLPassthroughResponseSerializer`, which can be used as a response serializer for `DownloadAPIRequest` when you are only interested in URL of downloaded file. ### Fixed * `NetworkLoggerPlugin` now correctly skips cancelled requests
5.0.2
4 years ago
* Added `DownloadAPIRequest.perform(withSuccess:failure:)` method, similar to `APIRequest` and `UploadAPIRequest` methods.
5.0.1
4 years ago
* `BaseRequest.headers` now default to `HTTPHeaders.default` to allow sending Alamofire default headers such as "Accept-Language", "Accept-Encoding", "User-Agent".
5.0.0
4 years ago
iOS macOS watchOS tvOS
MLSDev/LoadableViews 3.6.1
Easiest way to load view classes into another XIB or storyboard.
⭐️ 42
🕓 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.
3.6.1
2 years ago
### Fixed * Build issues for MacCatalyst following previous AppKit support.
3.6.0
2 years ago
### Added * Support for macOS: loading AppKit.NSView from xib.
3.5.0
3 years ago
### Changed * Minimum iOS deployment target - iOS 9.
3.4.0
4 years ago
* Support for Swift Package Manager in Xcode 11. * Added ability to customize Bundle from which view is being loaded.
3.3.0
5 years ago
* Added convenience methods, that allow to resize view properly if view is using AutoLayout and can determine it's desired size: `compressedLayout()`, `expandedLayout()` and `systemLayout(fittingSize:, horizontalPriority:, verticalPriority:)`. * Dropped support for Swift 3.
3.2.0
5 years ago
* Support for Swift 5 and Xcode 10.2.
3.1.0
5 years ago
* Support for Swift 4.2 and Xcode 10.
3.0.0
5 years ago
* LoadableView no longer sets `translatesAutoresizingMasksIntoConstraints` property on container view to `false`. If you plan to use LoadableView without superview, consider turning this property to `false` manually, because without a container view it will not be able to compute it's size.
2.3.0
6 years ago
* Added `LoadableControl` to allow LoadableView subclasses to have UIControl properties and methods.
2.2.1
6 years ago
* Updated for Xcode 9.1 / Swift 4.0.2

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