[MacRuby-devel] [MacRuby] #527: Segmentation fault when stack overflows

2009-12-29 Thread MacRuby
#527: Segmentation fault when stack overflows -+-- Reporter: haruki.zae...@… | Owner: lsansone...@… Type: defect | Status: new Priority: major

Re: [MacRuby-devel] detect the language of a string

2009-12-29 Thread Conrad Taylor
On Tue, Dec 29, 2009 at 10:20 PM, Matt Aimonetti wrote: > Curious of seeing if I could use a Cocoa framework to detect the language > of a string, I ended up finding a surprisingly clean and easy solution. > I decided to post my findings online since I couldn't find anything when I > googled the t

[MacRuby-devel] detect the language of a string

2009-12-29 Thread Matt Aimonetti
Curious of seeing if I could use a Cocoa framework to detect the language of a string, I ended up finding a surprisingly clean and easy solution. I decided to post my findings online since I couldn't find anything when I googled the topic: http://merbist.com/2009/12/29/fun-with-macruby/ In less t

Re: [MacRuby-devel] Input field list

2009-12-29 Thread Matt Aimonetti
note that Obj-C's isKindOfClass is the same as Ruby's #is_a? I would personally iterate on the subviews and use a switch case statement to look at each item's class and act on them accordingly. - Matt On Wed, Dec 30, 2009 at 12:51 AM, Steven Canfield < stevencanfield.macr...@gmail.com> wrote: >

Re: [MacRuby-devel] Input field list

2009-12-29 Thread Steven Canfield
Get the views subviews and iterate on them by class name. - isKindOfClass is the method. You could write filter / utility methods to make this easier. Steve Canfield On Dec 29, 2009, at 10:01 PM, Robert Rice wrote: This is an unrelated Cocoa newbe question but I'm sure someone could help

[MacRuby-devel] Input field list

2009-12-29 Thread Robert Rice
This is an unrelated Cocoa newbe question but I'm sure someone could help me. Is there a way to programmatically get a list of the input and control field objects in a view rather than linking all of the fields separately in Interface Builder? Thanks, Bob Rice _

[MacRuby-devel] Error Handling

2009-12-29 Thread Robert Rice
MacRuby is working out well for my application with the exception of error handling. I find that I cannot get a traceback of all errors even when I have a rescue pushed on the stack. Sending a message to an undefined class action causes a hang with no error message that I cannot recover from. No