Skip to content

Instantly share code, notes, and snippets.

Avatar

Jesse Cox forgot

View GitHub Profile
View index.html
<div class="container">
<div class="col" style="margin-top: 20px;">
<div class="row">
<div class="col border">
<h1 class="display-1 text-center" id="cases_val">#</h1>
<h1 class="display-4 text-center">Cases Reported</h1>
</div>
<div class="col border">
<h1 class="display-1 text-center" id="deaths_val">#</h1>
<h1 class="display-4 text-center">Deaths</h1>
@forgot
forgot / CocoaLumberjack Line Number LogFormatter.md
Last active Aug 29, 2015
CocoaLumberjack Line Number LogFormatter
View CocoaLumberjack Line Number LogFormatter.md

All credit goes to Stack Overflow user UrK for the answer here: http://stackoverflow.com/a/19311779/862224

@interface LineNumberLogFormatter : NSObject<DDLogFormatter>

- (NSString *)formatLogMessage:(DDLogMessage *)logMessage;

@end

@implementation LineNumberLogFormatter
- (NSString *)formatLogMessage:(DDLogMessage *)logMessage
View gist:11370536

###This is a test Seeing if it works using

NSString *myCoolString = [NSString stringWithFormat:@"Freaking Sweet String!"];

- (void) makeItBetter:(NSString *)awesomify {
myCoolString = [NSString stringWithFormat:@"%@ Awesome!", myCoolString];
}