GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 调整Log · DoomYang/Coding-iOS@a2bcd03

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Coding_iOS
    • AppDelegate.m
    • Controllers
      • CodeListViewController.m
      • CodeViewController.m
      • ConversationViewController.m
      • EditTaskViewController.m
      • FileListViewController.m
      • FileViewController.m
      • FolderToMoveViewController.m
      • MeSetting
        • SettingMineInfoViewController.m
      • NProjectViewController
        • NProjectViewController.m
      • ProjectMemberListViewController.m
      • ProjectViewController.m
      • RootControllers
        • BaseViewController.m
        • Message_RootViewController.m
        • Project_RootViewController.m
        • Tweet_RootViewController.m
      • TaskDescriptionViewController.m
      • TopicDetailViewController.m
      • TweetDetailViewController.m
      • TweetSendCreateLocationViewController.m
      • TweetSendLocationViewController.m
      • TweetSendViewController.m
      • UsersViewController.m
    • Models
      • Login.m
      • TweetSendLocation.m
    • Util
      • Manager
        • CodingNetAPIClient.m
        • Coding_FileManager.m
        • Coding_NetAPIManager.m
        • StartImagesManager.m
      • OC_Category
        • NSURL+Common.m
        • UIDevice+Info.m
    • Vendor/AGEmojiKeyboard
      • AGEmojiKeyBoardView.m
      • AGEmojiPageView.m
    • Views
      • Cell
        • FileListFileCell.m
        • ProjectListTaCell.m
        • ProjectReadMeCell.m
        • TopicContentCell.m
        • TopicPreviewCell.m
        • TweetCell.m
        • TweetDetailCell.m
      • FileDownloadView.m
      • ProjectTaskListView.m
      • ProjectTopicListView.m
      • UIMessageInputView
        • UIMessageInputView.m

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Coding_iOS/AppDelegate.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/AppDelegate.m
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,12 @@ - (void)application:(UIApplication *)application didRegisterForRemoteNotificatio
161161
[Login addUmengAliasWithCurUser:[Login isLogin]];
162162

163163
NSString * deviceTokenStr = [XGPush registerDevice:deviceToken];
164-
NSLog(@"deviceTokenStr : %@", deviceTokenStr);
164+
DebugLog(@"deviceTokenStr : %@", deviceTokenStr);
165165
}
166166

167167
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
168168
{
169-
NSLog(@"didReceiveRemoteNotification-userInfo:-----\n%@", userInfo);
169+
DebugLog(@"didReceiveRemoteNotification-userInfo:-----\n%@", userInfo);
170170
[XGPush handleReceiveNotification:userInfo];
171171
[BaseViewController handleNotificationInfo:userInfo applicationState:[application applicationState]];
172172
}
@@ -216,7 +216,7 @@ - (void)customizeInterface {
216216

217217
#pragma mark URL Schemes
218218
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{
219-
NSLog(@"path: %@, params: %@", [url path], [url queryParams]);
219+
DebugLog(@"path: %@, params: %@", [url path], [url queryParams]);
220220
return [self showPasswordWithURL:url];
221221
}
222222

@@ -272,7 +272,7 @@ - (void)saveContext
272272
if ([managedObjectContext hasChanges] && ![managedObjectContext save:&error]) {
273273
// Replace this implementation with code to handle the error appropriately.
274274
// abort() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development.
275-
NSLog(@"Unresolved error %@, %@", error, [error userInfo]);
275+
DebugLog(@"Unresolved error %@, %@", error, [error userInfo]);
276276
abort();
277277
}
278278
}
@@ -344,7 +344,7 @@ - (NSPersistentStoreCoordinator *)persistentStoreCoordinator
344344
Lightweight migration will only work for a limited set of schema changes; consult "Core Data Model Versioning and Data Migration Programming Guide" for details.
345345
346346
*/
347-
NSLog(@"Unresolved error %@, %@", error, [error userInfo]);
347+
DebugLog(@"Unresolved error %@, %@", error, [error userInfo]);
348348
abort();
349349
}
350350

Collapse file

‎Coding_iOS/Controllers/CodeListViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/CodeListViewController.m
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
8484
*/
8585

8686
- (void)goToVCWith:(CodeTree_File *)codeTreeFile andRef:(NSString *)ref{
87-
NSLog(@"%@", codeTreeFile.path);
87+
DebugLog(@"%@", codeTreeFile.path);
8888
if ([codeTreeFile.mode isEqualToString:@"tree"]) {//文件夹
8989
CodeTree *nextCodeTree = [CodeTree codeTreeWithRef:ref andPath:codeTreeFile.path];
9090
CodeListViewController *vc = [[CodeListViewController alloc] init];
Collapse file

‎Coding_iOS/Controllers/CodeViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/CodeViewController.m
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ - (void)sendRequest{
8585
- (void)refreshCodeViewData{
8686
if ([_myCodeFile.file.mode isEqualToString:@"image"]) {
8787
NSURL *imageUrl = [NSURL URLWithString:[NSString stringWithFormat:@"%@u/%@/p/%@/git/raw/%@/%@", kNetPath_Code_Base, _myProject.owner_user_name, _myProject.name, _myCodeFile.ref, _myCodeFile.file.path]];
88-
NSLog(@"imageUrl: %@", imageUrl);
88+
DebugLog(@"imageUrl: %@", imageUrl);
8989
[self.webContentView loadRequest:[NSURLRequest requestWithURL:imageUrl]];
9090
}else if ([_myCodeFile.file.mode isEqualToString:@"file"]){
9191
NSString *contentStr = [WebContentManager codePatternedWithContent:_myCodeFile];
@@ -95,7 +95,7 @@ - (void)refreshCodeViewData{
9595

9696
#pragma mark UIWebViewDelegate
9797
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType{
98-
NSLog(@"strLink=[%@]",request.URL.absoluteString);
98+
DebugLog(@"strLink=[%@]",request.URL.absoluteString);
9999
return YES;
100100
}
101101
- (void)webViewDidStartLoad:(UIWebView *)webView{
Collapse file

‎Coding_iOS/Controllers/ConversationViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/ConversationViewController.m
+2-5Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ - (void)scrollToBottomAnimated:(BOOL)animated
327327

328328
#pragma mark TTTAttributedLabelDelegate
329329
- (void)attributedLabel:(TTTAttributedLabel *)label didSelectLinkWithTransitInformation:(NSDictionary *)components{
330-
DebugLog(@"%@", components.description);
331330
HtmlMediaItem *clickedItem = [components objectForKey:@"value"];
332331
[self analyseLinkStr:clickedItem.href];
333332
}
@@ -350,7 +349,7 @@ - (void)analyseLinkStr:(NSString *)linkStr{
350349
- (void)willTranspondMessage:(PrivateMessage *)message{
351350
__weak typeof(self) weakSelf = self;
352351
[UsersViewController showTranspondMessage:message withBlock:^(PrivateMessage *curMessage) {
353-
NSLog(@"%@, %@", curMessage.friend.name, curMessage.content);
352+
DebugLog(@"%@, %@", curMessage.friend.name, curMessage.content);
354353
[weakSelf doTranspondMessage:curMessage];
355354
}];
356355
}
@@ -362,7 +361,7 @@ - (void)doTranspondMessage:(PrivateMessage *)curMessage{
362361
}else{
363362
[[Coding_NetAPIManager sharedManager] request_SendPrivateMessage:curMessage andBlock:^(id data, NSError *error) {
364363
if (data) {
365-
NSLog(@"转发成功:%@, %@", curMessage.friend.name, curMessage.htmlMedia.contentOrigional);
364+
DebugLog(@"转发成功:%@, %@", curMessage.friend.name, curMessage.htmlMedia.contentOrigional);
366365
}
367366
}];
368367
}
@@ -386,7 +385,6 @@ - (void)sendPrivateMessageWithMsg:(PrivateMessage *)nextMsg{
386385
}
387386
[weakSelf dataChangedWithError:NO scrollToBottom:YES animated:YES];
388387
} progerssBlock:^(CGFloat progressValue) {
389-
DebugLog(@"\n%.2f", progressValue);
390388
}];
391389
}
392390
- (void)deletePrivateMessageWithMsg:(PrivateMessage *)curMsg{
@@ -474,7 +472,6 @@ - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView{
474472
&& scrollView.contentOffset.y < 5) {
475473
_preContentHeight = self.myTableView.contentSize.height;
476474
[self refreshLoadMore:YES];
477-
DebugLog(@"加载更多");
478475
}
479476
}
480477

Collapse file

‎Coding_iOS/Controllers/EditTaskViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/EditTaskViewController.m
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,6 @@ - (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView{
562562

563563
#pragma mark TTTAttributedLabelDelegate
564564
- (void)attributedLabel:(TTTAttributedLabel *)label didSelectLinkWithTransitInformation:(NSDictionary *)components{
565-
DebugLog(@"%@", components.description);
566565
HtmlMediaItem *clickedItem = [components objectForKey:@"value"];
567566
[self analyseLinkStr:clickedItem.href];
568567
}
Collapse file

‎Coding_iOS/Controllers/FileListViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/FileListViewController.m
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,10 @@ - (void)easeToolBar:(EaseToolBar *)toolBar didClickedIndex:(NSInteger)index{
302302
}
303303

304304
- (void)creatFolderBtnClicked{
305-
NSLog(@"新建文件夹");
305+
DebugLog(@"新建文件夹");
306306
__weak typeof(self) weakSelf = self;
307307
[SettingTextViewController showSettingFolderNameVCFromVC:self withTitle:@"新建文件夹" textValue:nil type:SettingTypeNewFolderName doneBlock:^(NSString *textValue) {
308-
NSLog(@"%@", textValue);
308+
DebugLog(@"%@", textValue);
309309
[[Coding_NetAPIManager sharedManager] request_CreatFolder:textValue inFolder:weakSelf.curFolder inProject:weakSelf.curProject andBlock:^(id data, NSError *error) {
310310
if (data) {
311311
if (weakSelf.curFolder) {
@@ -321,7 +321,7 @@ - (void)creatFolderBtnClicked{
321321
}
322322

323323
- (void)uploadFileBtnClicked{
324-
NSLog(@"上传文件");
324+
DebugLog(@"上传文件");
325325
// 相册
326326
if (![Helper checkPhotoLibraryAuthorizationStatus]) {
327327
return;
@@ -353,7 +353,7 @@ - (void)downloadFilesBtnClicked{
353353
Coding_FileManager *manager = [Coding_FileManager sharedManager];
354354
for (ProjectFile *file in selectedFiles) {
355355
if ([file hasBeenDownload] || [file cDownloadTask]) {//已下载,或正在下载
356-
NSLog(@"%@: 已在队列", file.name);
356+
DebugLog(@"%@: 已在队列", file.name);
357357
}else{
358358
[manager addDownloadTaskForFile:file completionHandler:nil];
359359
}
Collapse file

‎Coding_iOS/Controllers/FileViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/FileViewController.m
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ - (NSInteger)numberOfPreviewItemsInPreviewController:(QLPreviewController *)cont
255255

256256
#pragma mark UIWebViewDelegate
257257
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType{
258-
NSLog(@"strLink=[%@]",request.URL.absoluteString);
258+
DebugLog(@"strLink=[%@]",request.URL.absoluteString);
259259
return YES;
260260
}
261261
- (void)webViewDidStartLoad:(UIWebView *)webView{
Collapse file

‎Coding_iOS/Controllers/FolderToMoveViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/FolderToMoveViewController.m
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ - (void)easeToolBar:(EaseToolBar *)toolBar didClickedIndex:(NSInteger)index{
137137
switch (index) {
138138
case 0:
139139
{//新建文件夹
140-
NSLog(@"新建文件夹");
140+
DebugLog(@"新建文件夹");
141141
__weak typeof(self) weakSelf = self;
142142
[SettingTextViewController showSettingFolderNameVCFromVC:self withTitle:@"新建文件夹" textValue:nil type:SettingTypeNewFolderName doneBlock:^(NSString *textValue) {
143-
NSLog(@"%@", textValue);
143+
DebugLog(@"%@", textValue);
144144
[[Coding_NetAPIManager sharedManager] request_CreatFolder:textValue inFolder:weakSelf.curFolder inProject:weakSelf.curProject andBlock:^(id data, NSError *error) {
145145
if (data) {
146146
if (weakSelf.curFolder) {
@@ -157,7 +157,7 @@ - (void)easeToolBar:(EaseToolBar *)toolBar didClickedIndex:(NSInteger)index{
157157
break;
158158
case 1:
159159
{//移动文件
160-
NSLog(@"移动文件");
160+
DebugLog(@"移动文件");
161161
if (self.moveToFolderBlock) {
162162
self.moveToFolderBlock(self.curFolder, self.toMovedFileIdList);
163163
}
Collapse file

‎Coding_iOS/Controllers/MeSetting/SettingMineInfoViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/MeSetting/SettingMineInfoViewController.m
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
247247
[weakSelf.myTableView reloadData];
248248
}];
249249
} cancelBlock:^(ActionSheetDatePicker *picker) {
250-
NSLog(@"%@", picker.description);
250+
DebugLog(@"%@", picker.description);
251251
} origin:self.view];
252252
picker.minimumDate = [[NSDate date] offsetYear:-120];
253253
picker.maximumDate = [NSDate date];
@@ -426,7 +426,6 @@ - (void)imagePickerController:(UIImagePickerController *)picker didFinishPicking
426426
} failureBlock:^(NSError *error) {
427427
[weakSelf showError:error];
428428
} progerssBlock:^(CGFloat progressValue) {
429-
DebugLog(@"%.1f", progressValue);
430429
}];
431430

432431
// 保存原图片到相册中
Collapse file

‎Coding_iOS/Controllers/NProjectViewController/NProjectViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/NProjectViewController/NProjectViewController.m
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ - (void)gotoPro:(Project *)project{
371371
#pragma mark loadCellRequest
372372
- (void)loadRequest:(NSURLRequest *)curRequest{
373373
NSString *linkStr = curRequest.URL.absoluteString;
374-
NSLog(@"\n linkStr : %@", linkStr);
374+
DebugLog(@"\n linkStr : %@", linkStr);
375375
[self analyseLinkStr:linkStr];
376376
}
377377

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.