I have a framework in my project that implements an extension on NSDate. The extension looks like this.
extension NSDate {
func isGreaterThanDate(otherDate: NSDate) -> Bool {
//function implementation here
}
}
I've imported this framework into an app project. Now if I copy and paste that same extension into a swift file in the app, the new copy in my app's code appears to override the copy in the framework's code.
When I'm calling this function in my app, is there a way I can use namespacing to specify which implementation I want?