Posted in Cocoa, F-Script, Smalltalk on October 28, 2009 | 4 Comments »
F-Script injected into the Finder:
Looking around with the object browser. Cocoa all over the place!
The NSApplication singleton and its delegate… So cute!
Have you ever seen the Finder’s Cover Flow from the inside? Look at that setFog: method on the IKImageFlowCell… Yummy!
Ultimate proof that the Finder makes use of bindings:
Seems that the names of [...]
Read Full Post »
Garbage collection
New in F-Script 2.0 is a fast, concurrent, generational garbage collector. It was a lot of work to implement. Fortunately, Apple did all of it, as F-Script 2.0 uses the new Objective-C garbage collector. As with Objective-C, when you run F-Script in GC mode you no longer have to manage retain counts and to [...]
Read Full Post »
Posted in Cocoa, F-Script, Smalltalk on October 27, 2009 | 2 Comments »
There is no switch/case statement or method in F-Script and Smalltalk. Usually, switching is done by taking advantage of object polymorphism or by simply nesting ifTrue:IfFalse: messages. For example, here is some C pseudo code with a switch statement:
switch (aValue)
{
case 1: doSomething1;
[...]
Read Full Post »
F-Script 2.0.2 is now available at http://www.fscript.org/download/F-Script20091026.zip
This version improves integration with Snow Leopard and fixes a memory management bug in the F-Script class creation system when running in reference counting mode. You are advised to upgrade.
Read Full Post »