Everything is in title. ;)
Add initWithContentsOfURL:, initWithContentsOfFile:, writeToFile:atomically: and writeToURL:atomically: in CPArray and CPDictionary would be very useful.
original LH ticket
This ticket has 1 attachment(s).
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.
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
NSDictionary commited at farcaller/cappuccino@8ea10ab
Any ideas how to make async version and keep it cocoa way?
Milestone: Someday. Labels: #accepted, #needs-patch, Foundation, feature. What's next? This issue needs a volunteer to write and submit code to address it.
Not a priority, sorry.
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.
Milestone: Someday. Labels: #wont-fix, Foundation, feature. What's next? A reviewer or core team member has decided against acting upon this issue.