This file contains hidden or 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
[ | |
{ | |
"text":"Some free flowing text about this stream item to be displayed as plain paragraph", | |
"icon":"http://www.icon.com/thing.png", | |
"timestamp":2345678998, | |
"stats": [ | |
{ "name":"A bold stat name 1","value":"15(1)" }, | |
{ "name":"A bold stat name 2","value":"12(1)" } | |
] | |
} |
This file contains hidden or 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
{ | |
"response": [ | |
{ "name":"Super King Innings","batting":[{"batter":"Lasith Maling","out":"run out (Ambati Raydud)","R":3,"B":2,"SR":150,"4":0,"6":0},{"batter":"Lasith Maling","out":"run out (Ambati Raydud)","R":3,"B":2,"SR":150,"4":0,"6":0}],"bowling":[{"bowler":"Lasith Maling","o":3.5,"r":16,"w":2,"e":0},{"bowler":"Lasith Maling","o":3.5,"r":16,"w":2,"e":0}],"totalover":19.5,"totalrun":112,"fall":"1-4 (Francois du plessis, 1.4 ov)" }, | |
{ "name":"Super King Innings","batting":[{"batter":"Lasith Maling","out":"run out (Ambati Raydud)","R":3,"B":2,"SR":150,"4":0,"6":0},{"batter":"Lasith Maling","out":"run out (Ambati Raydud)","R":3,"B":2,"SR":150,"4":0,"6":0}],"bowling":[{"bowler":"Lasith Maling","o":3.5,"r":16,"w":2,"e":0},{"bowler":"Lasith Maling","o":3.5,"r":16,"w":2,"e":0}],"totalover":19.5,"totalrun":112,"fall":"1-4 (Francois du plessis, 1.4 ov)" } | |
] | |
} |
This file contains hidden or 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
{ | |
"response": { | |
"score":[ | |
{"team":"Super Kings","totalover":19.5,"totalrun":112,"teamimage":"http:\/\/cdn.moshen.com\/images\/team1.jpeg","turn":"batting"}, | |
{"team":"Indians","totalover":19.5,"totalrun":112,"teamimage":"http:\/\/cdn.moshen.com\/images\/team2.jpeg","turn":"bowling"} | |
], | |
"stream": [ | |
{"id":299,"obj_type":"eventhrow","text":"8.3 D Bollinger to RG Sharma","hawkeye":"http:\/\/static2.iplt20.com\/iphone\/hawkeye.html?cgid=ipl2012-01"}, | |
{"id":300,"obj_type":"endofover","text":"end of over 20 - 3 runs"}, | |
{"id":301,"obj_type":"commentary","text":"end of over 20 - 3 runs"} |
This file contains hidden or 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
{ | |
"response": {"score":[],"stream":[] }, | |
"error": {"code":0,"message":""} | |
} |
This file contains hidden or 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
#import "NSNotificationCenter+RHKit.h" | |
@implementation NSNotificationCenter (RHKit) | |
- (void)addUniqueObserver:(id)observer selector:(SEL)aSelector name:(NSString *)aName object:(id)anObject { | |
[self removeObserver:observer name:aName object:anObject]; | |
[self addObserver:observer selector:aSelector name:aName object:anObject]; | |
} |
This file contains hidden or 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
{ | |
{ "response" : [ | |
{ "hex":"FF0000" }, "options": [ { "hex":"FF0001"}, { "hex":"FF0002"} ], | |
{ "hex":"GG0000" }, "options": [ { "hex":"FF0001"}, { "hex":"FF0002"} ] | |
], | |
"error" : { "code" : 0, "message" : "Entry saved ok" } | |
} | |
} |
This file contains hidden or 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
{"dob":"29/01/1984","firstname":"Robin","email":"[email protected]","surname":"Hayward","uid":"0"} |
This file contains hidden or 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
// | |
// FASWindowState.m | |
// FAS | |
// | |
// Created by Rob Hayward on 14/11/2012. | |
// | |
#import "FASWindowState.h" | |
#import "FASWelcomeViewController.h" | |
#import "FASTeamsTabBarController.h" |
This file contains hidden or 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
<p>We appreciate the time spent by many markets to complete our satisfaction survey. Your feedback is still highly appreciated.</p> | |
<p>Unfortunately the survey is now closed however if you would like to provide any general feedback please feel free to email Karen Peeters:</p> | |
<p><a href="mailto:[email protected]">[email protected]</a></p> |
This file contains hidden or 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
- (void)midPointsForContainerWidth:(CGFloat)containerWidth itemWidth:(CGFloat)itemWidth itemCount:(NSInteger)itemCount | |
{ | |
CGFloat itemSpace = (containerWidth - (itemCount * itemWidth)) / (itemCount + 1); | |
for (int i = 0; i < itemCount; i++) { | |
CGFloat point = itemSpace + ((itemWidth / 2)); | |
if (i > 0) { | |
point += (itemWidth * i); | |
point += (itemSpace * i); |
OlderNewer