Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 882 Bytes

MIGRATION GUIDE 1.3.0 TO 2.X.md

File metadata and controls

24 lines (20 loc) · 882 Bytes

IQListKit MIGRATION GUIDE 1.3.0 TO 2.X

1. registerCell function

Old registerCell function

func registerCell<T: IQModelableCell>(type: T.Type, bundle: Bundle? = .main, registerType: RegisterType = .default)

New registerCell function changes the order of argument and makes to send registerType as required parameter.

func registerCell<T: IQModelableCell>(type: T.Type, registerType: RegisterType, bundle: Bundle = .main)

2. registerHeaderFooter function

Old registerHeaderFooter function

func registerHeaderFooter<T: UIView>(type: T.Type, bundle: Bundle? = .main)

New registerHeaderFooter function changed the order of arguments and also added to send registerType as required parameter

func registerHeaderFooter<T: UIView>(type: T.Type, registerType: RegisterType, bundle: Bundle = .main)