search

Home  >  Q&A  >  body text

objective-c - ios model 有一个属性也是model类型,初始化时,进入死循环,怎么破?

注释那个行使程序进入了死循环,这个要怎么改?

仅有的幸福仅有的幸福2763 days ago618

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-04-26 09:03:54

    It is also very convenient to initialize and load attributes using the getter method. To call yourself in a method, there needs to be an end condition.

    reply
    0
  • Cancelreply