Category: cocoa

XML Generation in Objective-C with XMLDocument

Posted by – October 21, 2011

XML generation is one of the most common programming tasks done by several developers around the world, with XML we can easily integrate different platforms, using a data format that is very easy to understand and work with.

Unfortunately iOS API doesn’t provide a built in class that help us with XML generation, so I decided to write my own helper class for this purpose.

XMLDocument is a very simple class, you may not found several features that are very common in XML generation, but with this class I could easily implement what I need to get one of my iOS project done.

Here’s how the class is implemented, any help on improvements will be appreciated.


Adding Mask to UITextField

Posted by – February 19, 2010

Cocoa Touch is an awesome API, it contains a large set o frameworks that can be used to create fantastic applications for iPhone, iPod Touch and iPad, but if we compare Cocoa Touch with Cocoa API for MacOSX we won’t find some cool features like masking on input controls.


Writing MacOSX System Services with RubyCocoa

Posted by – September 7, 2009

Today I started my study about RubyCocoa and how it works, my first project was a simple system service for MacOSX Leopard where the user can type a portuguese text, select it and translate to english, the user can also type the text in english and execute the system service to translate it back to portuguese.

Here’s what I did: