// // CustomPlaceView.h // Haishenghai-master // // Created by GG on 2019/1/4. // Copyright © 2019年 Haishenghai intelligence network technology. All rights reserved. // #import //封装模型类 @class PlaceViewModel; @interface CustomPlaceView : UIView //提供一个`模型`属性,重写模型属性的set方法 @property (nonatomic,strong)PlaceViewModel *model; //用`weak`声明,防止内存泄露) @property (nonatomic, weak) UILabel *nameLabel; @property (nonatomic, weak) UITextField *textfield; @end