I tidied up the code and put a bunch of comments in it. You can see it on:
http://github.com/sxross/MacRuby-Examples/tree/master/nsxml_example/
--steve
On Dec 6, 2009, at 7:20 PM, Jordan K. Hubbard wrote:
>
> On Dec 6, 2009, at 7:17 PM, s.ross wrote:
>
>> So the working code, using the inform
TIm, does gems install correctly with Ruby 1.8.7 which is the default
in Snow Leopard? This should be the case. Next, x86_64 is the
default under Snow Leopard and your bundles are being correctly.
Thus, I would recommend sticking with default compilation settings.
For example, the foll
I am sorry. This is not a macruby question per se, just a question about
plain old ruby on mac (specifically snow leopard) question. But you guys for
sure will know the answer, so I must ask. Why is it that after upgrading to
snow leopard (10.6.2) a long list of gems no longer run on ruby 1.9.1?
U
#485: Use of Snow leopard only string function
+---
Reporter: jus...@…|Owner: lsansone...@…
Type: defect | Status: closed
Priority: major
On Dec 6, 2009, at 6:41 PM, Laurent Sansonetti wrote:
> Hi Steve,
>
> On Dec 5, 2009, at 5:10 PM, s.ross wrote:
>> What I really want to use is Nokogiri. My main issue is that I'm having to
>> reimplement XML-RPC because the Ruby Std. Lib version is broken over SSL.
>> Even if it weren't it's
On Dec 6, 2009, at 7:17 PM, s.ross wrote:
> So the working code, using the information all of you have so patiently given
> me is:
You might want to create a stand-alone example from that and submit it as
sample code, seeing how much work was involved in creating it. :)
- Jordan
This was a combination of what Vincent said [read the documentation... sorry
about my snippy reply earlier] and what is apparently my misreading of the "How
Does MacRuby Work?" Wiki page. Brian, your pointer led me down the path toward
understanding the underlying mapping of types that caused th
#473: setObjectValue does not set floats, integers in NSTextFields properly.
---+
Reporter: johnmacs...@… | Owner: lsansone...@…
Type: defect | Status: new
Hi Steve,
On Dec 5, 2009, at 5:10 PM, s.ross wrote:
What I really want to use is Nokogiri. My main issue is that I'm
having to reimplement XML-RPC because the Ruby Std. Lib version is
broken over SSL. Even if it weren't it's never been thread safe and
thus can't operate asynchronously. As a
On Sun, Dec 6, 2009 at 3:02 PM, S. Ross wrote:
> Yes, well I did read the documentation but thanks for the suggestion. I just
> mistyped in my email. I'm also specifying the Cocoa framework.
>
> None of that seems to explain why initWithData:error returns null.
In the original code you showed, yo
Yes, well I did read the documentation but thanks for the suggestion.
I just mistyped in my email. I'm also specifying the Cocoa framework.
None of that seems to explain why initWithData:error returns null.
I'll give it another whirl.
Hunted and pecked from my iPhone
On Dec 6, 2009, at 2:27
> * initWithString is simply unrecognized as a method
Please look at the documentation first. It's initWithXMLString not
initWithString
> * NSXMLDocumentTidyXML constant is not defined so I just transcribed the
> equivalent bitshift
If you do framework 'Cocoa', NSXMLDocumentTidyXML is properly de
Hi Laurent:
Can't comment on NSXMLDocument but I have been using REXML with MacRuby without
any problems. Great job!
Bob Rice
On Dec 6, 2009, at 3:43 PM, s.ross wrote:
> Laurent--
>
> Sorry to be pesty about this XML thing, but I have Objective-C like this:
>
> NSString* xml = @"steve123
Laurent--
Sorry to be pesty about this XML thing, but I have Objective-C like this:
NSString* xml = @"steve123
mainbob345
First";
NSError* error = [NSError alloc];
NSXMLDocument* xmlDoc = [[NSXMLDocument alloc] initWithXMLString:xml
options:NSXMLDocumentTidyXML error:&error];
NSLog(@"C
14 matches
Mail list logo