[MacRuby-devel] Using Virtus or SmartProperty as outlets?

Colin Thomas-Arnold colinta at gmail.com
Wed Nov 21 22:47:23 PST 2012


What happens if you use BOTH attr_accessor and attribute - the first for the IB outlet, and the other for validation. Just a thought. 


On Nov 21, 2012, at 11:08 PM, david kramf <dakr.012 at gmail.com> wrote:

> "Basically, I need to make sure that when I ask for an integer, I get an integer. And when I want a string - I can reject anything but strings."
> Can't you use Ruby services like is_a? to force it ?
> Thanks, David Kramf
> On Nov 21, 2012, at 10:04 PM, Carolyn Ann Grant wrote:
> 
>> Basically, I need to make sure that when I ask for an integer, I get an integer. And when I want a string - I can reject anything but strings.
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macruby-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20121121/e223fa8d/attachment-0001.html>


More information about the MacRuby-devel mailing list