Pseudo-Cocoa Delegation Pattern With REALbasic

If you’ve ever done any programming with Cocoa, you’ll notice fairly quickly that the dynamic runtime offered by Objective-C has some serious advantages over traditional function calls.  The Objective-C runtime operates with a concept of messages being sent to objects.  These objects can then handle these messages in any way they choose.  A good example of how this is useful is in the Cocoa delegation design pattern.  When you want to customize an object, you don’t usually need to subclass it.  Instead, you simply provide a delegate to the object that will handle customization.  Delegates in REALbasic are basically function pointers, but in Cocoa, a delegate is an object which responds to certain messages on behalf of another object. Read the rest of this entry »

The REALbasic IDE: Correct Code

When first approached, the REALbasic IDE may seem restrictive to those who have spent their lives writing code in a basic text editor.  The requirement to fill out forms when creating new methods, properties, constants and many other elements of the language may seem to be far less relaxed than more traditional programming.  The benefit, however, is that the IDE actually assists you in properly formatting your code.  Anyone who began programming earlier than the 1990’s will probably admit that they remember spending extra time every now and again just hunting down a compiler bug that would have been immediately solved had the been able to use an IDE like REALbasic.  The editor of REALbasic helps the programmer in writing correct code. Read the rest of this entry »

REALbasic 2009 Release 2.1 Thoughts

I’ve been using REALbasic since version 1.0 and it isn’t unlikely that I have projects from many years ago scattered about my computer.  Throughout the years, REALbasic has taken some turns, even some turns that have cause projects to stop compiling.  The usual process of working through the compiler errors to make old projects run has become a rather common course of events for me.  Some projects even required that I remain in an old version of REALbasic to continue to support the applications.  One of the most frustrating processes I would have to undergo was to bring an old project up-to-date with the current REALbasic.  This has been highly improved in the late 2008 and current 2009 releases of REALbasic.  I’ve been very impressed with the ability to bring my old projects up to the current version of REALbasic quickly. Read the rest of this entry »

TALKbasic Under Construction

The site is undergoing a change.  My goal is to improve the site’s usefulness.