{
"aps": {
"alert": {
"body": "Test message",
"title": "Optional title",
"subtitle": "Optional subtitle"
},
"content-available": 1
}
View FailingSilentNotificationWithAlert.md
View CocoapodsToSubmodules.md
- WordPress-iOS project must build and run all targets correctly.
- All dependencies must be using the version specified in the original Podfile.
- All work must be based on WordPress-iOS repository version
72862f6651bf5dbe77235e836607bc74717f7d21
.
The WordPress-iOS app repository is: https://github.com/wordpress-mobile/WordPress-iOS
Fork or clone and create a branch for this work.
Go through the existing Podfile. For each pod listed:
View FriendsSpecs.md
Friends
See your friends!
Data
The application should load the friends list from: http://www.radfaces.com/public/radfaces.json This JSON data has the following format:
[{
View predicatedistanceToLocationfromLocation.m
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
predicate = [NSPredicate predicateWithFormat:@"distanceToLocation:fromLocation:(%@, %@) =< %@", | |
toLocation, | |
fromLocation, | |
expectedDistance | |
]; |
View distanceToLocationfromLocation.m
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
expression = [NSExpression expressionForFunction:@"distanceToLocation:fromLocation:" | |
arguments:@[ | |
[NSExpression expressionForConstantValue:to ], | |
[NSExpression expressionForConstantValue:from ] | |
] | |
]; | |
result = (NSNumber *)[expression expressionValueWithObject:nil context:nil]; |
View zomg.swift
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
if (__dtrace_isenabled$http_cache$response_from_cache$v1() != 0){ | |
__dtrace_probe$http_cache$response_host_uri_status$v1$63686172202a$63686172202a$696e74(host.UTF8String, path.UTF8String, cached); | |
} |
View ProbedURLCache2.m
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
#import "ProbedURLCache.h" | |
#import "http_cache.h" | |
@implementation ProbedURLCache | |
- (nullable NSCachedURLResponse *)cachedResponseForRequest:(NSURLRequest *)request { | |
NSCachedURLResponse *result = nil; | |
int cached = 0; | |
result = [super cachedResponseForRequest:request]; | |
if (result != nil){ | |
cached = 1; |
View ProbedURLCache1.m
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
#import "ProbedURLCache.h" | |
@implementation ProbedURLCache | |
- (nullable NSCachedURLResponse *)cachedResponseForRequest:(NSURLRequest *)request { | |
return [super cachedResponseForRequest:request]; | |
} | |
@end |
View http_cache2.d
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
provider http_cache { | |
probe response_from_cache(char *, char *, int); | |
}; |
View http_cache1.d
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
provider http_cache { | |
}; |
NewerOlder