spxrogers / moya-gloss Goto Github PK
View Code? Open in Web Editor NEWGloss bindings for Moya
License: MIT License
Gloss bindings for Moya
License: MIT License
I get this issue trying to install with Carthage:
Dependency "Moya-Gloss" has no shared framework schemes for any of the platforms: iOS
Even tried pulling from "master" and got the same error. I've cloned the project and seems to have it's scheme shared. I don't know what the issues is.
Hello,
When I look at the moya documentation it tells to perform RxSwift requests with provider.rx.request ... but In the Moya-Gloss documentation it uses directly the provider.request. Do you know why?
Include RAC extensions.
I get this error after moving my project to RxSwift and removing ReactiveCocoa dependency from cart file. Do I have to add ReactiveCocoa as a dependency in my cartfile even if I don't use it?
Can you please update the library to rename all references to Decodable and Encodable to include Gloss namespace:
Gloss.Decodable
Gloss.Encodable
Thanks!
Right now Observable+Gloss applies where the observable element is a Moya Response (public extension ObservableType where E == Response
) - Response is short hand for Moya.Response
There are a couple of issues with setting up a custom provider to work with RxMoya. (Moya/Moya#487)
Can it be made so the extension on Observable applies whenever the element is of type RxMoya.Response
|| Moya.Response
?
Add content of Source/RxSwift/Observable+Gloss.swift:
public func mapObject<T: Decodable>(type: T.Type) -> Observable<T>
public func mapArray<T: Decodable>() -> Observable<[T]>
functions.
Any plans on adding swift 4 support?
I'm using XCode 8.3.2 and latest Carthage but can't add Moya-Gloos to my project. I get this error:
=== BUILD TARGET RxMoyaGloss OF PROJECT MoyaGloss WITH CONFIGURATION Release ===
Check dependencies
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** BUILD FAILED **
Any plans to update to support 4.2 and Moya 12? Thanks!
Hi,
does Moya-Gloss supports Moya 9 ?
Hi,
I am using latest Xcode 9.0 and pod with 'Moya' & 'Moya-Gloss'. It was working fine in Xcode 8.3.2 but new Xocde 9.0 showing me during compilation error
/Pods/Moya-Gloss/Source/Response+Gloss.swift
'Decodable' is ambiguous for type lookup in this context
Non-nominal type 'T' does not support explicit initialization
Sub folder containing an Xcode project with tests and a demo project.
The major version of Moya is now 7.
Are there any plans for this working with swift 3.0 on Xcode 8?
Add content of Source/Response+Gloss.swift:
public func mapObject<T: Decodable>() throws T
public func mapArray<T: Decodable>() throws [T]
functions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.