Skip to content

Commit b64c978

Browse files
committed
换换图,修下 bug
1 parent 71d50c4 commit b64c978

39 files changed

+82
-68
lines changed

Coding_iOS.xcodeproj/project.pbxproj

Lines changed: 44 additions & 28 deletions
Large diffs are not rendered by default.

Coding_iOS/.DS_Store

0 Bytes
Binary file not shown.

Coding_iOS/Coding_iOS-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</dict>
3838
</array>
3939
<key>CFBundleVersion</key>
40-
<string>5.0.201802061600</string>
40+
<string>5.0.201802091630</string>
4141
<key>ITSAppUsesNonExemptEncryption</key>
4242
<false/>
4343
<key>LSApplicationQueriesSchemes</key>

Coding_iOS/Controllers/EditTopicViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ - (void)loadPreview
282282
- (void)addtitleBtnClick
283283
{
284284
EditLabelViewController *vc = [[EditLabelViewController alloc] init];
285-
vc.curProject = _curProTopic.project;
285+
// vc.curProject = _curProTopic.project;
286+
vc.curProject = _curProTopic.project ?: ({Project *p = [Project new]; p.id = _curProTopic.project_id; p;});
286287
vc.orignalTags = _curProTopic.mdLabels;
287288
@weakify(self);
288289
vc.tagsSelectedBlock = ^(EditLabelViewController *vc, NSMutableArray *selectedTags){

Coding_iOS/Controllers/FileActivitiesViewController.m

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -68,26 +68,6 @@ - (void)viewDidLoad
6868
_myRefreshControl = [[ODRefreshControl alloc] initInScrollView:self.myTableView];
6969
[_myRefreshControl addTarget:self action:@selector(refresh) forControlEvents:UIControlEventValueChanged];
7070

71-
// _myToolBar = ({
72-
// EaseToolBarItem *item = [EaseToolBarItem easeToolBarItemWithTitle:@" 发表评论..." image:@"button_file_comment" disableImage:nil];
73-
//
74-
// NSDictionary *attributes = @{NSFontAttributeName : [UIFont systemFontOfSize:15],
75-
// NSForegroundColorAttributeName : [UIColor colorWithHexString:@"0xB5B5B5"]};
76-
// [item setAttributes:attributes forUIControlState:UIControlStateNormal];
77-
//
78-
// EaseToolBar *toolBar = [EaseToolBar easeToolBarWithItems:@[item]];
79-
// toolBar.delegate = self;
80-
// [self.view addSubview:toolBar];
81-
// [toolBar mas_makeConstraints:^(MASConstraintMaker *make) {
82-
// make.bottom.equalTo(self.view.mas_bottom);
83-
// make.size.mas_equalTo(toolBar.frame.size);
84-
// }];
85-
// toolBar;
86-
// });
87-
// UIEdgeInsets contentInsets = UIEdgeInsetsMake(0.0, 0.0,CGRectGetHeight(self.myToolBar.frame), 0.0);
88-
// self.myTableView.contentInset = contentInsets;
89-
// self.myTableView.scrollIndicatorInsets = contentInsets;
90-
9171
[self refresh];
9272
}
9373

Coding_iOS/Controllers/TopicDetailViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ - (void)viewDidAppear:(BOOL)animated
126126
- (void)addtitleBtnClick
127127
{
128128
EditLabelViewController *vc = [[EditLabelViewController alloc] init];
129-
vc.curProject = self.curTopic.project;
129+
// vc.curProject = self.curTopic.project;
130+
vc.curProject = self.curTopic.project ?: ({Project *p = [Project new]; p.id = self.curTopic.project_id; p;});
130131
vc.orignalTags = self.curTopic.mdLabels;
131132
@weakify(self);
132133
vc.tagsSelectedBlock = ^(EditLabelViewController *vc, NSMutableArray *selectedTags){
-504 Bytes
Loading
-134 Bytes
Loading
1.35 KB
Loading
Binary file not shown.

0 commit comments

Comments
 (0)