Skip to content

Commit 94a4b14

Browse files
committed
简单处理&警告处理
1 parent 74fa21f commit 94a4b14

15 files changed

Lines changed: 19 additions & 43 deletions

.DS_Store

0 Bytes
Binary file not shown.

Coding_iOS.xcodeproj/project.pbxproj

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -507,9 +507,7 @@
507507
8B888E421B72618200806CEE /* CSHotTopicPagesVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 8B888E411B72618200806CEE /* CSHotTopicPagesVC.m */; };
508508
8BDF9AA61B7456060093BF2C /* HotTopicBannerView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8BDF9AA51B7456060093BF2C /* HotTopicBannerView.m */; };
509509
8BDF9AB51B7474990093BF2C /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 8BDF9AB01B7474990093BF2C /* [email protected] */; };
510-
8BDF9AB61B7474990093BF2C /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 8BDF9AB11B7474990093BF2C /* [email protected] */; };
511510
8BDF9AB71B7474990093BF2C /* liziyundong.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 8BDF9AB21B7474990093BF2C /* liziyundong.jpg */; };
512-
8BDF9AB81B7474990093BF2C /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 8BDF9AB31B7474990093BF2C /* [email protected] */; };
513511
8BDF9AB91B7474990093BF2C /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 8BDF9AB41B7474990093BF2C /* [email protected] */; };
514512
8E03D4A219F695FE0092F8C8 /* libMobClickLibrary.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8E03D49F19F695FE0092F8C8 /* libMobClickLibrary.a */; };
515513
8E03D4A419F696970092F8C8 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 8E03D4A319F696970092F8C8 /* libz.dylib */; };
@@ -1601,9 +1599,7 @@
16011599
8BDF9AA41B7456060093BF2C /* HotTopicBannerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HotTopicBannerView.h; sourceTree = "<group>"; };
16021600
8BDF9AA51B7456060093BF2C /* HotTopicBannerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HotTopicBannerView.m; sourceTree = "<group>"; };
16031601
8BDF9AB01B7474990093BF2C /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "[email protected]"; path = "keyboard/[email protected]"; sourceTree = "<group>"; };
1604-
8BDF9AB11B7474990093BF2C /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
16051602
8BDF9AB21B7474990093BF2C /* liziyundong.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = liziyundong.jpg; sourceTree = "<group>"; };
1606-
8BDF9AB31B7474990093BF2C /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
16071603
8BDF9AB41B7474990093BF2C /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "[email protected]"; path = "userInfo/[email protected]"; sourceTree = "<group>"; };
16081604
8E03D49F19F695FE0092F8C8 /* libMobClickLibrary.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libMobClickLibrary.a; sourceTree = "<group>"; };
16091605
8E03D4A019F695FE0092F8C8 /* MobClick.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MobClick.h; sourceTree = "<group>"; };
@@ -3490,9 +3486,7 @@
34903486
isa = PBXGroup;
34913487
children = (
34923488
8BDF9AB01B7474990093BF2C /* [email protected] */,
3493-
8BDF9AB11B7474990093BF2C /* [email protected] */,
34943489
8BDF9AB21B7474990093BF2C /* liziyundong.jpg */,
3495-
8BDF9AB31B7474990093BF2C /* [email protected] */,
34963490
8BDF9AB41B7474990093BF2C /* [email protected] */,
34973491
4E0022A11B7362EF005308DE /* intro_pages */,
34983492
4E095A751B6B1E40008DC439 /* deadline_calendar */,
@@ -4493,7 +4487,6 @@
44934487
4E6383D41B32665700D98648 /* [email protected] in Resources */,
44944488
8EA6D19E19E240C40076D59C /* [email protected] in Resources */,
44954489
8E97CE9B1A0C7E26006F9AD7 /* [email protected] in Resources */,
4496-
8BDF9AB61B7474990093BF2C /* [email protected] in Resources */,
44974490
8EA6D16D19E240C40076D59C /* [email protected] in Resources */,
44984491
4E6383D81B32665700D98648 /* [email protected] in Resources */,
44994492
4E96E7DC1A1B537E0037C098 /* [email protected] in Resources */,
@@ -4568,7 +4561,6 @@
45684561
4E66EE281A28226000DA1B3E /* [email protected] in Resources */,
45694562
8E97CE4A1A0A2E11006F9AD7 /* EmojisList.plist in Resources */,
45704563
8BDF9AB51B7474990093BF2C /* [email protected] in Resources */,
4571-
8BDF9AB81B7474990093BF2C /* [email protected] in Resources */,
45724564
4EBFBD181AA85B8500E4B10E /* [email protected] in Resources */,
45734565
8E97CEA21A0C7E26006F9AD7 /* [email protected] in Resources */,
45744566
4E996C061ABBF56A00C704F1 /* [email protected] in Resources */,

Coding_iOS/.DS_Store

4 KB
Binary file not shown.

Coding_iOS/Coding_iOS-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<key>CFBundleExecutable</key>
1010
<string>${EXECUTABLE_NAME}</string>
1111
<key>CFBundleIdentifier</key>
12-
<string>$(PRODUCT_BUNDLE_IDENTIFIER).code</string>
12+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1313
<key>CFBundleInfoDictionaryVersion</key>
1414
<string>6.0</string>
1515
<key>CFBundleName</key>

Coding_iOS/Controllers/Search/CSSearchDisplayVC.m

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ - (void)requestDataWithPage:(NSInteger)page {
409409
}
410410

411411
weakSelf.isLoading = NO;
412-
weakSelf.headerLabel.text = [NSString stringWithFormat:@"共搜索到 %d 个与\"%@\"相关的冒泡", weakSelf.totalCount, weakSelf.searchBar.text, nil];
412+
weakSelf.headerLabel.text = [NSString stringWithFormat:@"共搜索到 %ld 个与\"%@\"相关的冒泡", (long)weakSelf.totalCount, weakSelf.searchBar.text, nil];
413413
}];
414414
}
415415

@@ -483,14 +483,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
483483

484484
TweetDetailViewController *vc = [[TweetDetailViewController alloc] init];
485485
vc.curTweet = tweet;
486-
__weak typeof(self) weakSelf = self;
487486
vc.deleteTweetBlock = ^(Tweet *toDeleteTweet){
488-
// Tweets *curTweets = [weakSelf.tweetsDict objectForKey:[NSNumber numberWithInteger:weakSelf.curIndex]];
489-
// [curTweets.list removeObject:toDeleteTweet];
490-
// [weakSelf.myTableView reloadData];
491-
// [weakSelf.view configBlankPage:EaseBlankPageTypeTweet hasData:(curTweets.list.count > 0) hasError:NO reloadButtonBlock:^(id sender) {
492-
// [weakSelf sendRequest];
493-
// }];
494487
};
495488
[self.parentVC.parentViewController.navigationController pushViewController:vc animated:YES];
496489

Coding_iOS/Controllers/Topic/CSTopicDetailVC.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
@interface CSTopicDetailVC : UIViewController
1313
//@property (nonatomic,strong)NSDictionary *topic;
14-
@property (nonatomic,assign)NSInteger topicID;
14+
@property (nonatomic,assign) NSInteger topicID;
1515
@end
1616

1717
@interface CSTopTweetDescCell : UITableViewCell

Coding_iOS/Controllers/Topic/CSTopicDetailVC.m

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -234,14 +234,7 @@ - (void)deleteComment:(Comment *)comment ofTweet:(Tweet *)tweet{
234234
- (void)goToDetailWithTweet:(Tweet *)curTweet{
235235
TweetDetailViewController *vc = [[TweetDetailViewController alloc] init];
236236
vc.curTweet = curTweet;
237-
__weak typeof(self) weakSelf = self;
238237
vc.deleteTweetBlock = ^(Tweet *toDeleteTweet){
239-
// Tweets *curTweets = [weakSelf.tweetsDict objectForKey:[NSNumber numberWithInteger:weakSelf.curIndex]];
240-
// [curTweets.list removeObject:toDeleteTweet];
241-
// [weakSelf.myTableView reloadData];
242-
// [weakSelf.view configBlankPage:EaseBlankPageTypeTweet hasData:(curTweets.list.count > 0) hasError:NO reloadButtonBlock:^(id sender) {
243-
// [weakSelf sendRequest];
244-
// }];
245238
};
246239
[self.navigationController pushViewController:vc animated:YES];
247240
}

Coding_iOS/Controllers/Topic/CSTopiclistView.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ typedef enum {
2020
@property (nonatomic,assign)BOOL isMe;
2121
- (id)initWithFrame:(CGRect)frame globalKey:(NSString *)key type:(CSMyTopicsType )type block:(TopicListViewBlock)block;
2222
- (void)setTopics:(id )topics;
23-
- (void)refreshUI;
2423
- (void)refreshToQueryData;
2524

2625
@end

Coding_iOS/Controllers/Topic/CSTopiclistView.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ - (void)setTopics:(id )topics{
8989

9090
self.myTopic = topics;
9191
[self setupDataList];
92-
[self refreshUI];
9392
}
9493

9594
- (void)setupDataList{

Coding_iOS/Images/.DS_Store

2 KB
Binary file not shown.

0 commit comments

Comments
 (0)