![]() |
API
0.9.6
|
#import <CPDateFormatter.h>
Additional Inherited Members | |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(Class) | + class |
(void) | + exposeBinding: |
(void) | + initialize |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(void) | + load |
(id) | + new |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
![]() | |
Class | isa |
Not yet implemented. This is a stub class. *
CPDateFormatter takes a CPDate value and formats it as text for display. It also supports the converse, taking text and interpreting it as a CPDate by configurable formatting rules.
Definition at line 2 of file CPDateFormatter.h.
Definition at line 70 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 138 of file CPDateFormatter.j.
|
implementation |
The default implementation of this method invokes stringForObjectValue:.
When implementing a subclass, override this method only when the string that users see and the string that they edit are different. In your implementation, return an CPString object that is used for editing, following the logic recommended for implementing stringForObjectValue:. As an example, you would implement this method if you want the dollar signs in displayed strings removed for editing.
anObject | the object for which to return an editing string |
Reimplemented from CPFormatter.
Definition at line 92 of file CPDateFormatter.j.
|
implementation |
Reimplemented from CPFormatter.
Provided by category CPDateFormatter(CPCoding).
Definition at line 124 of file CPDateFormatter.j.
|
implementation |
Definition at line 97 of file CPDateFormatter.j.
|
implementation |
Initializes the receiver
Reimplemented from CPObject.
Definition at line 47 of file CPDateFormatter.j.
|
implementation |
Reimplemented from CPFormatter.
Provided by category CPDateFormatter(CPCoding).
Definition at line 112 of file CPDateFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPDateFormatter(CPSynthesizedAccessors).
Definition at line 146 of file CPDateFormatter.j.
|
implementation |
The default implementation of this method raises an exception.
When implementing a subclass, return the CPString object that textually represents the view's object for display and if editingStringForObjectValue: is unimplemented for editing. First test the passed-in object to see if it's of the correct class. If it isn't, return nil; but if it is of the right class, return a properly formatted and, if necessary, localized string. (See the specification of the CPString class for formatting and localizing details.)
anObject | The object for which a textual representation is returned |
Reimplemented from CPFormatter.
Definition at line 84 of file CPDateFormatter.j.
Definition at line 57 of file CPDateFormatter.j.