240 发简信
IP属地:新北
  • 为什么delegate属性都是assign而不是retain

    防止循环引用,以至于对象无法得到正确的释放

    文章内容有点儿老了 delegate 用 weak 修饰比较好.看苹果的API