malcommac / Owl

A declarative type-safe framework for building fast and flexible lists with UITableViews & UICollectionViews
MIT License
432 stars 31 forks source link

How to upgrade from FlowKit to Owl? #2

Open tamasberesoebb opened 5 years ago

tamasberesoebb commented 5 years ago

Please include documentation about upgrading from FlowKit to Owl.

Should anyone replace FlowKit with Owl in an existing project?

FlowKit currently does not even compile on my machine, because I have switched to Swift 5. I guess my only option to keep using FlowKit, is to downgrade Xcode.

AgapovOne commented 5 years ago

Had a lot of style changes in code. Make sure you properly use new register(_:) methods on cells and headers/footers, cause they are called on registerAdapter. ModelProtocol -> ElementRepresentable is fairly easy if you use Hashable on a model.