Thanks for this. I think it's pretty slick. I think the view name for
the default project should be AccountSetupView, but other than that,
cool. I'm just struggling with MacRuby and HotCocoa right now -- doing
much more Rails, so maybe I'm the wrong person to ask. But the M ...
as far as I
I've been toying around with MacRuby and I'm particularly interested
in the MVC stuff that's been mentioned of late. I decided to do a
proof of concept that consumes an XML-RPC Web service and wanted to
parse it using hpricot. But... the gem won't build. Questions: Is it
just me or has this
0.5 pretty soon. In the mean time, HotCocoa has a XML parser
which works pretty well, check the hotcocoa mappings + do a search
on this mailing list to find a quick example wrote by Rich Kilmer.
- Matt
On Tue, Apr 21, 2009 at 3:00 PM, s.ross wrote:
I've been toying around with Mac
I'm wanting to access a Web service via XML-RPC. My Ruby solution
includes XML-RPC and Nokogiri. I'm unable to get these gems to install
under MacRuby 0.4 (and probably shouldn't expect that). Is there a
good solution for doing this or should I be patient?
Thanks,
Steve
___
Not sure whether this is the right way to report this, but I have a
trivial XCode MacRuby project that consistently causes the assertion
shown below. I can package up the project if need be.
OSX 10.6.1
Here is the console log (did a Build > Clean All Targets, the Build &
Run):
run
[Switc
pcoming release.
Laurent
On Sep 13, 2009, at 3:39 PM, s.ross wrote:
Not sure whether this is the right way to report this, but I have a
trivial XCode MacRuby project that consistently causes the
assertion shown below. I can package up the project if need be.
OSX 10.6.1
Here is the console l
uter? This could explain the
problem, MacRuby trunk doesn't currently run on 32-bit machines.
This will be solved for the upcoming release.
Laurent
On Sep 13, 2009, at 3:39 PM, s.ross wrote:
Not sure whether this is the right way to report this, but I have a
trivial XCode MacRu
Great progress. I'm pretty sure you would have mentioned it in the
release notes if it were stable, but has there been any progress
making MacRuby work properly on Snow Leopard 32-bit architectures like
the Core Duo? (nag, nag :)
Thx
On Oct 5, 2009, at 2:34 PM, Laurent Sansonetti wrote:
Laurent Sansonetti wrote:
Hi,
I fixed several 32-bit bugs, so it should be better. However, the
specs don't pass at 100% yet (a notable thing is that ruby
exceptions cannot be intercepted by objc).
Feel free to give it a try and let us know if it's better now :)
Laurent
On Oct 5,
Hello-
On Oct 5, 2009, at 10:48 PM, Vincent Isambart wrote:
[Switching to process 1982]
Running…
2009-10-05 22:29:51.141 IStockCocoa[1982:80f] Error loading
/Library/InputManagers/GearsEnabler.old/GearsEnabler.bundle/
Contents/MacOS/GearsEnabler:
dlopen(/Library/InputManagers/GearsEnabler.old/
Whoa, thanks for the help with the Gears enabler. It didn't relate to
the problem. It was, as is most often the case, user error on my part.
Reduced:
class ControllerBase < NSObject
end
class TitleController < ControllerBase
@ControllerBase.setTextColor(NSColor::redColor) # <= yeah, right.
arch -i386 macruby -e "@foo.bar"
-e:in `': undefined method `bar' for nil:NilClass
(NoMethodError)
It would be awesome if you could extract the crash to a separate
project and attach it to a Trac ticket.
Laurent
On Oct 6, 2009, at 8:18 AM, s.ross wrote:
Whoa, than
Well in the meantime, doesn't a daemon that issues distributed
notifications accomplish a similar goal?
Hunted and pecked from my iPhone
On Oct 11, 2009, at 2:10 PM, "Jordan K. Hubbard" wrote:
On Oct 11, 2009, at 1:45 PM, Robert Rice wrote:
NSTimer wil work well for my app except I will s
On Oct 15, 2009, at 1:43 PM, Laurent Sansonetti wrote:
Hi Craig,
On Oct 14, 2009, at 7:07 PM, Craig Williams wrote:
Hi Everyone,
I have searched the web but have not found a good explanation on
how to use
gems in a MacRuby project. Is there a tutorial I am missing?
We should definitely
On Oct 15, 2009, at 6:10 PM, Conrad Taylor wrote:
On Thu, Oct 15, 2009 at 5:03 PM, s.ross wrote:
On Oct 15, 2009, at 1:43 PM, Laurent Sansonetti wrote:
Hi Craig,
On Oct 14, 2009, at 7:07 PM, Craig Williams wrote:
Hi Everyone,
I have searched the web but have not found a good explanation
I'm trying to implement the RaiseMan example from Aaron Hillegass's
book in MacRuby. All has gone pretty well until I reached undo. The
idea is to handle the insertObject message each time a Person is
inserted and manipulate the undo stack.
def insertObject(p, inEmployeesAtIndex:index)
On Oct 25, 2009, at 5:00 PM, Matt Aimonetti wrote:
I'm back from vacation and wrote a very simple tutorial:
MacRuby tips: create a Cocoa file/folder browser in a few lines of
code: http://bit.ly/1VuxBZ
It looks like it's time for me to move my tutorials http://merbist.com/category/macruby/
ne?
if not perhaps you could post somewhere the MyDocument.rb code for
us to look at?
Cheers,
J
On Sun, Oct 25, 2009 at 7:17 PM, s.ross wrote:
I'm trying to implement the RaiseMan example from Aaron Hillegass's
book in MacRuby. All has gone pretty well until I reached undo. The
i
debugging as opposed to wiring things up in
code IMO.
Not a solution but perhaps you can work around it, by using your own
controller actions, and then exploring the undo aspects?
Cheers,
John
On Mon, Oct 26, 2009 at 4:06 PM, s.ross wrote:
John--
I've started a github repo at
On Oct 28, 2009, at 11:25 PM, MacRuby wrote:
#394: Unrecognized runtime type _NSRange=II
---
+
Reporter: cwdi...@… |Owner: lsansone...@…
Type: defect | Status: closed
Priority: b
When installing the gem using macgem, a shebang line is written
pointing to macruby. The "spec" binary copied into /usr/bin forever
after (or until manually edited or reinstalled) contains that shebang.
Until MacRuby is close to parity with MRI (say... when MRI can run
Rails), this may make
My code receives XML data from a Web Service API call that is in UTF8 encoding.
This winds up in a string.
return_data = NSURLConnection.sendSynchronousRequest(@request,
returningResponse: response, error: error)
str = NSString.alloc.initWithData(return_data, encoding:
NSUTF8StringEncod
Laurent--
Thanks for the quick reply. See comments below:
On Dec 5, 2009, at 4:22 PM, Laurent Sansonetti wrote:
> Hi Steve,
>
> On Dec 5, 2009, at 1:45 PM, s.ross wrote:
>
>> My code receives XML data from a Web Service API call that is in UTF8
>> encoding. T
ocumentTidyXML constant is not defined so I just transcribed the
equivalent bitshift
* The resultant XML document is null
I'm not filing this as a bug because I think it might be a failure on my part
to understand how this set of methods maps onto MacRuby.
Thanks,
Steve
On Dec 5, 2009,
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
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.
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
There are a number of questions I know I have coming from a Ruby/Rails and not
a Cocoa background. These questions can be difficult to answer in the context
of Objective-C (and heck, Ruby makes a lot of the Objective-C syntactic vinegar
just go away). They are also not specifically about MacRuby
28 matches
Mail list logo