kongK
V2EX  ›  问与答

Swift Switch warning

  •  
  •   kongK · Aug 25, 2015 · 2288 views
    This topic created in 3952 days ago, the information mentioned may be changed or developed.

    用 swift 中的 swith 语句 写的时候初见这个警告 Switch condition evaluates to a constant ,将声明的变量放到函数外面就没有警告了,不知道什么原因

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   983 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 23:28 · PVG 07:28 · LAX 16:28 · JFK 19:28
    ♥ Do have faith in what you're doing.