I have Cocoapod library that offers its functionality via an extension like this:
extension ExposedLibraryClass
{
class func setup () { ... }
}
I have some boilerplate code that goes into setup() for every app I do, but each app also needs some bespoke bits adding after that. The problem is that this being an extension, I cannot subclass it, and just wedging bespoke code at the end of the setup() function is a very nasty solution.
What would you suggest I do, please? Thank you.