API  1.0.0
CPValueTransformer Class Reference

#import <CPValueTransformer.h>

+ Inheritance diagram for CPValueTransformer:

Instance Methods

(id) - reverseTransformedValue: 
 
(id) - transformedValue: 
 
- Instance Methods inherited from CPObject
(void) - addObserver:forKeyPath:options:context: 
 
(void) - applyChange:toKeyPath: 
 
(id) - autorelease 
 
(id) - awakeAfterUsingCoder: 
 
(void) - awakeFromCib 
 
(void) - bind:toObject:withKeyPath:options: 
 
(Class) - classForCoder 
 
(Class) - classForKeyedArchiver 
 
(CPString) - className 
 
(id) - copy 
 
(void) - dealloc 
 
(CPString) - description 
 
(CPDictionary) - dictionaryWithValuesForKeys: 
 
(void) - didChange:valuesAtIndexes:forKey: 
 
(void) - didChangeValueForKey: 
 
(void) - didChangeValueForKey:withSetMutation:usingObjects: 
 
(void) - doesNotRecognizeSelector: 
 
(CPArray) - exposedBindings 
 
(id) - forwardingTargetForSelector: 
 
(void) - forwardInvocation: 
 
(unsigned) - hash 
 
(BOOL) - implementsSelector: 
 
(CPDictionary) - infoForBinding: 
 
(id) - init 
 
(BOOL) - isEqual: 
 
(BOOL) - isKindOfClass: 
 
(BOOL) - isMemberOfClass: 
 
(BOOL) - isProxy 
 
(IMP) - methodForSelector: 
 
(CPMethodSignature) - methodSignatureForSelector: 
 
(id) - mutableArrayValueForKey: 
 
(id) - mutableArrayValueForKeyPath: 
 
(id) - mutableCopy 
 
(id) - mutableSetValueForKey: 
 
(id) - mutableSetValueForKeyPath: 
 
(id) - performSelector: 
 
(id) - performSelector:withObject: 
 
(void) - performSelector:withObject:afterDelay: 
 
(void) - performSelector:withObject:afterDelay:inModes: 
 
(id) - performSelector:withObject:withObject: 
 
(id) - performSelector:withObjects: 
 
(void) - release 
 
(void) - removeObserver:forKeyPath: 
 
(id) - replacementObjectForArchiver: 
 
(id) - replacementObjectForCoder: 
 
(id) - replacementObjectForKeyedArchiver: 
 
(BOOL) - respondsToSelector: 
 
(id) - retain 
 
(id) - self 
 
(void) - setValue:forKey: 
 
(void) - setValue:forKeyPath: 
 
(void) - setValue:forUndefinedKey: 
 
(void) - setValuesForKeysWithDictionary: 
 
(CPString) - UID 
 
(void) - unbind: 
 
(Class) - valueClassForBinding: 
 
(id) - valueForKey: 
 
(id) - valueForKeyPath: 
 
(id) - valueForUndefinedKey: 
 
(void) - willChange:valuesAtIndexes:forKey: 
 
(void) - willChangeValueForKey: 
 
(void) - willChangeValueForKey:withSetMutation:usingObjects: 
 

Class Methods

(BOOL) + allowsReverseTransformation 
 
(void) + initialize 
 
(void) + setValueTransformer:forName: 
 
(Class) + transformedValueClass 
 
(CPValueTransformer) + valueTransformerForName: 
 
(CPArray) + valueTransformerNames 
 
- Class Methods inherited from CPObject
(BOOL) + accessInstanceVariablesDirectly 
 
(id) + alloc 
 
(id) + allocWithCoder: 
 
(BOOL) + automaticallyNotifiesObserversForKey: 
 
(void) + cancelPreviousPerformRequestsWithTarget: 
 
(void) + cancelPreviousPerformRequestsWithTarget:selector:object: 
 
(Class) + class 
 
(BOOL) + conformsToProtocol: 
 
(void) + exposeBinding: 
 
(IMP) + instanceMethodForSelector: 
 
(BOOL) + instancesImplementSelector: 
 
(BOOL) + instancesRespondToSelector: 
 
(BOOL) + isBindingExclusive: 
 
(BOOL) + isSubclassOfClass: 
 
(CPSet) + keyPathsForValuesAffectingValueForKey: 
 
(void) + load 
 
(id) + new 
 
(void) + object:performSelector:withObject:afterDelay:inModes: 
 
(void) + setVersion: 
 
(Class) + superclass 
 
(int) + version 
 

Detailed Description

Definition at line 2 of file CPValueTransformer.h.

Method Documentation

◆ allowsReverseTransformation()

+ (BOOL) allowsReverseTransformation
implementation

◆ initialize()

+ (void) initialize
implementation

Reimplemented from CPObject.

Definition at line 33 of file CPValueTransformer.j.

◆ reverseTransformedValue:()

- (id) reverseTransformedValue: (id)  aValue
implementation

Reimplemented in CPNegateBooleanTransformer, and CPUnarchiveFromDataTransformer.

Definition at line 69 of file CPValueTransformer.j.

◆ setValueTransformer:forName:()

+ (void) setValueTransformer: (CPValueTransformer)  transformer
forName: (CPString)  aName 
implementation

Definition at line 44 of file CPValueTransformer.j.

◆ transformedValue:()

- (id) transformedValue: (id)  aValue
implementation

◆ transformedValueClass()

+ (Class) transformedValueClass
implementation

◆ valueTransformerForName:()

+ (CPValueTransformer) valueTransformerForName: (CPString)  aName
implementation

Definition at line 49 of file CPValueTransformer.j.

◆ valueTransformerNames()

+ (CPArray) valueTransformerNames
implementation

Definition at line 54 of file CPValueTransformer.j.


The documentation for this class was generated from the following files: