They convert an NSString to a BOOL and vice versa. This is not exactly true, as these functions work on objects and not with the native BOOL type. To create an object that represents a boolean value, you do [NSNumber numberWithBool:YES];.
Finally, you must register your new value transformer with your controller. I use -(id) init for that: