Example of converting Objective-C dynamics to Swift
Some time ago I had to convert an Objective-C category I use to load UIView’s from XIB’s.
A collection of 2 posts
Some time ago I had to convert an Objective-C category I use to load UIView’s from XIB’s.
With Objective-C, a common way to define constants you use in your classes – reuse identifiers, storyboard segue identifier, etc. is to do something like this: