// // CustomPlaceView.m // Haishenghai-master // // Created by GG on 2019/1/4. // Copyright © 2019年 Haishenghai intelligence network technology. All rights reserved. // #import "CustomPlaceView.h" @implementation CustomPlaceView -(instancetype)initWithFrame:(CGRect)frame{ if (self = [super initWithFrame:frame]) { } return self; } -(void)layoutSubviews{ [super layoutSubviews]; //在这里设置frame } //这里接数据模型用 //-(void)setModel:(PlaceViewModel *)model{ // _model = model; // self.nameLabel.text = model.title; //} /* // Only override drawRect: if you perform custom drawing. // An empty implementation adversely affects performance during animation. - (void)drawRect:(CGRect)rect { // Drawing code } */ @end