ASIHTTPRequest examples
Hi everyone, I was wondering if there any example apps that use ASIHTTPRequest<http://allseeing-i.com/ASIHTTPRequest/> that I might be able to have a look at?
I wasn't pleased with the APIs provided by ASIHTTPRequest so I wrote my own async/sync wrapper: https://github.com/mattetti/macruby-httpwrapper Feel free to use/fork/fix/improve/abuse. - Matt Sent from my iPhone On Oct 11, 2011, at 17:19, Alex Heaton <alex@heaton.me> wrote:
Hi everyone,
I was wondering if there any example apps that use ASIHTTPRequest that I might be able to have a look at? _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Briquette uses it extensively but we haven't open sourced it (yet). I can answer a lot of questions about ASI though; we had a pretty good experience with it once we patched some GC issues. For alternatives, AFNetworking is a good new option too. On Oct 11, 2011, at 6:19 PM, Alex Heaton <alex@heaton.me> wrote:
Hi everyone,
I was wondering if there any example apps that use ASIHTTPRequest that I might be able to have a look at? _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
I'm brand new to MacRuby so my questions are rather silly things like how to actually import the files and get running :) Matt: Thanks for the link, but I'm mainly using this for file uploads. - Alex On 12 October 2011 01:58, Dominic Dagradi <dominic@bearded.com> wrote:
Briquette uses it extensively but we haven't open sourced it (yet). I can answer a lot of questions about ASI though; we had a pretty good experience with it once we patched some GC issues.
For alternatives, AFNetworking is a good new option too.
On Oct 11, 2011, at 6:19 PM, Alex Heaton <alex@heaton.me> wrote:
Hi everyone,
I was wondering if there any example apps that use ASIHTTPRequest<http://allseeing-i.com/ASIHTTPRequest/> that I might be able to have a look at?
_______________________________________________
MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
To use it from Ruby file, you don't need to require anything. Just drag-and-drop it into your Xcode project window (i.e. include it in your project somehow), and you should have access to the classes from Ruby without extra work. On Oct 11, 2011, at 7:22 PM, Alex Heaton <alex@heaton.me> wrote:
I'm brand new to MacRuby so my questions are rather silly things like how to actually import the files and get running :)
Matt: Thanks for the link, but I'm mainly using this for file uploads.
- Alex
On 12 October 2011 01:58, Dominic Dagradi <dominic@bearded.com> wrote: Briquette uses it extensively but we haven't open sourced it (yet). I can answer a lot of questions about ASI though; we had a pretty good experience with it once we patched some GC issues.
For alternatives, AFNetworking is a good new option too.
On Oct 11, 2011, at 6:19 PM, Alex Heaton <alex@heaton.me> wrote:
Hi everyone,
I was wondering if there any example apps that use ASIHTTPRequest that I might be able to have a look at? _______________________________________________
MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Slightly offtopic: This gave me the idea to make CocoaPods handle BridgeSupport for dependencies as well: https://github.com/alloy/cocoapods/issues/23 On 12 okt. 2011, at 03:30, Dominic Dagradi <dominic@bearded.com> wrote:
To use it from Ruby file, you don't need to require anything. Just drag-and-drop it into your Xcode project window (i.e. include it in your project somehow), and you should have access to the classes from Ruby without extra work.
On Oct 11, 2011, at 7:22 PM, Alex Heaton <alex@heaton.me> wrote:
I'm brand new to MacRuby so my questions are rather silly things like how to actually import the files and get running :)
Matt: Thanks for the link, but I'm mainly using this for file uploads.
- Alex
On 12 October 2011 01:58, Dominic Dagradi <dominic@bearded.com> wrote: Briquette uses it extensively but we haven't open sourced it (yet). I can answer a lot of questions about ASI though; we had a pretty good experience with it once we patched some GC issues.
For alternatives, AFNetworking is a good new option too.
On Oct 11, 2011, at 6:19 PM, Alex Heaton <alex@heaton.me> wrote:
Hi everyone,
I was wondering if there any example apps that use ASIHTTPRequest that I might be able to have a look at? _______________________________________________
MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi, I’ve just released CocoaPods 0.1.0 https://github.com/alloy/cocoapods, which can now be used for OS X development. In addition it now also generated BridgeSupport metadata files from the Pods, which makes it very easy to use these libraries from MacRuby. There is a MacRuby example which uses ASIHTTPRequest and SBJson: https://github.com/alloy/cocoapods/blob/master/examples/MacRubySample/MacRub... To run it locally, follow these steps and then build it from Xcode: $ macgem install cocoapods $ pod setup $ git clone git@github.com:alloy/cocoapods.git $ cd cocoapods/examples/MacRubySample $ pod install $ open MacRubySample.xcworkspace (For now there’s still one small caveat, which is that CocoaPods doesn’t yet configure the generated xcode project to compile with GC support, so you will have to enable that manually now. This will soon be fixed.) Cheers, Eloy
participants (4)
-
Alex Heaton
-
Dominic Dagradi
-
Eloy Duran
-
Matt Aimonetti