Coder Social home page Coder Social logo

Argonaut about argo HOT 6 CLOSED

aschuch avatar aschuch commented on May 24, 2024
Argonaut

from argo.

Comments (6)

gfontenot avatar gfontenot commented on May 24, 2024

Looks rad!

  • Your mapJSON function looks super similar to our global decode functions that are currently on master and will be shipped with 1.0.
  • I'm a huge fan of the idea of RAC extensions for Argo. I don't think we'd want to include them in Argo proper, but I'd be really interested in a library that just did that
  • Default extensions for common types like NSURL are something we've talked about a lot internally. I think we decided against including them in Argo itself, because there are plenty of cases where you'd want to customize that decoding, and we didn't want to add a roadblock to users wanting to do that. But I think shipping those extensions with an external lib is a fantastic idea (and I'd probably use it)

Have you thought about breaking the NSURL/CLLocation stuff out away from the RAC extensions? I'm a huge fan of small micro-frameworks.

I'd love to see more of these kinds of libraries. If they start to show up, We should look at creating some sort of centralized list of helper libs.

from argo.

aschuch avatar aschuch commented on May 24, 2024

Gordon, thanks for your quick feedback.

  • Oh, I haven't been aware that decode already made it to master, once 1.0 is out, my mapJSON functions are probably not needed any more.
  • I am also a huge fan of small micro-frameworks! I updated the repo, kept the RAC extensions in Argonaut and created a new micro-framework for common types called GoldenFleece (that's what the Argonauts were looking for after all ⛵️).

My biggest issue for providing a framework for common types is that its basically "all or nothing" and I don't think there is a way to work around that limitation (i.e. override the extension?). I think it should be possible with CocoaPods subspecs, but I am not aware of a way to currently achieve something similar with Carthage.

I know GoldenFleece is just a small start, but I'd love to see some active contributions for other types as well. ⚡️

from argo.

gfontenot avatar gfontenot commented on May 24, 2024

Solid naming.

I am not aware of a way to currently achieve something similar with Carthage.

You could have multiple frameworks in your Xcode project, one for each type, and then an umbrella framework that brings in all of them. That might be a cool experiment.

I know GoldenFleece is just a small start, but I'd love to see some active contributions for other types as well.

+1

from argo.

tonyd256 avatar tonyd256 commented on May 24, 2024

Love that name!

from argo.

aschuch avatar aschuch commented on May 24, 2024

You could have multiple frameworks in your Xcode project, one for each type, and then an umbrella framework that brings in all of them. That might be a cool experiment.

Yes, I think that's the way to go. 👍

from argo.

tonyd256 avatar tonyd256 commented on May 24, 2024

Going to close this for now. Feel free to reopen or open a new issue if you have more questions.

from argo.

Related Issues (20)

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.