Rich Kilmer's place to express the ideas that bounce around in his head.

Wednesday, May 04, 2005

ActionStep source is on SourceForge

Well, I went released (in CVS) what I have been busy working on for the last month. ActionStep source is now available on the project site under a BSD-style license. Whew. Porting OpenStep to ActionScript is quite a pain, and there is so very much to do. The goal was to mirror the API as much as possible (with necessary syntactic variations). In Objective-C you would create a button like this:

[[NSButton alloc] initWithFrame:NSMakeRect(10,10,50,20)]

In ActionStep you do this:

(new NSButton()).initWithFrame(new NSRect(10,10,50,20));

Other than that, the API is going to attempt to support as much as my/our little fingers can port. I have NSButton and NSTextView working, but will be making them better over the next few days. Scott Hyndman has joined in and is working on NSBox to get his feet wet. NSNotifications all work, target-action, the responder chain...good times!

When I can lay out a strategy for total domination of the UI world, I will post again, for now I need to sleep.