20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#import "TestsAppDelegate.h"
@implementation TestsAppDelegate (OFLocaleTests)
- (void)localeTests
{
void *pool = objc_autoreleasePoolPush();
of_stdout.foregroundColor = [OFColor lime];
[of_stdout writeFormat: @"[OFLocale] Language: %@\n",
[OFLocale language]];
[of_stdout writeFormat: @"[OFLocale] Territory: %@\n",
[OFLocale territory]];
|
|
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#import "TestsAppDelegate.h"
@implementation TestsAppDelegate (OFLocaleTests)
- (void)localeTests
{
void *pool = objc_autoreleasePoolPush();
[of_stdout setForegroundColor: [OFColor lime]];
[of_stdout writeFormat: @"[OFLocale] Language: %@\n",
[OFLocale language]];
[of_stdout writeFormat: @"[OFLocale] Territory: %@\n",
[OFLocale territory]];
|