V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
JohnLance
V2EX  ›  iOS

Cannot override strong property with weak property

  •  
  •   JohnLance · 2015-03-24 22:49:44 +08:00 · 3622 次点击
    这是一个创建于 3321 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    2 条回复    2015-03-24 23:23:13 +08:00
    xuming
        1
    xuming  
       2015-03-24 22:58:55 +08:00 via iPhone   ❤️ 1
    imageView换个名字就行了。和父类的属性重名了
    JohnLance
        2
    JohnLance  
    OP
       2015-03-24 23:23:13 +08:00
    @xuming 谢谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2834 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 10:00 · PVG 18:00 · LAX 03:00 · JFK 06:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.