Same class extension in two different modules

后端 未结 1 1864
借酒劲吻你
借酒劲吻你 2021-01-12 14:24

I have a framework in my project that implements an extension on NSDate. The extension looks like this.

extension NSDate {
   func isGreaterThanDate(otherDa         


        
相关标签:
1条回答
  • 2021-01-12 14:59

    The only answer I've found so far "No you can't use namespacing to protect against this." But I'm still keeping my eyes open for how to handle this situation if someone uses the same function signature like this accidentally.

    0 讨论(0)
提交回复
热议问题