[MacRuby-devel] Manage array of objects within object's class?

2013-05-17 Thread Jeff Dyck
Hey, I'm working on developing an app in MacRuby that uses HTTParty to consume a Web Service. I'm hoping someone can help me wrap my head around some of the Model - View - Controller stuff... >From reading some tutorials on MacRuby (and RubyMotion), it seems that it's >best practice to have a

Re: [MacRuby-devel] Fwd: OS X10.9 & MacRuby's future...

2013-05-17 Thread Mark Villacampa
I think all these limitations that Rubymotion for OSX has right now are due to the fact that it is a direct port of the iOS version (which has those limitations because of the way iOS works and AppStore policies). In the future, Rubymotion for OSX will evolve and probably look more like Macruby.

Re: [MacRuby-devel] Fwd: OS X10.9 & MacRuby's future...

2013-05-17 Thread stephen horne
Oh, and "load()" isn't supported either. That's a shame because it means MacRubyReload by Jean-Denis Muys won't work. I had a nifty version of that that reloaded your source files as you save them too =[ fb david kramf 17/05/2013 13:19 Is RubyMotion  a full Ruby. Does

Re: [MacRuby-devel] Fwd: OS X10.9 & MacRuby's future...

2013-05-17 Thread stephen horne
Matt Aimonetti 17/05/2013 13:30 Is "require" supported in RubyMotion for OS X? Good point, no it's not. This is something that I've never missed though. Would the benefit of "require" be the prevention of pollution of the global namespace? And, I suppose it would allow y

Re: [MacRuby-devel] Fwd: OS X10.9 & MacRuby's future...

2013-05-17 Thread Francis Chong
@matt I don't think so. I tried one project and certainly need major change. (Move the Xcode project to new project structure)  — Sent from Mailbox for iPhone On Fri, May 17, 2013 at 8:31 PM, Matt Aimonetti wrote: > Is "require" supported in RubyMotion for OS X? What about Ruby gems? > Can one

Re: [MacRuby-devel] Fwd: OS X10.9 & MacRuby's future...

2013-05-17 Thread Francis Chong
@david depends on your definition on full ruby. I would say standard library is part is full ruby, where RubyMotion deliberately remove part of them @stephen thanks for the update, I should have tested that myself— Sent from Mailbox for iPhone On Fri, May 17, 2013 at 8:26 PM, stephen horne wro

Re: [MacRuby-devel] Fwd: OS X10.9 & MacRuby's future...

2013-05-17 Thread Matt Aimonetti
Is "require" supported in RubyMotion for OS X? What about Ruby gems? Can one just compile his/her own MacRuby project using RubyMotion without making any (major) changes? - Matt On Fri, May 17, 2013 at 2:26 PM, stephen horne wrote: > From what I understand, the only thing missing in Rubymotion

Re: [MacRuby-devel] Fwd: OS X10.9 & MacRuby's future...

2013-05-17 Thread stephen horne
From what I understand, the only thing missing in Rubymotion is eval() There's an article by Clay Allsop about meta-programming in Rubymotion at http://clayallsopp.com/posts/rubymotion-metaprogramming/ I tested to see if eval() works in desktop Rubymotion apps (I read somewhere that the reason

Re: [MacRuby-devel] Fwd: OS X10.9 & MacRuby's future...

2013-05-17 Thread Colin T.A. Gray
not full, no, but it does support most things, like define_method, instance_eval, responds? eval('ruby code') is most definitely not supported. is that a feature or a bug? you decide ;-) If there's a complete list of reflection/metaprogramming related methods out there, I could try and tell y

[MacRuby-devel] Fwd: OS X10.9 & MacRuby's future...

2013-05-17 Thread david kramf
Is RubyMotion a full Ruby. Does it support reflection and metaprograming? Thanks, David Kramf Begin forwarded message: > From: Francis Chong > Subject: Re: [MacRuby-devel] OS X10.9 & MacRuby's future... > Date: May 17, 2013 2:15:40 PM GMT+03:00 > To: "MacRuby development discussions." > Reply

Re: [MacRuby-devel] OS X10.9 & MacRuby's future...

2013-05-17 Thread Francis Chong
While I'm really happy about OS X support on RubyMotion, it is not a replacement for MacRuby.  IMHO MacRuby is far superior: It offer JIT compiler, you develop orders of magnitude faster as you dont need clean and rebuild every time. You have full ruby compatibility, load standard library a