Giter VIP home page Giter VIP logo

Comments (3)

idealhack avatar idealhack commented on June 3, 2024

您好,感谢您对 TuSDK 的关注和建议。

扩展类方法命名我们在最近几个版本中已经改了不少,类似 UIViewinitView 我们会考虑继续加前缀,而类似 year 这类返回结果不太可能有差别的方法,似乎没有加前缀的必要。

from tusdk-for-ios-demo.

Leo934524 avatar Leo934524 commented on June 3, 2024

谢谢您的回复。
其实,我觉得对于类似 year 这类方法也是有加前缀的必要的,个人看法如下:

  • 为了解决两边的冲突,就必须删除我们的方法,或者将我们的方法添加前缀,对于删除的情况,若将来不再需要使用此库,还需将其添加回来,较为麻烦。
  • 对于其他三方库,如果对于此类进行拓展,且都使用同样的方法名不加前缀,是否不妥呢

from tusdk-for-ios-demo.

idealhack avatar idealhack commented on June 3, 2024

了解您的顾虑了,我们会在下一版本中修复这些问题。

在此之前,请您先加上自己的前缀作为暂时方案。

from tusdk-for-ios-demo.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.