rubymotion-community/ib

Always assumes you're on iOS?

Closed this issue · 2 comments

jm commented

I'm building an OS X app out with ib. It works great, but only after I fix the references to UIApplicationDelegate and UIResponder to point their NS* equivalents in the stub files.

It'd be awesome if there would be a way to figure out what sort of application you're running the task in and generate the proper code accordingly. I could probably whip up a PR, but I wanted to make sure that was something you'd be interested in or hadn't already fixed. 😄

Yes, we definitely want support for that, actually I thought we already HAD support...

6f574a0

On May 29, 2014, at 4:42 PM, Jeremy McAnally notifications@github.com wrote:

I'm building an OS X app out with ib. It works great, but only after I fix the references to UIApplicationDelegate and UIResponder to point their NS* equivalents in the stub files.

It'd be awesome if there would be a way to figure out what sort of application you're running the task in and generate the proper code accordingly. I could probably whip up a PR, but I wanted to make sure that was something you'd be interested in or hadn't already fixed.


Reply to this email directly or view it on GitHub.

jm commented

Wow, yeah, that looks like it should work! I'll dig around tonight and see if I can sniff out the problem.