Swiftpack.co - Swift Packages by Shannon-Yang

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

Packages published by Shannon-Yang

Shannon-Yang/SYMoyaNetwork 2.0.0
Network abstraction layer based on Moya encapsulation
⭐️ 4
🕓 1 week 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.3
1 year ago
1.add SYMoyaProviderTargetResponseStatePlugin 2.SYMoyaProvider add 'responseState' 3.override super func 4.SYMoyaProviderDelegate add target parameter 5. some fix
v1.1.2
1 year ago
1.Add providerResponseState to get network provider request status 2.Delete SYEndpoint, use Endpoint 3.bug fix
v1.1.0
1 year ago
1. Inherit Moya.Endpoint, add the endpointResponseState property, and change the response state according to the network request 2. SYMoyaProviderDelegate adds the requestSuccessFilter method, which calls back when the network request is successfully completed and successful 3. SYMoyaProvider adds endpointResponseState method to obtain SYEndpointResponseState state according to target
v1.0.0
1 year ago
Network abstraction layer based on Moya extension, Keep the same usage as Moya, extend Moya's TargetType, add data support for HandyJSON, ObjectMapper, Codable, SwiftyJSON, MJExtension, etc., do the default data conversion for Moya's Response, just care about what kind of data you want to get , to implement network data caching of different strategies, no need to spend a lot of time doing such work, and obtaining network data will become so simple.
iOS macOS watchOS tvOS

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