Exception thrown in NSOrderedSet generated accessors

后端 未结 25 2326
天涯浪人
天涯浪人 2020-11-22 09:07

On my Lion app, I have this data model:

\"enter

The relationship subitem

25条回答
  •  一生所求
    2020-11-22 09:21

    I found a fix for this bug that works for me. I just replace this:

    [item addSubitemsObject:subItem];
    

    with this:

    item.subitemsObject = subItem;
    

提交回复
热议问题