JohnLance
V2EX  ›  iOS

Cannot override strong property with weak property

  •  
  •   JohnLance · Mar 24, 2015 · 4573 views
    This topic created in 4082 days ago, the information mentioned may be changed or developed.

    求助。
    我从IB里拖了一个UIImageView到一个UITableViewCell里面。
    但是不知道为何抛出此错误。Google了也没有答案。
    已经尝试将Weak改为Strong也没有效果,求高人指点。
    http://sfault-image.b0.upaiyun.com/270/406/2704067800-55117562e65ac_articlex

    2 replies    2015-03-24 23:23:13 +08:00
    xuming
        1
    xuming  
       Mar 24, 2015 via iPhone   ❤️ 1
    imageView换个名字就行了。和父类的属性重名了
    JohnLance
        2
    JohnLance  
    OP
       Mar 24, 2015
    @xuming 谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4365 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 00:10 · PVG 08:10 · LAX 17:10 · JFK 20:10
    ♥ Do have faith in what you're doing.