现在讲究的是快速开发,storyboa'r'd自定义cell还是比较少用得,但是开发起来特别快。镔哥就不多说了,直接给你们demo看吧
1:自定义cell
// xdxTableViewCell.h
// 短线狙击
//
// Created by taogu on 15/10/28.
// Copyright © 2015年 com.taogucn.www. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface xdxTableViewCell : UITableViewCell
@property (strong, nonatomic) IBOutlet UILabel *xdxTitle;
@property (strong, nonatomic) IBOutlet UIImageView *isBuy;
@property (strong, nonatomic) IBOutlet UILabel *xdxName;
@property (strong, nonatomic) IBOutlet UILabel *xdxDate;
@end
//
// xdxTableViewCell.m
// 短线狙击
//
// Created by taogu on 15/10/28.
// Copyright © 2015年 com.taogucn.www. All rights reserved.