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

Cannot override strong property with weak property

  •  
  •   JohnLance · Mar 24, 2015 · 4520 views
    This topic created in 4062 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   ·   2973 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 15:17 · PVG 23:17 · LAX 08:17 · JFK 11:17
    ♥ Do have faith in what you're doing.