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
HTTP/1.1 200 OK | |
Server: nginx/1.4.6 (Ubuntu) | |
Date: Fri, 18 Nov 2016 06:33:27 GMT | |
Content-Type: application/json | |
Transfer-Encoding: chunked | |
Connection: keep-alive | |
Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
Cache-Control: no-store, no-cache, must-revalidate | |
Pragma: no-cache | |
Cache-Control: no-cache, must-revalidate |
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
POST /v3/score-card/add/game/744414523 HTTP/1.1 | |
Host: test2.mobitee.com | |
X-DATE: 2016-11-18 06:33:26 +0000 | |
Accept: */* | |
X-AUTH: 1000000722:c059c45168b006f9f1037375be2af4df | |
Accept-Language: en | |
Accept-Encoding: gzip, deflate | |
Content-Type: application/json | |
Content-Length: 6560 | |
User-Agent: Mobitee and PIQ/1.4.4 (iPhone; iOS 10.1; Scale/2.00) |
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
protocol Foo1 { | |
func foo1() -> String | |
} | |
protocol Foo2 { | |
func foo2() -> String | |
} | |
extension Foo1 where Self : Foo2 { | |
func foo1() -> String { |
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
protocol Fooable { | |
func foo() -> String | |
} | |
extension Fooable where Self : UIViewController | |
{ | |
func foo() -> String | |
{ | |
return "foo" | |
} |
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
protocol Fooable { | |
func foo() -> String | |
} | |
extension Fooable where Self : UIViewController | |
{ | |
func foo() -> String | |
{ | |
return "foo" | |
} |
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
POST /api/golf/verify/msisdn?login=1 HTTP/1.1 | |
Host: dev.piq.cedoni.com | |
X-DATE: 1477292330482 | |
X-PARTNER: PIQ | |
Accept: */* | |
X-AUTH: PUBLIC MOBITEE:dcd369c47f1483d0220902b1a327cf8e | |
Accept-Language: en;q=1 | |
Accept-Encoding: gzip, deflate | |
Content-Type: application/json;charset=utf8 | |
Content-Length: 41 |
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
PIQGolfGameStatistics* statistics = [[PIQGolfGameStatistics alloc] initWithHoles:[self holes] isMale:player.gender == GAGenderMen]; | |
@weakify(self); | |
NSArray<PIQGolfGameMotion*>* motions = [self.gameInfo.holes.allValues bk_reduce:[NSMutableArray array] | |
withBlock:^id(NSMutableArray<PIQGolfGameMotion*>* motionsAccumulator, MTPGameHole* hole) { | |
NSArray<PIQGolfGameMotion*>* holeMotions = [hole.shotsWithoutTeePositionShot bk_map:^id(MTPHoleShot* shot) { | |
@strongify(self); | |
return [self gameMotionFromShot:shot]; | |
}]; | |
[motionsAccumulator addObjectsFromArray:holeMotions]; |
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
POST /v1/account/save-user-avatar HTTP/1.1 | |
Host: dev2.mobitee.com | |
X-DATE: 2016-09-09 09:48:47 | |
Accept: */* | |
X-PARTNER: | |
X-AUTH: PUBLIC PIQ_CLIENT:362902cfd04cb5eac240e52d531facef | |
Accept-Encoding: gzip, deflate | |
Accept-Language: en-US;q=1 | |
Content-Type: application/x-www-form-urlencoded | |
Content-Length: 5970 |
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
@class Foo; | |
@interface Foo2 : NSObject | |
- (void) boo:(Foo*)foo; | |
@property (nonatomic, strong) Foo* foo; | |
@end | |
@interface Foo : NSObject | |
@property (nonatomic, strong) Foo2* foo2; | |
- (instancetype) initWithFoo2:(Foo2*)foo2; | |
- (void) boo:(void(^)())block foo2:(Foo2*)foo2; |
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
@class Foo; | |
@interface Foo2 : NSObject | |
@property (nonatomic, strong) Foo* foo; | |
- (void) releaseFoo; | |
@end | |
@interface Foo : NSObject | |
- (void) boo:(void(^)())block foo2:(Foo2*)foo2; | |
@end |