Swiftpack.co - Swift Packages by TheRakiburKhan

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

Packages published by TheRakiburKhan

TheRakiburKhan/RKAPIService 3.0.3
RKAPIService is a simple and handy API Service utilizes swift concurrency aka async/await
⭐️ 12
🕓 32 weeks 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.
Multipart/formdata added
45 weeks ago
### Added - `ContentType` enum added for HTTP ContentType. It can be used in `additionalHeader` parameter of a request. - Added support for attachment upload as multipart/formdata as request body ### Fixed - Resolved infinite loop problem
Resolved Issue #3
1 year ago
Fixed Resolved issue https://github.com/TheRakiburKhan/RKAPIService/issues/3
Added Support for Dictionary [String: Any]
1 year ago
### Added - `Authorization` enum added for HTTP Authorization. It can be used in `additionalHeader` parameter of a request. - Added support for Dictionary type `[String: Any]` as request body ### Removed - `RKAPIServiceProtocol` is removed ### Fixed - `HTTPHeader` inaccessible bug fix
Additional Header in GET request is now optional
1 year ago
### Changed - Changed `HTTPHeader` in HTTP `GET` request from required to optional
Completion Handler deprecated
1 year ago
### Bug Fix - `HTTPHeader` initialisation bug fixed. ### iOS 13.0 and macOS 10.15 - completion handler is now deprecated and encouraged to use `async/await` or `Combine Publisher` instead. ### iOS 15.0 and macOS 12.0 - completion handler is now obsoleted and must use `async/await` or `Combine Publisher` instead.
2.3.0 - Added HTTPHeader
1 year ago
Added HTTPHeader if additional headers are required.
2.2.2
1 year ago
- Updated Quick Help guide for methods - Added polymorfic methods for direct data manipulation. - `RKAPIHelper` methods not accessible issue solved.
2.2.1 - Added RKAPIHelper
1 year ago
- Added `RKAPIHelper` which has helper functions to build `URL` - `buildURL(scheme: String, baseURL: String, portNo: Int?, path: String?, queries: [URLQueryItem]?)` returns an `URL?` - `buildURL(string: String, filter: CharacterSet)` returns an `URL?`
Added URLSession.dataTaskPublisher
1 year ago
- Changed `RKAPIService.shared` configuration form `URLSessionConfiguration.default` to `URLSessionConfiguration.default` - Changed all URL parsameter to optional form all `fetchItems(url:)` methods - Added `URLSessionDataTaskPublisher` form `Combine` support starting form iOS 13.0 and macOS 10.15
Added custom HTTPStatus Code support
1 year ago
- `HTTPStatusCode` has now two cases, `standard(statusCode: StandardCode)` and `custom(customCode: Int)`. Previously found all `HTTPStatusCode` case is now encapsulated in `HTTPStatusCode.StandardCode`. - New public variable `statusCode: Int` added to `HTTPStatusCode` which will return the original URL Status Code.
iOS macOS watchOS tvOS

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