Archive for the 'Mac OS X' Category

Regular Expressions for NSString

Last weekend I was looking for different options to validate NSString objects against some regular expressions.
While there are some 3rd party classes for doing regular expressions in Cocoa and wrappers for Perl/PCRE there is a way to do that without external software. The magic word is called NSPredicate.
This approach may perhaps not be obvious because there is (at this time) no direct documentation or hint in the ADC documentation.

Technorati Tags: ,

Continue reading ‘Regular Expressions for NSString’

C Tutorial “Masters of the Void” completed

If you are looking for a good C tutorial you should definitely have a look at Uli Kusterers ‘Masters of the Void‘.

Technorati Tags: ,

Continue reading ‘C Tutorial “Masters of the Void” completed’

Weblogs about Mac OS X development

If you’re a mac developer you certainly subscribed some weblogs about Cocoa development with OS X.
Scott Stevenson created a nice new website called Cocoa Blogs. It bundles weblogs and tutorials from well known OS X developers.
The place to go for your daily Cocoa dose.

Great idea and very cool design.
Thank you, Scott.

Technorati Tags: , ,

New code snippet: STNKeychainAccess

A few minutes ago I updated the projects page. I added a subcategory Little Helpers in which I will publish some code snippets for different purposes.

The first one is an Objective-C class for accessing the keychain service in Mac OS X: STNKeychainAccess.

In the downloadable zip-file you can find a Xcode project with a small cocoa application which shows how this class can be used in your application.

Have fun!

Technorati Tags: , , ,