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 [...]
Archive for October, 2009
Ultimate proof that the Finder is now a Cocoa application
Posted in Cocoa, F-Script, Smalltalk on October 28, 2009 | 5 Comments »
What’s new in F-Script 2.0
Posted in Cocoa, F-Script, Smalltalk on October 28, 2009 | Leave a Comment »
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 [...]
Switching in F-Script
Posted in Cocoa, F-Script, Smalltalk on October 27, 2009 | 4 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; break; case 2: doSomething2; break; case 3: doSomething3; break; } [...]
F-Script 2.0.2 released
Posted in Cocoa, F-Script, Smalltalk on October 26, 2009 | Leave a Comment »
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.