Twitter It!

I’ve moved the Pantomime framework into an XCode 3 project and changed some settings to make it compile.

Pantomime is provides classes for mime coding/Encoding, SMTP, POP3 and much more. Since Apple dropped support to send emails using Cocoa, Pantomime might be a good replacement.

Find the zipped XCode project folder here.

Twitter It!

Here’s a small helper class CPreferencesManager which manages application preferences by means of a key/value set, which I added as a comment to coldfusionjedi‘s nice blog:

Sample usecase: Make window positions persist after relaunch of an application:

Read more…

Twitter It!

In case you’d like to learn how to visualize data using Flex or AIR, check this video and see how easy it is to visualize data using DataGrid, AdvandedDataGrid and a CoverFlow component of Doug McCune.

Actually, the author of the video uses one single data source and visualized it using different data-driven components.

Duration: 11 minutes.

Twitter It!

Besides the full features Flex debugger, the trace() method is a useful way to inspect variables during debugging a Flex application: If you start a Flex application in Debug mode, trace() prints the value of the passed expression to consol.

Another way is to register a variable for permanent traceing. This way, the variable gets traced, each time it changes its value.

Based on the following TATRace component, you request tracing of a variable using a small piece of MXML. Suppose you’d like to trace a variable ‘traceableVariable’, then you just add [Bindable] in the line just before the declaration of the variable. This enables the variable to be referenced as ‘{traceableVariable}’.

Mark a variable as traceable

To trace each change of traceableVariable, add this element in your main MXML file

Twitter It!

As always, when I give a new programming system or language a try, I implement a small project.

The project has to be small, to not waste too much time. And the project has to be non-trivial, to really figure out the potentials of the langage and runtime.

In case of Flex, I started to implement a client-side DB-viewer.

Read more…