Skip to content

Commit 5a744e3

Browse files
committed
何必代码
2 parents 8ca6db4 + abe655b commit 5a744e3

186 files changed

Lines changed: 6918 additions & 463 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Coding_iOS.xcodeproj/project.pbxproj

Lines changed: 468 additions & 115 deletions
Large diffs are not rendered by default.

Coding_iOS/AppDelegate.m

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
#define UMSYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)
1111
#define _IPHONE80_ 80000
1212

13-
13+
#if DEBUG
14+
#import <FLEX/FLEXManager.h>
15+
#import "RRFPSBar.h"
16+
#endif
1417

1518
#import "AppDelegate.h"
1619
#import "RootTabViewController.h"
@@ -106,6 +109,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
106109
[self completionStartAnimationWithOptions:launchOptions];
107110
}];
108111

112+
#if DEBUG
113+
[[RRFPSBar sharedInstance] setShowsAverage:YES];
114+
[[RRFPSBar sharedInstance] setHidden:NO];
115+
#endif
116+
109117
return YES;
110118
}
111119

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
//
2+
// AllSearchDisplayVC.h
3+
// Coding_iOS
4+
//
5+
// Created by jwill on 15/11/19.
6+
// Copyright © 2015年 Coding. All rights reserved.
7+
//
8+
9+
@protocol AllSearchDisplayVCdelegate <NSObject>
10+
11+
@optional
12+
13+
@end
14+
15+
typedef NS_ENUM(NSUInteger, eSearchType) {
16+
eSearchType_Project=0,
17+
eSearchType_Task,
18+
eSearchType_Topic,
19+
eSearchType_Tweet,
20+
eSearchType_Document,
21+
eSearchType_User,
22+
eSearchType_Merge,
23+
eSearchType_Pull,
24+
eSearchType_All
25+
};
26+
27+
#import <UIKit/UIKit.h>
28+
29+
@interface AllSearchDisplayVC : UISearchDisplayController
30+
@property (nonatomic,weak)UIViewController *parentVC;
31+
@property (nonatomic,assign)eSearchType curSearchType;
32+
@property (assign)id<AllSearchDisplayVCdelegate> delegate;
33+
-(void)reloadDisplayData;
34+
@end

0 commit comments

Comments
 (0)