Skip to content

Commit

Permalink
Remove define checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Wevah committed Jul 3, 2020
1 parent ebd3abc commit a6af990
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Mac (ObjC)/Controller.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,7 @@ @interface Controller ()
@implementation Controller

- (void)awakeFromNib {
#if PUNYCODE_COCOA_USE_WEBKIT
# define PUNYCODE_COCOA_LIBNAME @"WebKit"
#elif PUNYCODE_COCOA_USE_ICU
# define PUNYCODE_COCOA_LIBNAME @"ICU"
#else
# define PUNYCODE_COCOA_LIBNAME @"custom"
#endif

self.window.title = [NSString stringWithFormat:@"%@ (%@)", self.window.title, PUNYCODE_COCOA_LIBNAME];
self.window.title = [NSString stringWithFormat:@"%@ (ObjC)", self.window.title];
}

- (IBAction)stringToIDNA:(id)sender {
Expand Down

0 comments on commit a6af990

Please sign in to comment.