这个项目是本人原创:要转载,请说明下:http://www.cnblogs.com/blogwithstudyofwyn/p/5618107.html项目的地址:https://github.com/Shangshanroushui/ShoppingCart.git该程序是个一元 ...
这个项目是本人原创:要转载,请说明下:http://www.cnblogs.com/blogwithstudyofwyn/p/5618107.html
项目的地址:https://github.com/Shangshanroushui/ShoppingCart.git
该程序是个一元夺宝的的购物车。
项目中依然使用的MVC
model:是商品的全部信息
GoodsInfoModel.h
@property(strong,nonatomic)NSString *imageName;//商品图片@property(strong,nonatomic)NSString *goodsTitle;//商品标题@property(strong,nonatomic)NSString *goodsPrice;//商品单价@property(assign,nonatomic)BOOL selectState;//是否选中状态@property(assign,nonatomic)NSInteger goodsNum;//商品个数@property(assign,nonatomic)NSInteger allNum;//全部个数@property(assign,nonatomic)NSInteger remainedNum;//还需个数-(instancetype)initWithDict:(NSDictionary *)dict;
海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com
原标题:iOS_一个购物车的使用
关键词:IOS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。