Monthly Archive for December, 2005

Merry Christmas

Yes! Its that time of year again, Christmas time! I love Christmas, its got to be my favorite time of year. Lots of family, food, presents, fun and celebration of the birth of our Lord! What could be better?

Our family has a tradition of getting together on Christmas eve and eating 7 types of different fish dishes. Its lot of fun, this year their will be about 27 people total at our family gathering.

In any case, I wish you a very merry Christmas, and a happy new year!

Interface Builder: Connection Trick

While working on the next version of XASH I came across a problem: I couldn’t seem to connect to a WebView which was a sub-view of a NSView which was a sub-view of a NSSplitView. The connector just wouldn’t select the WebView no-matter how I dragged my mouse over it. I did some research and came across a feature I never knew existed in interface builder, a hierarchical view of all the UI elements and object instances:

The badly circled button on the right of the window allows you to access this view.

This is really nice for easily setting up connections between controller objects and UI elements- you can easily select the UI elements no-matter how deep the UI elements are nested.

CSS Optimizer X 1.1

CSS Optimizer X 1.1 is now available for download. The only change in CSS Optimizer X is that it now uses the CSS Optimizer 1.0 command line application internally.

Enjoy!

New Xcode Actionscript Language Definition File

The new actionscript language definition files that I posted about earlier are available. You can get the Flash 7 or the Flash 8 version of the definition files. You can download the BASH script I wrote which generates the files here. To install simply drop the two files included in the download into

/Library/Application Support/Apple/Developer Tools/Specifications

. Kudos to Sam Robbins for creating the original actionscript language definition file.

The best thing about the new language definition files is placeholders for actionscript functions & methods like in Objective-C. Here’s a screenshot of the code-sense with placeholders in action:

Actionscript keyword list in Xcode
Placeholders for actionscript in action!

Let me know if you have any suggestions for improvements!

Enjoy!