#import <CPLocale.h>
Inheritance diagram for CPLocale:Class Methods | |
| (CPArray) | + availableLocaleIdentifiers |
| (id) | + currentLocale |
| (CPArray) | + ISOCountryCodes |
| (CPArray) | + ISOLanguageCodes |
| (id) | + systemLocale |
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: |
| (void) | + initialize |
| (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 |
Definition at line 2 of file CPLocale.h.
|
implementation |
Return an array of the availableLocaleIdentifiers
Definition at line 118 of file CPLocale.j.
|
implementation |
Return the current locale based on the navigator string.
Definition at line 86 of file CPLocale.j.
|
implementation |
Provided by category CPLocale(CPCoding).
Definition at line 225 of file CPLocale.j.
|
implementation |
Provided by category CPLocale(CPCoding).
Definition at line 215 of file CPLocale.j.
|
implementation |
Init a new instance of CPLocale with a given identifier. This method will call the class method _platformLocaleAdditionalDescriptionForIdentifier:. It's usefull if you want to implement your CPLocale. anIdentifier
Definition at line 153 of file CPLocale.j.
|
implementation |
Return an array with the ISOCountryCodes
Definition at line 125 of file CPLocale.j.
|
implementation |
Return an array with the ISOLanguageCodes
Definition at line 138 of file CPLocale.j.
|
implementation |
Return the CPLocaleIdentifier
Definition at line 194 of file CPLocale.j.
|
implementation |
Return the object depending of the key
| aKey |
Definition at line 203 of file CPLocale.j.
|
implementation |
Return the system locale. By default is en_US
Definition at line 76 of file CPLocale.j.