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