“The new version of F-Script provides syntax for dynamically creating Cocoa classes. This is great for quickly experimenting, prototyping and using Cocoa interactively. You can type a class definition in the F-script console, hit return and immediately start playing with your new class. This article provides a quick introduction to this easy-to-use and powerful feature. You can experiment with it right now by downloading F-Script 2.0 alpha 3 [.zip].”
Dynamically Creating Cocoa Classes
Submitted by Philippe Mougin 2008-05-26 General Development 3 Comments
I’ve beem meaning to check out f-script for some time (I had a very quick play with it some years back)…
I was just checking out RubyCocoa too (this article reminded me to have a look)…
You can do some cool prototyping and experimenting in python too with PyObjC (which ships with Mac OSX 10.5 by default).
Combine that with iPython and you have a very dynamic environment for testing and prototyping.
Python may not be liked by everyone, but if you do and are interested in Cocoa I’ve found it really is one of the quickest ways to play around and experiment with Cocoa.
(Though I’ll add that F-Script does look cool too.)
Edited 2008-05-26 13:20 UTC
This is great news. The ability to create one’s own custom classes within F-Script will encourage exploration of Cocoa without bounds. Prior versions required one to design his/her class in Objective-C and compile it, which all but nullifies the spontaneity of F-Script’s environment. The FSClass (1.x/2.x) 3rd party solution with was OK but still not ideal, so I hope this helps F-Script to become an even more compelling paradigm in which to dynamically explore programming in Mac OS X!