GithubHelp home page GithubHelp logo

Comments (4)

eggswift avatar eggswift commented on August 15, 2024

一个很好的问题,之所以这样命名是因为ESTabBarController是支持类似UIButton的高亮状态的。所以才命名成highlight。

from estabbarcontroller.

CepheusSun avatar CepheusSun commented on August 15, 2024

另外

        let v1 = ViewController()
        v1.tabBarItem = ESTabBarItem(TabbarBasicContentView(), image: #imageLiteral(resourceName: "tabbar_hot_normal"))

这样的代码,并且在 给 v1的title属性一个值。然后下面的标签控制器还是出现了这个值(不知道我表述清楚没有) 这个跟期望的只在 navigationbar 上出现有点出入。这样的设计是为了跟系统一致吗?毕竟我使用了 ESTabbarItem 来替代系统的 UITabbarItem 并且在创建的时候, 也没有给 title 值。

from estabbarcontroller.

eggswift avatar eggswift commented on August 15, 2024

ESTabBarItem的title是和UITabBarItem的title做了桥接,在表现上是和系统一致的

from estabbarcontroller.

CepheusSun avatar CepheusSun commented on August 15, 2024

很牛X的东西, 谢谢大神。

from estabbarcontroller.

Related Issues (20)

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.