forked from liuchaogenius/DianjiaApp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
1,116 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
YHB_Prj/YHB_Prj/FourthViewController/ChooseLocaVC/CLTableViewCell.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// CLTableViewCell.h | ||
// YHB_Prj | ||
// | ||
// Created by Johnny's on 15/8/29. | ||
// Copyright (c) 2015年 striveliu. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@interface CLTableViewCell : UITableViewCell | ||
@property(nonatomic, strong) UILabel *titleLabel; | ||
|
||
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier; | ||
|
||
@end |
39 changes: 39 additions & 0 deletions
39
YHB_Prj/YHB_Prj/FourthViewController/ChooseLocaVC/CLTableViewCell.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// | ||
// CLTableViewCell.m | ||
// YHB_Prj | ||
// | ||
// Created by Johnny's on 15/8/29. | ||
// Copyright (c) 2015年 striveliu. All rights reserved. | ||
// | ||
|
||
#import "CLTableViewCell.h" | ||
|
||
@implementation CLTableViewCell | ||
|
||
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier | ||
{ | ||
if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) | ||
{ | ||
self.backgroundColor = [UIColor whiteColor]; | ||
self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 50, 30)]; | ||
self.titleLabel.textAlignment = NSTextAlignmentCenter; | ||
[self addSubview:self.titleLabel]; | ||
|
||
UIView *lineView = [[UIView alloc] initWithFrame:CGRectMake(0, 29, 50, 0.5)]; | ||
lineView.backgroundColor = RGBCOLOR(220, 220, 220); | ||
[self addSubview:lineView]; | ||
} | ||
return self; | ||
} | ||
|
||
- (void)awakeFromNib { | ||
// Initialization code | ||
} | ||
|
||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated { | ||
[super setSelected:selected animated:animated]; | ||
|
||
// Configure the view for the selected state | ||
} | ||
|
||
@end |
15 changes: 15 additions & 0 deletions
15
YHB_Prj/YHB_Prj/FourthViewController/ChooseLocaVC/ChooseLocaViewController.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// ChooseLocaViewController.h | ||
// YHB_Prj | ||
// | ||
// Created by Johnny's on 15/8/29. | ||
// Copyright (c) 2015年 striveliu. All rights reserved. | ||
// | ||
|
||
#import "BaseViewController.h" | ||
|
||
@interface ChooseLocaViewController : BaseViewController | ||
|
||
- (instancetype)initWithEditBlock:(void(^)(NSString *))aBlock; | ||
|
||
@end |
Oops, something went wrong.