// // Item.m // // Created by tederen on 16/11/19 // Copyright © 2019 tederen. All rights reserved. // #import "Item.h" //#import "Block.h" @implementation Item - (NSInteger)cellID { if (self.ImageUrls.count == 0) { _cellID = 1; }else if(self.ImageUrls.count == 1 || self.ImageUrls.count == 2){ _cellID = 2; }else{ _cellID = 3; } return _cellID; } #pragma mark:- Constructor @end