FOR IMMEDIATE RELEASE
## AppName vX.X does something interesting
AppName vX.X is on the App Store now, and features the following very interesting feature. This is a summary, so I'm focusing on the lead. Just something to make me want to read the rest. Done.
City, State/Country - [Company/Developer] has released AppName vX.X, available in the Mac App Store. AppName is/does [broad, general strokes]. [A few more specific points about who it's for and why it's of benefit to them].
New features!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*----------------------------------------------------*/ | |
#pragma mark - XCTAsserts | |
/*----------------------------------------------------*/ | |
XCTAssert(expression, format...); | |
XCTAssertTrue(expression, format...); | |
XCTAssertFalse(expression, format...); | |
XCTAssertEqual(expression1, expression2, format...); | |
XCTAssertNotEqual(expression1, expression2, format...); | |
XCTAssertNil(expression, format...); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var prettyTweetDate = function(tweetDateFromJSON) { | |
var tweetDate = new Date(Date.parse(tweetDateFromJSON)), | |
tweetHours = tweetDate.getHours(); | |
tweetHours = (tweetHours < 13) ? tweetHours : tweetHours - 12; | |
var tweetDateSuffix = function(day) { | |
switch (day) { | |
case 1: case 21: case 31: | |
return "st"; break; |