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
{ | |
"repo_token": "SsMwWVXBSQ3OA1ryIc1uAsIqtcVqXZ2rO", | |
"service_name": "travis-ci", | |
"sources_files": [ | |
{ | |
"name": "main.m", | |
"source": "//\n// main.m\n// Peeler\n//\n// Created by HEINRICH Yannick on 24/05/13.\n// Copyright (c) 2013 YaGeek's Company. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n\nint main(int argc, char *argv[])\n{\n return NSApplicationMain(argc, (const char **)argv);\n}\n", | |
"coverage": [ | |
null, | |
null, |
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
.gitignore | |
# This line ignore files named .s#1 .s#2 ... | |
*.s\#[0-9] |
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
CGImageSourceRef originalImageSource = CGImageSourceCreateWithURL((CFURLRef)imageURL, NULL); | |
//get gps metadata | |
NSDictionary *metadata = (NSDictionary *)CGImageSourceCopyPropertiesAtIndex(originalImageSource,0,NULL); | |
//make the metadata dictionary mutable so we can add properties to it | |
NSMutableDictionary *metadataAsMutable = [[metadata mutableCopy]autorelease]; | |
[metadata release]; | |
//get mutable gps data | |
NSMutableDictionary *GPSDictionary = [[[metadataAsMutable objectForKey:(NSString *)kCGImagePropertyGPSDictionary]mutableCopy]autorelease]; | |
if(!GPSDictionary) | |
{ |
NewerOlder