Apr. 5th, 2010

rbandrews: (Apple)
Xcode is a pile of garbage.

(that's not the misconception, that's the intro)

But, if you want to make apps with windows on the Mac, you have to use it, right? Wrong!

I finally got fed up with all the various shitty ways there are to make GUIs, on the Mac, from modern languages, so I am going to Fix The Problem.

(this is not to imply that RubyCocoa sucks, in fact, it's probably the only non-sucky one, but parts of it suck, like having to use Xcode)

As the very first baby step in this, I've written a program that opens a window, and unlike anyone who does the same in Xcode, I understand every. Last. Damn. Byte of it. So, I'll explain it here, and even leave this post public, that our Googly overlords might index it.
A little code follows )
So, that's how you do it without the tools. Since this is just gcc, you could (say) embed it into another program, or write a Ruby extension for it, or whatever. Enjoy!

Profile

rbandrews: (Default)
rbandrews

July 2024

S M T W T F S
 123456
78910111213
14151617181920
212223242526 27
28293031   

Style Credit

Page generated Jul. 6th, 2025 09:46 pm
Powered by Dreamwidth Studios

Expand Cut Tags

No cut tags

Page Summary