Published on Thursday, March 6, 2008 at 10:29 pm .
They did it! Today Apple released a beta version of the iPhone/iPod touch SDK for developers to create their own applications for these devices. The final SDK is about to be released in June this year.
Unfortunately Apples ADC website seems to be overstrained at the moment with all the developers trying to download the SDK.
Published on Tuesday, January 29, 2008 at 9:36 pm .
On March 8, 2008 the Cocoa Dev House Munich will take place at equinux AG in Munich. There are already nearly 30 attendees on the list and I hope that I can write my name on that list soon, too.
Published on Tuesday, January 22, 2008 at 9:20 pm .
Implementing syntax highlighting can be a painful task. Lots of regular expressions and thinking may be required to master this.
On the search for an easy way to implement a syntax highlighting mechanism for NSTextView I found an easy and fast (regarding runtime) way to do this. By using flex (a tool with its roots in the 1970’s) defining the rules of what should be highlighted makes it a lot more easier and structured.
flex is the GNU version of lex, the lexical analyzer generator (Buzzword jackpot!) developed by Eric Schmidt and Mike Lesk in 1975. By defining some rules (mainly regular expressions) it generates a C program which allows us to scan through a text and do something with the text, e.g. divide it into tokens. Tokens are chunks of characters with a special meaning (as defined in our rules). Confused? Read on, this concept will become very clear soon.
In this article I want to show you how we can use this ancient but very powerful tool to implement a basic syntax highlighting within a NSTextView.
Continue reading ‘Syntax Highlighting for NSTextView with flex’
Published on Thursday, November 22, 2007 at 11:41 am .
As you might know the PostgreSQL Global Development Group is currently working on the final version of the PostgreSQL Database Management System (DBMS) 8.3 which has some nice features. Unfortunately, there is no prebuilt package available for Mac OS X of the current beta versions. But fortunately building PostgreSQL is very easy on Leopard:
Continue reading ‘Building PostgreSQL on Leopard’
Published on Saturday, November 10, 2007 at 11:08 pm .
If you plan to use Adobe Creative Suite 3 on Mac OS X Leopard make sure that the filesystem Creative Suite is installed on is Mac OS Extended (Journaling), and NOT Mac OS Extendend (case-sensitive, Journaling).
Otherwise, the Creative Suite installer ends with an error message which says that the filesystem is not supported, argh.
Published on Wednesday, October 17, 2007 at 6:22 pm .
Today, Steve Jobs announced a native SDK for their mobile OS X devices (iPhone and iPod touch).
This SDK allows third-party developers to create their own applications running natively on the iPhone and iPod touch.
Apple plans “to have an SDK in developers’ hands in February”. Well, that sounds very interesting.
Technorati Tags: Apple, iPhone, SDK
Published on Monday, September 10, 2007 at 8:20 pm .
A few months ago I wrote about a mechanism which allowed simple Pattern Matching with NSPredicate.
Although it is a good method to check if a string matches a Regular Expression it lacks a lot of features you normally expect while you’re doing something with Regular Expressions, such as capturing subpatterns or doing search and replace.
Philip Hazel (who also wrote my favourite SMTP server, Exim created a library called PCRE (Perl-Compatible Regular Expressions) a long time ago which implements the Regular Expression syntax used in Perl (sometimes I miss that time) for the C Programming Language.
While PCRE is great for doing Regular Expressions in C, it’s usage with Objective-C is some kind of cumbersome as NSString objects must be converted to plain C strings and back again.
But recently John Engelhart released an alpha version of his PCRE-based RegexKit framework, which provides a sweet object-oriented interface to Regular Expressions. It looks very mature and there is also a very good documentation available.
Thank you very much, John!
Technorati Tags: objective-c, regular expressions
Published on Monday, August 13, 2007 at 9:53 pm .
I am currently working on a interesting project written in C (more about the project in a few days or weeks) which requires a very clean memory management. I decided to write it in C because it does pretty long and complex calculations and I wanted to do it fast. But using C also means to do the whole memory management by myself. This can be a very hard job especially if a program is very memory-intensive.
Technorati Tags: MallocDebug, memory leaks
Continue reading ‘Locating Memory Leaks with MallocDebug’
Published on Sunday, June 24, 2007 at 8:18 pm .
I am right back from Cologne where the german Mac OS X Developer Bulletin Board (Mac OS X Entwicklerforum) Meeting 2007 took place yesterday/this morning. Developers from all over the country came together to get to know each other in person.
It was really nice and I enjoyed to talk to them in person about their projects and interests and I am really looking forward to the meeting next year.
Technorati Tags: Mac OS X, meeting, Developer
Published on Thursday, May 31, 2007 at 12:04 pm .
I updated the STNPostgreSQL.framework project page with a download link to a Universal Binary of the framework and a few examples on how to use it.
Technorati Tags: objective-c, postgresql
Latest Comments
RSS