Skip to content

Instantly share code, notes, and snippets.

View gbasile's full-sized avatar

Giuseppe Basile gbasile

View GitHub Profile
@gbasile
gbasile / gist:5487378
Created April 30, 2013 08:27
If/else code
- (NSString *)score
{
NSString *resultScore = nil;
if (self.firstPlayerScore == 3 && self.secondPlayerScore == 3 )
resultScore = @"DEUCE";
else if (self.firstPlayerScore == 4)
resultScore = @"GAME PLAYER 1";
else if (self.secondPlayerScore == 4)
codesign -f -v -s "Developer ID Application: Sharit Application SL" ./libcurl.framework/Versions/A
@gbasile
gbasile / gist:5353206
Created April 10, 2013 09:35
Mogenerator
mogenerator -m mainDataContext.xcdatamodeld/mainDataContext_XXX.xcdatamodel/ -M Machine/ -H Human/