Skip to content

Commit 14abff8

Browse files
committed
iOS 11
1 parent 8ddcf94 commit 14abff8

File tree

80 files changed

+245
-3
lines changed

Some content is hidden

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

80 files changed

+245
-3
lines changed

Coding_iOS/Controllers/AddUserViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ - (void)viewDidLoad {
4949
[tableView mas_makeConstraints:^(MASConstraintMaker *make) {
5050
make.edges.equalTo(self.view);
5151
}];
52+
tableView.estimatedRowHeight = 0;
53+
tableView.estimatedSectionHeaderHeight = 0;
54+
tableView.estimatedSectionFooterHeight = 0;
5255
tableView;
5356
});
5457
_mySearchBar = ({

Coding_iOS/Controllers/CommitFilesViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ - (void)viewDidLoad{
7171
[tableView mas_makeConstraints:^(MASConstraintMaker *make) {
7272
make.edges.equalTo(self.view);
7373
}];
74+
tableView.estimatedRowHeight = 0;
75+
tableView.estimatedSectionHeaderHeight = 0;
76+
tableView.estimatedSectionFooterHeight = 0;
7477
tableView;
7578
});
7679
_myRefreshControl = [[ODRefreshControl alloc] initInScrollView:self.myTableView];

Coding_iOS/Controllers/ConversationViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ - (void)viewDidLoad
5959
[tableView mas_makeConstraints:^(MASConstraintMaker *make) {
6060
make.edges.equalTo(self.view);
6161
}];
62+
tableView.estimatedRowHeight = 0;
63+
tableView.estimatedSectionHeaderHeight = 0;
64+
tableView.estimatedSectionFooterHeight = 0;
6265
tableView;
6366
});
6467
// _refreshControl = [[ODRefreshControl alloc] initInScrollView:self.myTableView];

Coding_iOS/Controllers/CountryCodeListViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ - (void)viewDidLoad{
3434
[tableView mas_makeConstraints:^(MASConstraintMaker *make) {
3535
make.edges.equalTo(self.view);
3636
}];
37+
tableView.estimatedRowHeight = 0;
38+
tableView.estimatedSectionHeaderHeight = 0;
39+
tableView.estimatedSectionFooterHeight = 0;
3740
tableView;
3841
});
3942
_mySearchBar = ({

Coding_iOS/Controllers/EditColorViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ - (void)viewDidLoad {
4747
[tableView mas_makeConstraints:^(MASConstraintMaker *make) {
4848
make.edges.equalTo(self.view);
4949
}];
50+
tableView.estimatedRowHeight = 0;
51+
tableView.estimatedSectionHeaderHeight = 0;
52+
tableView.estimatedSectionFooterHeight = 0;
5053
tableView;
5154
});
5255
}

Coding_iOS/Controllers/EditLabelViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ - (void)viewDidLoad {
6767
[tableView mas_makeConstraints:^(MASConstraintMaker *make) {
6868
make.edges.equalTo(self.view);
6969
}];
70+
tableView.estimatedRowHeight = 0;
71+
tableView.estimatedSectionHeaderHeight = 0;
72+
tableView.estimatedSectionFooterHeight = 0;
7073
tableView;
7174
});
7275
[self sendRequest];

Coding_iOS/Controllers/EditTaskViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ - (void)viewDidLoad
7575
[tableView mas_makeConstraints:^(MASConstraintMaker *make) {
7676
make.edges.equalTo(self.view);
7777
}];
78+
tableView.estimatedRowHeight = 0;
79+
tableView.estimatedSectionHeaderHeight = 0;
80+
tableView.estimatedSectionFooterHeight = 0;
7881
tableView;
7982
});
8083
if (_myMsgInputView) {

Coding_iOS/Controllers/EditTopicViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ - (void)loadPreview
258258
tableView.dataSource = self;
259259
tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
260260
[tableView registerClass:[TopicPreviewCell class] forCellReuseIdentifier:kCellIdentifier_TopicPreviewCell];
261+
tableView.estimatedRowHeight = 0;
262+
tableView.estimatedSectionHeaderHeight = 0;
263+
tableView.estimatedSectionFooterHeight = 0;
261264
tableView;
262265
});
263266

Coding_iOS/Controllers/FileActivitiesViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ - (void)viewDidLoad
5959
[tableView mas_makeConstraints:^(MASConstraintMaker *make) {
6060
make.edges.equalTo(self.view);
6161
}];
62+
tableView.estimatedRowHeight = 0;
63+
tableView.estimatedSectionHeaderHeight = 0;
64+
tableView.estimatedSectionFooterHeight = 0;
6265
tableView;
6366
});
6467

Coding_iOS/Controllers/FileListViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ - (void)viewDidLoad
6464
make.edges.equalTo(self.view);
6565
}];
6666
tableView.allowsMultipleSelectionDuringEditing = YES;
67+
tableView.estimatedRowHeight = 0;
68+
tableView.estimatedSectionHeaderHeight = 0;
69+
tableView.estimatedSectionFooterHeight = 0;
6770
tableView;
6871
});
6972

0 commit comments

Comments
 (0)