//
//  CRTransformersHelpers.h
//  CRKit
//
//  Created by Yaroslav Glushchenko on 4/1/10.
//  Copyright 2010 Corner-A. All rights reserved.
//

#import "NSNumberMultiplyTransformer.h"

#define CRBindingTransformer(p) [NSDictionary dictionaryWithObjectsAndKeys:(p), NSValueTransformerBindingOption, nil]
#define CRBindingTransformerWithName(p) CRBindingTransformer([NSValueTransformer valueTransformerForName:(p)])
#define CRBindingMultiplyTransformer(m) CRBindingTransformer([NSNumberMultiplyTransformer transformerWithMultiplier:(m)])