Browse Source

Apex mobile

移动result 到common 目录
Ray Zhang 8 years ago
parent
commit
3d6cd702e1

BIN
Apex Mobile/Apex Mobile.xcodeproj/project.xcworkspace/xcuserdata/Ray.xcuserdatad/UserInterfaceState.xcuserstate


+ 5 - 5
Apex Mobile/Apex Mobile.xcodeproj/xcuserdata/Ray.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -26,7 +26,7 @@
             ignoreCount = "0"
             continueAfterRunningActions = "No"
             filePath = "Apex Mobile/DetailPageViewController.m"
-            timestampString = "539139982.245851"
+            timestampString = "539143348.107559"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "580"
@@ -234,7 +234,7 @@
             ignoreCount = "0"
             continueAfterRunningActions = "No"
             filePath = "Apex Mobile/DetailPageViewController.m"
-            timestampString = "539139982.280019"
+            timestampString = "539143348.108793"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "521"
@@ -250,7 +250,7 @@
             ignoreCount = "0"
             continueAfterRunningActions = "No"
             filePath = "Apex Mobile/DetailPageViewController.m"
-            timestampString = "539139982.282176"
+            timestampString = "539143348.109177"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "520"
@@ -298,7 +298,7 @@
             ignoreCount = "0"
             continueAfterRunningActions = "No"
             filePath = "Apex Mobile/DetailPageViewController.m"
-            timestampString = "539139982.28373"
+            timestampString = "539143348.109481"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "282"
@@ -314,7 +314,7 @@
             ignoreCount = "0"
             continueAfterRunningActions = "No"
             filePath = "Apex Mobile/DetailPageViewController.m"
-            timestampString = "539139982.285212"
+            timestampString = "539143348.1097341"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
             startingLineNumber = "446"

+ 15 - 12
common/customUI/ResultViewController.m

@@ -744,6 +744,8 @@ static const int delta = 25;
 }
 -(void)Export:(NSString*) url
 {
+    
+    NSAssert(true, ([NSString stringWithFormat:@"%s Export not impl",object_getClassName([self class])]));
 //    if(self.download_query )
 //    {
 //        self.documentPath = self.download_query;
@@ -770,7 +772,7 @@ static const int delta = 25;
 //    });
 }
 - (void)downloadItemClick:(UIBarButtonItem *)sender {
-    
+    NSAssert(true, ([NSString stringWithFormat:@"%s downloadItemClick not impl",object_getClassName([self class])]));
 //
 //
 //    if(self.download_query )
@@ -811,8 +813,9 @@ static const int delta = 25;
  * 2: load more
  */
 - (void)loadContentWithOption:(int)option Complete:(void (^)(int result,int count))finish {
+        NSAssert(true, ([NSString stringWithFormat:@"%s loadContentWithOption not impl",object_getClassName([self class])]));
 //    if (self.params) {
-//        
+//
 //        NSMutableDictionary *dic = self.params.mutableCopy;
 //        switch (option) {
 //            case 0:
@@ -829,13 +832,13 @@ static const int delta = 25;
 //            }
 //            break;
 //        }
-//        
+//
 ////        dic[@"criteria"] = self.params;
-//        
+//
 //        [dic setObject:@(self.offset) forKey:@"offset"];
 //        [dic setObject:@(delta) forKey:@"limit"];
 ////        dic[@"criteria"] = [NSArray arrayWithObjects:@"aaa",@"bbb", nil];
-//        
+//
 //        __weak typeof(self) weakSelf = self;
 //        dispatch_async(dispatch_get_global_queue(0, 0), ^{
 //            NSDictionary *contentDic = [RANetwork query:dic];
@@ -848,35 +851,35 @@ static const int delta = 25;
 //                        strongSelf.content_action = [contentDic objectForKey:@"row_action"];
 //                        strongSelf.content_menu = [[contentDic objectForKey:@"menu"] mutableCopy];
 //                        [strongSelf setupNavigationBar];
-//                        
+//
 //                            UILabel * headerview=(UILabel *)self.tableview.tableHeaderView;
 //                            headerview.text = contentDic[@"table_title"];
 //                            [self resize_tableHeader];
-//           
+//
 //                        if(strongSelf.content_data==nil)
 //                            strongSelf.content_data = [NSMutableDictionary new];
 //                        NSMutableDictionary* newdata = [[contentDic objectForKey:@"data"] mutableCopy];
 //                        for(int dc = 0;dc<[newdata[@"count"] intValue];dc++)
 //                        {
 //                            NSMutableDictionary * newdata_item = newdata[[NSString stringWithFormat:@"item_%d",dc]];
-//                            
+//
 //                            strongSelf.content_data[[NSString stringWithFormat:@"item_%d",[strongSelf.content_data[@"count"] intValue] ]] = newdata_item;
 //                            strongSelf.content_data[@"count"] = @([strongSelf.content_data[@"count"] intValue]+1);
 //                        }
-//                        
+//
 ////                        strongSelf.content_data = [contentDic objectForKey:@"data"];
 //                        [strongSelf updateTableFrame];
 //                        [strongSelf.tableview reloadData];
 //                    } else {
 //                        [RAUtils message_alert:[contentDic objectForKey:@"err_msg"] title:@"Warning" controller:strongSelf];
 //                    }
-//                    
+//
 //                    if (finish) {
 //                        finish((int)result,(int)[self resultItemCount]);
 //                    }
-//                    
+//
 //                }
-//                
+//
 //            });
 //        });
 //    }