Skip to content

Commit

Permalink
Revert Objective-C back to using NSLog()
Browse files Browse the repository at this point in the history
  • Loading branch information
rhedshi committed Oct 14, 2015
1 parent 21abe04 commit 401f17b
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions o/objc.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,5 @@

int main(void)
{
@autoreleasepool
{
NSFileHandle *_stderr = [NSFileHandle fileHandleWithStandardError];
NSString *string = @"hello, world\n";
NSData *data = [string dataUsingEncoding:[NSString defaultCStringEncoding]];
[_stderr writeData:data];
}
return EXIT_SUCCESS;
}
NSLog(@"Hello World");
}

0 comments on commit 401f17b

Please sign in to comment.