Skip to content

Commit

Permalink
构建选择地址页面
Browse files Browse the repository at this point in the history
  • Loading branch information
woaomo committed Aug 29, 2015
1 parent c5a7f7f commit 420ba8b
Show file tree
Hide file tree
Showing 16 changed files with 1,116 additions and 17 deletions.
46 changes: 46 additions & 0 deletions YHB_Prj/YHB_Prj.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
AB42ACD91B8BE303001FB93A /* GateTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = AB42ACD71B8BE303001FB93A /* GateTableViewCell.m */; };
AB42ACDA1B8BE303001FB93A /* GateTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = AB42ACD81B8BE303001FB93A /* GateTableViewCell.xib */; };
AB42ACDD1B8BE97E001FB93A /* GateHeaderView.m in Sources */ = {isa = PBXBuildFile; fileRef = AB42ACDC1B8BE97E001FB93A /* GateHeaderView.m */; };
AB8844151B913D6300FA526D /* TableViewWithBlock.m in Sources */ = {isa = PBXBuildFile; fileRef = AB8844101B913D6300FA526D /* TableViewWithBlock.m */; };
AB8844161B913D6300FA526D /* UITableView+DataSourceBlocks.m in Sources */ = {isa = PBXBuildFile; fileRef = AB8844121B913D6300FA526D /* UITableView+DataSourceBlocks.m */; };
AB8844171B913D6300FA526D /* UITableView+DelegateBlocks.m in Sources */ = {isa = PBXBuildFile; fileRef = AB8844141B913D6300FA526D /* UITableView+DelegateBlocks.m */; };
AB88441B1B913DBB00FA526D /* ChooseLocaViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = AB88441A1B913DBB00FA526D /* ChooseLocaViewController.m */; };
AB88441E1B914D0F00FA526D /* CLTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = AB88441D1B914D0F00FA526D /* CLTableViewCell.m */; };
FF012FA91B8EB92C00AE563C /* VipInfoMode.m in Sources */ = {isa = PBXBuildFile; fileRef = FF012F941B8EB92C00AE563C /* VipInfoMode.m */; };
FF012FAA1B8EB92C00AE563C /* HYXFJLListViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = FF012F961B8EB92C00AE563C /* HYXFJLListViewController.xib */; };
FF012FAB1B8EB92C00AE563C /* HYXFJLListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = FF012F971B8EB92C00AE563C /* HYXFJLListViewController.m */; };
Expand Down Expand Up @@ -232,6 +237,16 @@
AB42ACD81B8BE303001FB93A /* GateTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = GateTableViewCell.xib; sourceTree = "<group>"; };
AB42ACDB1B8BE97E001FB93A /* GateHeaderView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GateHeaderView.h; sourceTree = "<group>"; };
AB42ACDC1B8BE97E001FB93A /* GateHeaderView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GateHeaderView.m; sourceTree = "<group>"; };
AB88440F1B913D6300FA526D /* TableViewWithBlock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TableViewWithBlock.h; sourceTree = "<group>"; };
AB8844101B913D6300FA526D /* TableViewWithBlock.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TableViewWithBlock.m; sourceTree = "<group>"; };
AB8844111B913D6300FA526D /* UITableView+DataSourceBlocks.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UITableView+DataSourceBlocks.h"; sourceTree = "<group>"; };
AB8844121B913D6300FA526D /* UITableView+DataSourceBlocks.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UITableView+DataSourceBlocks.m"; sourceTree = "<group>"; };
AB8844131B913D6300FA526D /* UITableView+DelegateBlocks.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UITableView+DelegateBlocks.h"; sourceTree = "<group>"; };
AB8844141B913D6300FA526D /* UITableView+DelegateBlocks.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UITableView+DelegateBlocks.m"; sourceTree = "<group>"; };
AB8844191B913DBB00FA526D /* ChooseLocaViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ChooseLocaViewController.h; sourceTree = "<group>"; };
AB88441A1B913DBB00FA526D /* ChooseLocaViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ChooseLocaViewController.m; sourceTree = "<group>"; };
AB88441C1B914D0F00FA526D /* CLTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CLTableViewCell.h; sourceTree = "<group>"; };
AB88441D1B914D0F00FA526D /* CLTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CLTableViewCell.m; sourceTree = "<group>"; };
FF012F941B8EB92C00AE563C /* VipInfoMode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VipInfoMode.m; sourceTree = "<group>"; };
FF012F951B8EB92C00AE563C /* VipInfoMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VipInfoMode.h; sourceTree = "<group>"; };
FF012F961B8EB92C00AE563C /* HYXFJLListViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = HYXFJLListViewController.xib; sourceTree = "<group>"; };
Expand Down Expand Up @@ -644,6 +659,30 @@
path = GateVC;
sourceTree = "<group>";
};
AB88440E1B913D5A00FA526D /* DropDownView */ = {
isa = PBXGroup;
children = (
AB88440F1B913D6300FA526D /* TableViewWithBlock.h */,
AB8844101B913D6300FA526D /* TableViewWithBlock.m */,
AB8844111B913D6300FA526D /* UITableView+DataSourceBlocks.h */,
AB8844121B913D6300FA526D /* UITableView+DataSourceBlocks.m */,
AB8844131B913D6300FA526D /* UITableView+DelegateBlocks.h */,
AB8844141B913D6300FA526D /* UITableView+DelegateBlocks.m */,
);
path = DropDownView;
sourceTree = "<group>";
};
AB8844181B913DA500FA526D /* ChooseLocaVC */ = {
isa = PBXGroup;
children = (
AB8844191B913DBB00FA526D /* ChooseLocaViewController.h */,
AB88441A1B913DBB00FA526D /* ChooseLocaViewController.m */,
AB88441C1B914D0F00FA526D /* CLTableViewCell.h */,
AB88441D1B914D0F00FA526D /* CLTableViewCell.m */,
);
path = ChooseLocaVC;
sourceTree = "<group>";
};
FF2A6BD11A0F3780001607AC = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -898,6 +937,8 @@
FF2A6C8D1A0F3CC9001607AC /* FourthViewController */ = {
isa = PBXGroup;
children = (
AB8844181B913DA500FA526D /* ChooseLocaVC */,
AB88440E1B913D5A00FA526D /* DropDownView */,
AB40EABE1B8C01FA00DE5ED7 /* SupplierVC */,
AB40EAB21B8BF96700DE5ED7 /* ClerkVC */,
AB42ACD21B8BE000001FB93A /* GateVC */,
Expand Down Expand Up @@ -1342,6 +1383,7 @@
AB25793D1B8F02010015039A /* IQBarButtonItem.m in Sources */,
FF4DFCFA1B856C2B00617660 /* LoginMode.m in Sources */,
FF5C86FE1B81B72400F79EC1 /* NSArray+MASAdditions.m in Sources */,
AB8844151B913D6300FA526D /* TableViewWithBlock.m in Sources */,
FF5C871F1B83024C00F79EC1 /* FMDatabaseQueue.m in Sources */,
AB42ACD51B8BE01A001FB93A /* GateViewController.m in Sources */,
FF5C86FA1B81B72400F79EC1 /* MASConstraintMaker.m in Sources */,
Expand All @@ -1359,6 +1401,7 @@
FF5C86FF1B81B72400F79EC1 /* NSLayoutConstraint+MASDebugAdditions.m in Sources */,
FF012FB11B8EB92C00AE563C /* HYGLManager.m in Sources */,
AB25793B1B8F02010015039A /* IQSegmentedNextPrevious.m in Sources */,
AB88441E1B914D0F00FA526D /* CLTableViewCell.m in Sources */,
FFD26CF41B8C546F0003F491 /* ZCBCell.m in Sources */,
FF2A6C0C1A0F3A01001607AC /* UIImage+ImageEffects.m in Sources */,
FF2A6C791A0F3B7B001607AC /* UIImageView+WebCache.m in Sources */,
Expand Down Expand Up @@ -1395,6 +1438,7 @@
FF2A6C6B1A0F3B7B001607AC /* MKAnnotationView+WebCache.m in Sources */,
FF5C87271B830F3000F79EC1 /* LoginManager.m in Sources */,
FF5C87201B83024C00F79EC1 /* FMResultSet.m in Sources */,
AB88441B1B913DBB00FA526D /* ChooseLocaViewController.m in Sources */,
FF012FAD1B8EB92C00AE563C /* HYLSXFCell.m in Sources */,
FF5C87241B83025600F79EC1 /* YTKKeyValueStore.m in Sources */,
FF2A6C3E1A0F3B66001607AC /* UIViewAdditions.m in Sources */,
Expand All @@ -1420,11 +1464,13 @@
FF5C86DD1B818BE700F79EC1 /* SloppySwiper.m in Sources */,
AB2579371B8F02010015039A /* IQUIViewController+Additions.m in Sources */,
FF4DFCF31B856B9600617660 /* JsonToModel.m in Sources */,
AB8844171B913D6300FA526D /* UITableView+DelegateBlocks.m in Sources */,
5B1F7FA31B90B62900763059 /* DJProductCheckListDetailVC.m in Sources */,
FF5C86FB1B81B72400F79EC1 /* MASLayoutConstraint.m in Sources */,
FF2A6C721A0F3B7B001607AC /* SDWebImageManager.m in Sources */,
FF2A6C891A0F3B8A001607AC /* UIScrollView+SVPullToRefresh.m in Sources */,
FFD26CEA1B8C1B3B0003F491 /* KCYJViewController.m in Sources */,
AB8844161B913D6300FA526D /* UITableView+DataSourceBlocks.m in Sources */,
FF2A6C991A0F3D1C001607AC /* ThirdViewController.m in Sources */,
AB42ACD01B8B4140001FB93A /* FourthTableViewCell.m in Sources */,
FFF391971B846F58007DC652 /* AFNetworkReachabilityManager.m in Sources */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,13 @@
<dict>
<key>706F4A54D6D98022B9E07F56AD29736D3F1A7ADB</key>
<string>https://github.com/liuchaogenius/DianjiaApp.git</string>
<key>EAEE6FE440EFEE034D4AFA48F9F902F13C97B8BE</key>
<string>https://github.com/liuchaogenius/YiHaoBu.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>YHB_Prj/YHB_Prj.xcodeproj</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>706F4A54D6D98022B9E07F56AD29736D3F1A7ADB</key>
<string>../../..</string>
<key>EAEE6FE440EFEE034D4AFA48F9F902F13C97B8BE</key>
<string>../../../../YiHaoBu</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>https://github.com/liuchaogenius/DianjiaApp.git</string>
Expand All @@ -40,14 +36,6 @@
<key>IDESourceControlWCCName</key>
<string>DianjiaApp</string>
</dict>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>EAEE6FE440EFEE034D4AFA48F9F902F13C97B8BE</string>
<key>IDESourceControlWCCName</key>
<string>YiHaoBu</string>
</dict>
</array>
</dict>
</plist>
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
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
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
Loading

0 comments on commit 420ba8b

Please sign in to comment.