This commit is contained in:
wu736139669
2015-03-30 21:41:02 +08:00
parent a1cea576f2
commit 63fea769d6
289 changed files with 14768 additions and 2598 deletions
-14
View File
@@ -50,20 +50,6 @@
parameters:[proper url] ? [proper encodePro] : [proper pro]
success:^(AFHTTPRequestOperation * __unused task, id json) {
DLog(@"%@", json);
//______________________________________
#warning just 4 testing .... delete when release
NSURL *_localResourceFileURL = [[NSBundle mainBundle] URLForResource:proper.localJsonFileName ? proper.localJsonFileName : @"a" withExtension:@"json"];
NSData *data = [NSData dataWithContentsOfURL:_localResourceFileURL];
if (data) {
json = [NSJSONSerialization JSONObjectWithData:data
options:kNilOptions
error:NULL];
}
DLog(@"%@", json);
//______________________________________
if(json)
{