How can I make a generic extension in Swift?

前端 未结 0 1917
余生分开走
余生分开走 2021-01-03 11:59

I want make a generic extension for avoiding me to repeating my code for deferent types. here is my code need to get fixed!

    extension Bool {
    
    func         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题