V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
xi_lin
V2EX  ›  Swift

Swift 3 报错 Contextual type 'AnyObject' cannot be used with dictionary/array literal

  •  
  •   xi_lin · Sep 15, 2016 · 6057 views
    This topic created in 3512 days ago, the information mentioned may be changed or developed.

    必须要手动声明as AnyObject

    为什么要引入这个呢?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3905 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 10:27 · PVG 18:27 · LAX 03:27 · JFK 06:27
    ♥ Do have faith in what you're doing.