If you use Storyboards or Xibs, there is added benefit when the preview of your
custom view is rendered right in Xcode. We can achieve that using @IBDesignable
and @IBInspectable.
@IBInspectable make property
Let's continue the work we did in the previous post
[https://arturgruchala.com/strongly-typed-collection-cells/] by making
UITableView and UICollectionView handle cells without hassle. Elevating Reusable
protocol, write extension:
Do you ever feel that using Strings as identifiers is not ideal? Losing track of
names in storyboards, constants, view controllers, and data sources? We all have
been there.
There is a solution