IOS efficient processing-Macro definition cell creation that defines a replaceable class and parameter and replaces it with its method

< H1 > define cellWithClassIdentifier (Class,identifier)\ < / H1 >

+ (instancetype) cellWithTableView: (UITableView ) tableView identifier: (NSString ) identifier {\
Class * cell = [tableView dequeueReusableCellWithIdentifier:identifier];\
if (! cell) cell = [[Class alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:identifier];\
cell.selectionStyle = UITableViewCellSelectionStyleNone;\
cell.separatorInset = UIEdgeInsetsMake (0,0,0,0);\
return cell;\
}\

the difficulty is how to handle the incoming class

May.22,2021

this problem has been resolved through classification

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b39c93-4d85d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b39c93-4d85d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?