Coder Social home page Coder Social logo

moya-gloss's People

Contributors

alexquinlivan avatar andrewsb avatar askielboe avatar bitomule avatar crazydragon91 avatar pawlowskialex avatar saeros avatar spxrogers avatar stevenbedrick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

moya-gloss's Issues

Unable to get RxMoyaGloss to compile locally

Checked out master, built dependencies with carthage build, am getting errors in Observable+Gloss.swift saying `ambiguous use of

screen shot 2016-05-31 at 3 53 10 pm

any guidance on getting Observable+Gloss to compile?

Dependency "Moya-Gloss" has no shared framework schemes

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.

Request structure

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?

Framework not found ReactiveCocoa

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?

Gloss Decodable/Encodable Namespace

Can you please update the library to rename all references to Decodable and Encodable to include Gloss namespace:

Gloss.Decodable
Gloss.Encodable

Thanks!

Support for RxMoya.Response in RxMoyaGloss

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?

RxSwift Support

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.

Build failed with Carthage

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 **

'Decodable' is ambiguous for type lookup in this context

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

Example/Test project

Sub folder containing an Xcode project with tests and a demo project.

  • Demo project
  • Unit tests

Swift 3.0

Are there any plans for this working with swift 3.0 on Xcode 8?

Vanilla Moya support

Add content of Source/Response+Gloss.swift:
public func mapObject<T: Decodable>() throws T
public func mapArray<T: Decodable>() throws [T] functions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.