Skip to content

Commit b8b248d

Browse files
committed
改颜色、该图片
1 parent ca2905b commit b8b248d

Some content is hidden

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

64 files changed

+19
-106
lines changed

Coding_iOS/.DS_Store

0 Bytes
Binary file not shown.

Coding_iOS/AppDelegate.m

-2
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ - (void)setupLoginViewController{
234234

235235
- (void)setupIntroductionViewController{
236236
IntroductionViewController *introductionVC = [[IntroductionViewController alloc] init];
237-
// [self.window setRootViewController:[[BaseNavigationController alloc] initWithRootViewController:introductionVC]];
238237
[self.window setRootViewController:introductionVC];
239238
}
240239

@@ -247,7 +246,6 @@ - (void)setupTabViewController{
247246

248247
- (void)customizeInterface {
249248
//设置Nav的背景色和title色
250-
251249
UINavigationBar *navigationBarAppearance = [UINavigationBar appearance];
252250
[navigationBarAppearance setBackgroundImage:[UIImage imageWithColor:[NSObject baseURLStrIsProduction]? kColorNavBG: kColorBrandGreen] forBarMetrics:UIBarMetricsDefault];
253251
[navigationBarAppearance setTintColor:kColorBrandGreen];//返回按钮的箭头颜色

Coding_iOS/Controllers/AddMDCommentViewController.m

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ @implementation AddMDCommentViewController
2929
- (void)viewDidLoad {
3030
[super viewDidLoad];
3131
// Do any additional setup after loading the view.
32+
self.view.backgroundColor = kColorTableBG;
3233
if (!_segmentedControl) {
3334
_segmentedControl = ({
3435
UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:@[@"编辑", @"预览"]];

Coding_iOS/Controllers/CodeViewController.m

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ + (CodeViewController *)codeVCWithProject:(Project *)project andCodeFile:(CodeFi
3131
- (void)viewDidLoad {
3232
[super viewDidLoad];
3333
// Do any additional setup after loading the view.
34+
self.view.backgroundColor = kColorTableBG;
3435
self.title = self.isReadMe? @"README": [[_myCodeFile.path componentsSeparatedByString:@"/"] lastObject];
3536

3637
{

Coding_iOS/Controllers/ConversationViewController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ - (void)viewDidLoad
4848
// 添加myTableView
4949
_myTableView = ({
5050
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
51-
tableView.backgroundColor = [UIColor clearColor];
51+
tableView.backgroundColor = kColorTableBG;
5252
tableView.dataSource = self;
5353
tableView.delegate = self;
5454
tableView.separatorStyle = UITableViewCellSeparatorStyleNone;

Coding_iOS/Controllers/EditCodeViewController.m

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ @implementation EditCodeViewController
2727
- (void)viewDidLoad {
2828
[super viewDidLoad];
2929
// Do any additional setup after loading the view.
30+
self.view.backgroundColor = kColorTableBG;
3031
if (!_segmentedControl) {
3132
_segmentedControl = ({
3233
UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:@[@"编辑", @"预览"]];

Coding_iOS/Controllers/EditTopicViewController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ - (void)viewDidLoad
4949
{
5050
[super viewDidLoad];
5151
// Do any additional setup after loading the view.
52-
52+
self.view.backgroundColor = kColorTableBG;
5353
if (!_segmentedControl) {
5454
_segmentedControl = ({
5555
UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:@[@"编辑", @"预览"]];

Coding_iOS/Controllers/FileEditViewController.m

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ @implementation FileEditViewController
2929
- (void)viewDidLoad {
3030
[super viewDidLoad];
3131
// Do any additional setup after loading the view from its nib.
32+
self.view.backgroundColor = kColorTableBG;
3233
[self requestFileContent];
3334
}
3435

Coding_iOS/Controllers/ProjectTweetSendViewController.m

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ @implementation ProjectTweetSendViewController
2828
- (void)viewDidLoad {
2929
[super viewDidLoad];
3030
// Do any additional setup after loading the view.
31+
self.view.backgroundColor = kColorTableBG;
3132
if (!_segmentedControl) {
3233
_segmentedControl = ({
3334
UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:@[@"编辑", @"预览"]];

Coding_iOS/Controllers/RootControllers/BaseViewController.m

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ - (void)viewWillDisappear:(BOOL)animated
8080

8181
- (void)viewDidLoad{
8282
[super viewDidLoad];
83-
self.view.backgroundColor = kColorTableBG;
83+
// self.view.backgroundColor = kColorTableBG;
84+
self.view.backgroundColor = kColorTableSectionBg;
8485

8586
if (self.interfaceOrientation != UIInterfaceOrientationPortrait
8687
&& !([self supportedInterfaceOrientations] & UIInterfaceOrientationMaskLandscapeLeft)) {

Coding_iOS/Controllers/TaskDescriptionViewController.m

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ @implementation TaskDescriptionViewController
2727
- (void)viewDidLoad {
2828
[super viewDidLoad];
2929
// Do any additional setup after loading the view.
30+
self.view.backgroundColor = kColorTableBG;
3031
if (!_segmentedControl) {
3132
_segmentedControl = ({
3233
UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:@[@"编辑", @"预览"]];

Coding_iOS/Controllers/Topic/CSHotTopicView.m

-44
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@ - (id)initWithFrame:(CGRect)frame {
5252
[tableView mas_makeConstraints:^(MASConstraintMaker *make) {
5353
make.edges.equalTo(self);
5454
}];
55-
// {
56-
// UIEdgeInsets insets = UIEdgeInsetsMake(0, 0, CGRectGetHeight(self.rdv_tabBarController.tabBar.frame), 0);
57-
// tableView.contentInset = insets;
58-
// tableView.scrollIndicatorInsets = insets;
59-
// }
6055
tableView;
6156
});
6257

@@ -169,39 +164,6 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
169164
[self.parentVC.navigationController pushViewController:vc animated:YES];
170165
}
171166

172-
//- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {
173-
// if (_adlist.count == 0) {
174-
// return 0;
175-
// }
176-
// return _adHeight;
177-
//}
178-
179-
//- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
180-
// if (_adlist.count == 0) {
181-
// return nil;
182-
// }
183-
//
184-
// if (!_adView) {
185-
//
186-
// __weak CSHotTopicView *wself = self;
187-
// _adView = [CodingBannersView new];
188-
// _adView.tapActionBlock = ^(CodingBanner *tapedBanner) {
189-
//
190-
// CSTopicDetailVC *vc = [[CSTopicDetailVC alloc] init];
191-
// vc.topicID = [tapedBanner.id intValue];
192-
//
193-
// [wself.parentVC.navigationController pushViewController:vc animated:YES];
194-
// };
195-
// _adView.backgroundColor = [UIColor whiteColor];
196-
//
197-
// }
198-
//
199-
// _adView.curBannerList = self.adlist;
200-
//
201-
// return _adView;
202-
//}
203-
//
204-
205167

206168
@end
207169

@@ -229,8 +191,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
229191
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
230192
if (self) {
231193
self.selectionStyle = UITableViewCellSelectionStyleNone;
232-
self.backgroundColor = [UIColor clearColor];
233-
234194
self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
235195

236196
_nameLabel = [[UILabel alloc] initWithFrame:CGRectMake(kPaddingLeftWidth, 15, kScreen_Width - kPaddingLeftWidth - kHotTopicCellPaddingRight, 12)];
@@ -331,8 +291,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
331291
if (self) {
332292
// Initialization code
333293
self.selectionStyle = UITableViewCellSelectionStyleNone;
334-
self.backgroundColor = [UIColor clearColor];
335-
336294
self.textLabel.frame = CGRectMake(kPaddingLeftWidth, 12, kScreen_Width - 100, 12);
337295
self.textLabel.font = [UIFont systemFontOfSize:13];
338296
self.textLabel.textColor = kColor222;
@@ -362,8 +320,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
362320
if (self) {
363321
// Initialization code
364322
self.selectionStyle = UITableViewCellSelectionStyleNone;
365-
self.backgroundColor = [UIColor clearColor];
366-
367323
UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init];
368324
layout.minimumLineSpacing = 0;
369325
layout.itemSize = CGSizeMake(kScreen_Width, 80);

Coding_iOS/Controllers/Topic/CSTopicCreateVC.m

+1-3
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
324324
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
325325
if (self) {
326326
// Initialization code
327-
self.selectionStyle = UITableViewCellSelectionStyleNone;
328-
self.backgroundColor = [UIColor clearColor];
329-
327+
self.selectionStyle = UITableViewCellSelectionStyleNone;
330328
self.textLabel.frame = CGRectMake(kPaddingLeftWidth, 0, kScreen_Width - kPaddingLeftWidth - 15, 44);
331329
self.textLabel.font = [UIFont systemFontOfSize:15];
332330
self.textLabel.textColor = kColor222;
-733 Bytes
Loading

Coding_iOS/Images/comment_bg@2x.png

24 Bytes
Loading

Coding_iOS/Vendor/XTSegmentControl/XTSegmentControl.m

+4-4
Original file line numberDiff line numberDiff line change
@@ -182,24 +182,24 @@ @implementation XTSegmentControl
182182
- (id)initWithFrame:(CGRect)frame Items:(NSArray *)titleItem withIcon:(BOOL)isIcon
183183
{
184184
if (self = [super initWithFrame:frame]) {
185-
[self initUIWith:isIcon Items:titleItem];
185+
[self setupUI_IsIcon:isIcon Items:titleItem];
186186
}
187187
return self;
188188
}
189189

190190
- (id)initWithFrame:(CGRect)frame Items:(NSArray *)titleItem
191191
{
192192
if (self = [super initWithFrame:frame]) {
193-
[self initUIWith:NO Items:titleItem];
193+
[self setupUI_IsIcon:NO Items:titleItem];
194194
}
195195
return self;
196196
}
197197

198-
- (void)initUIWith:(BOOL)isIcon Items:(NSArray *)titleItem
198+
- (void)setupUI_IsIcon:(BOOL)isIcon Items:(NSArray *)titleItem
199199
{
200200
_contentView = ({
201201
UIScrollView *scrollView = [[UIScrollView alloc] initWithFrame:self.bounds];
202-
scrollView.backgroundColor = [UIColor clearColor];
202+
scrollView.backgroundColor = kColorTableBG;
203203
scrollView.delegate = self;
204204
scrollView.showsHorizontalScrollIndicator = NO;
205205
scrollView.scrollsToTop = NO;

Coding_iOS/Views/Cell/CodingTipCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
3939
if (self) {
4040
// Initialization code
4141
self.selectionStyle = UITableViewCellSelectionStyleNone;
42-
self.backgroundColor = [UIColor clearColor];
4342
// if (!self.ownerImgView) {
4443
// self.ownerImgView = [[UITapImageView alloc] initWithFrame:CGRectMake(kPaddingLeftWidth, 15, user_icon_width, user_icon_width)];
4544
// [self.ownerImgView doCircleFrame];

Coding_iOS/Views/Cell/ConversationCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
2020
{
2121
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
2222
if (self) {
23-
self.backgroundColor = [UIColor clearColor];
2423
// Initialization code
2524
if (!_userIconView) {
2625
_userIconView = [[UIImageView alloc] initWithFrame:CGRectMake(kPaddingLeftWidth, ([ConversationCell cellHeight]-48)/2, 48, 48)];

Coding_iOS/Views/Cell/FileListFileCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
3131
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
3232
if (self) {
3333
// Initialization code
34-
self.backgroundColor = [UIColor clearColor];
3534
if (!_iconView) {
3635
_iconView = [[YLImageView alloc] initWithFrame:CGRectMake(kPaddingLeftWidth, ([FileListFileCell cellHeight] - kFileListFileCell_IconWidth)/2, kFileListFileCell_IconWidth, kFileListFileCell_IconWidth)];
3736
_iconView.layer.masksToBounds = YES;

Coding_iOS/Views/Cell/FileListFolderCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
2525
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
2626
if (self) {
2727
self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
28-
self.backgroundColor = [UIColor clearColor];
2928
// Initialization code
3029
if (!_iconView) {
3130
_iconView = [[UIImageView alloc] initWithFrame:CGRectMake(kPaddingLeftWidth, ([FileListFolderCell cellHeight] - kFileListFolderCell_IconWidth)/2, kFileListFolderCell_IconWidth, kFileListFolderCell_IconWidth)];

Coding_iOS/Views/Cell/FileSearchCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
2828
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
2929
if (self) {
3030
// Initialization code
31-
self.backgroundColor = [UIColor clearColor];
3231
if (!_iconView) {
3332
_iconView = [[UIImageView alloc] initWithFrame:CGRectMake(kPaddingLeftWidth, (kFileSearchCellHeight - kFileListFileCell_IconWidth)/2, kFileListFileCell_IconWidth, kFileListFileCell_IconWidth)];
3433
_iconView.contentMode=UIViewContentModeScaleAspectFill;

Coding_iOS/Views/Cell/FileVersionCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
2929
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
3030
if (self) {
3131
// Initialization code
32-
self.backgroundColor = [UIColor clearColor];
3332
if (!_iconView) {
3433
_iconView = [[YLImageView alloc] initWithFrame:CGRectMake(kPaddingLeftWidth, ([FileVersionCell cellHeight] - kFileVersionCell_IconWidth)/2, kFileVersionCell_IconWidth, kFileVersionCell_IconWidth)];
3534
_iconView.layer.masksToBounds = YES;

Coding_iOS/Views/Cell/ForkTreeCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
2424
if (self) {
2525
// Initialization code
2626
self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
27-
self.backgroundColor = [UIColor clearColor];
2827
if (!_forkerIconView) {
2928
_forkerIconView = [UIImageView new];
3029
_forkerIconView.layer.masksToBounds = YES;

Coding_iOS/Views/Cell/LocalFileCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
2020
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
2121
if (self) {
2222
self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
23-
self.backgroundColor = [UIColor clearColor];
2423
// Initialization code
2524
CGFloat icon_width = 45.0;
2625
if (!_iconView) {

Coding_iOS/Views/Cell/LocalFolderCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
1919
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
2020
if (self) {
2121
self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
22-
self.backgroundColor = [UIColor clearColor];
2322
// Initialization code
2423
CGFloat icon_width = 45.0;
2524
if (!_iconView) {

Coding_iOS/Views/Cell/Login2FATipCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
1414
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
1515
if (self) {
1616
// Initialization code
17-
self.backgroundColor = [UIColor clearColor];
1817
self.userInteractionEnabled = NO;
1918
if (!_tipLabel) {
2019
_tipLabel = [UILabel new];

Coding_iOS/Views/Cell/MemberCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
2323
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
2424
if (self) {
2525
// Initialization code
26-
self.backgroundColor = [UIColor clearColor];
2726
if (!_memberIconView) {
2827
_memberIconView = [[UIImageView alloc] initWithFrame:CGRectMake(10, ([MemberCell cellHeight]-40)/2, 40, 40)];
2928
[_memberIconView doCircleFrame];

Coding_iOS/Views/Cell/MessageCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
4747
if (self) {
4848
// Initialization code
4949
self.selectionStyle = UITableViewCellSelectionStyleNone;
50-
self.backgroundColor = [UIColor clearColor];
5150
_preMediaViewHeight = 0;
5251

5352
if (!_userIconView) {

Coding_iOS/Views/Cell/PRMRSearchCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
2929
if (self) {
3030
// Initialization code
3131
self.accessoryType = UITableViewCellAccessoryNone;
32-
self.backgroundColor = [UIColor clearColor];
3332
if (!_imgView) {
3433
_imgView = [UIImageView new];
3534
_imgView.layer.masksToBounds = YES;

Coding_iOS/Views/Cell/PointRecordCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
1717
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
1818
if (self) {
1919
// Initialization code
20-
self.backgroundColor = [UIColor clearColor];
2120
self.selectionStyle = UITableViewCellSelectionStyleNone;
2221
if (!_usageL) {
2322
_usageL = [UILabel labelWithFont:[UIFont systemFontOfSize:15] textColor:kColor222];

Coding_iOS/Views/Cell/PointShopCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
1818
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
1919
if (self) {
2020
// Initialization code
21-
self.backgroundColor = [UIColor clearColor];
2221
self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
2322
if (!_iconView) {
2423
_iconView = [UIImageView new];

Coding_iOS/Views/Cell/PointTopCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
1717
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
1818
if (self) {
1919
// Initialization code
20-
self.backgroundColor = [UIColor clearColor];
2120
self.selectionStyle = UITableViewCellSelectionStyleNone;
2221
if (!_valueL) {
2322
_valueL = [UILabel new];

Coding_iOS/Views/Cell/ProjectAboutMeListCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
3030
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
3131
if (self) {
3232
// Initialization code
33-
self.backgroundColor = [UIColor clearColor];
3433
if (!_projectIconView) {
3534
_projectIconView = [[UIImageView alloc] initWithFrame:CGRectMake(12, 12, kIconSize, kIconSize)];
3635
_projectIconView.layer.masksToBounds = YES;

Coding_iOS/Views/Cell/ProjectAboutOthersListCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
3232
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
3333
if (self) {
3434
// Initialization code
35-
self.backgroundColor = [UIColor clearColor];
3635
if (!_projectIconView) {
3736
_projectIconView = [[UIImageView alloc] initWithFrame:CGRectMake(12, 12, kIconSize, kIconSize)];
3837
_projectIconView.layer.masksToBounds = YES;

Coding_iOS/Views/Cell/ProjectActivityListCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
4747
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
4848
if (self) {
4949
// Initialization code
50-
self.backgroundColor = [UIColor clearColor];
5150
if (!_userIconView) {
5251
_userIconView = [[UITapImageView alloc] initWithFrame:CGRectMake(kPaddingLeftWidth, kProjectActivityListCell_UpDownPading, kProjectActivityListCell_IconHeight, kProjectActivityListCell_IconHeight)];
5352
[_userIconView doCircleFrame];

Coding_iOS/Views/Cell/ProjectCodeListCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
2626
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
2727
if (self) {
2828
self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
29-
self.backgroundColor = [UIColor clearColor];
3029
// Initialization code
3130
if (!_leftIconView) {
3231
_leftIconView = [[UIImageView alloc] initWithFrame:CGRectMake(kPaddingLeftWidth, ([self.class cellHeight] - kCode_IconViewWidth)/2, kCode_IconViewWidth, kCode_IconViewWidth)];

Coding_iOS/Views/Cell/ProjectFolderListCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
2222
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
2323
if (self) {
2424
self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
25-
self.backgroundColor = [UIColor clearColor];
2625
// Initialization code
2726
if (!_iconView) {
2827
_iconView = [[UIImageView alloc] initWithFrame:CGRectMake(kPaddingLeftWidth, ([ProjectFolderListCell cellHeight] - kProjectFolderListCell_IconWidth)/2, kProjectFolderListCell_IconWidth, kProjectFolderListCell_IconWidth)];

Coding_iOS/Views/Cell/ProjectItemsCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
2323
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
2424
if (self) {
2525
// Initialization code
26-
self.backgroundColor = [UIColor clearColor];
2726
self.selectionStyle = UITableViewCellSelectionStyleNone;
2827

2928
NSInteger itemsNum = 0, itemsNumInLine = 1;

Coding_iOS/Views/Cell/ProjectListCell.m

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
2828
if (self) {
2929
// Initialization code
3030
self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
31-
self.backgroundColor = [UIColor clearColor];
3231
if (!_projectIconView) {
3332
_projectIconView = [[UIImageView alloc] initWithFrame:CGRectMake(kPaddingLeftWidth, 10, kProjectListCell_IconHeight, kProjectListCell_IconHeight)];
3433
_projectIconView.layer.masksToBounds = YES;

0 commit comments

Comments
 (0)