mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Add NSByteCountFormatter.[hm] class.
This commit is contained in:
parent
c44e2b5bf8
commit
bb117a17db
4 changed files with 298 additions and 0 deletions
|
@ -35,6 +35,23 @@
|
|||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum {
|
||||
NSFormattingContextUnknown = 0,
|
||||
NSFormattingContextDynamic,
|
||||
NSFormattingContextStandalone,
|
||||
NSFormattingContextListItem,
|
||||
NSFormattingContextBeginningOfSentence,
|
||||
NSFormattingContextMiddleOfSentence,
|
||||
};
|
||||
typedef NSInteger NSFormattingContext;
|
||||
|
||||
enum {
|
||||
NSFormattingUnitStyleShort = 1,
|
||||
NSFormattingUnitStyleMedium,
|
||||
NSFormattingUnitStyleLong,
|
||||
};
|
||||
typedef NSInteger NSFormattingUnitStyle;
|
||||
|
||||
@class NSString, NSAttributedString, NSDictionary;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue