jamonholmgren / ProMotion

ProMotion is a RubyMotion gem that makes iPhone development less like Objective-C and more like Ruby.
MIT License
1.26k stars 147 forks source link

RubyMotion 2.0 (OSX Support) and ProMotion #60

Closed jamonholmgren closed 11 years ago

jamonholmgren commented 11 years ago

I just read the blog post about RubyMotion 2.0 (adding OSX support):

http://blog.rubymotion.com/post/49943751398/rubymotion-goes-2-0-and-gets-osx-support-templates-and

This is great news! I plan to start playing around with it at some point.

This is a ticket to discuss whether it makes sense to include OSX support in ProMotion or not. Feel free to give your impressions/thoughts.

silasjmatson commented 11 years ago

Questions:

  1. Does ProMotion's concept of screens work for Desktop apps?
  2. Are we going to have a lot of if osx do something else going on?

I'm hesitant to say we should add support. ProMotion is a framework, whereas BubbleWrap and SugarCube are wrappers. Maybe a fork of ProMotion to OSX would work better.

macfanatic commented 11 years ago

@silasj - Agreed, I think a fork or a separate gem would make the most sense. I haven't seen a lot of code that would port over easily, as everything is UIKit dependent and not AppKit reliant.

If there was a significant amount of shared code, I would want that created as a "ProMotion-Core" gem that is a gem dependency on the two iOS/Mac gems.

jamonholmgren commented 11 years ago

Agree with you guys. ProMotion is really centered around simplifying the UIViewController (UIKit) navigation and presentation objects. Making it work with both OSX and iOS could complicate things unnecessarily. So I'm leaning heavily toward just specializing for iOS.