Giter VIP home page Giter VIP logo

Comments (8)

 avatar commented on June 2, 2024

Missing functionality: plist read/write

initWithContentsOfURL implemented for CPDictionary in the attached patch. I suppose there’s no use for initWithContentsOfFile in cappuccino, tell me if I’m wrong.

by Farcaller

from cappuccino.

 avatar commented on June 2, 2024

Missing functionality: plist read/write

We could just alias initWithContentsOfFile to initWithContentsOfURL. Is there a reason for puting the logic in the class method rather than the init?

It would be great to see this finished up for CPArray, and with the writeTo methods (which should just send a PUT request to the URL with the contents of the plist as the body.

It would also be interesting to see asynchronous versions of these, since synchronous requests are, generally, a terrible idea in the browser.

by Ross Boucher

from cappuccino.

farcaller avatar farcaller commented on June 2, 2024

NSDictionary commited at farcaller/cappuccino@8ea10ab

Any ideas how to make async version and keep it cocoa way?

from cappuccino.

rickmark avatar rickmark commented on June 2, 2024
  • [CPDictionary dictionaryWithContentsOfURL:(CPURL)url delegate:(id)delegate]; ?
  • [CPDictionary dictionaryWithContentsOfURL:(CPURL)url performingSelector:(SEL)selctor onObject:(id)delegate]; ?

from cappuccino.

cappbot avatar cappbot commented on June 2, 2024

Milestone: Someday. Labels: #accepted, #needs-patch, Foundation, feature. What's next? This issue needs a volunteer to write and submit code to address it.

from cappuccino.

aparajita avatar aparajita commented on June 2, 2024

Not a priority, sorry.

#wont-fix

from cappuccino.

cappbot avatar cappbot commented on June 2, 2024

Milestone: Someday. Labels: #needs-patch, #wont-fix, Foundation, feature. What's next? A reviewer or core team member has decided against acting upon this issue.

from cappuccino.

cappbot avatar cappbot commented on June 2, 2024

Milestone: Someday. Labels: #wont-fix, Foundation, feature. What's next? A reviewer or core team member has decided against acting upon this issue.

from cappuccino.

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.