Xcode4: Different code generated for custom core data managed objects

后端 未结 6 1925
无人共我
无人共我 2020-12-13 07:50

Now that Xcode4 is publicly available I\'m moving this question out of Apple\'s secret dev forum:

Can someone explain why the code generated in the following procedu

6条回答
  •  孤街浪徒
    2020-12-13 08:09

    Generating those accessors was really handy, not sure why they've changed that.

    I use this snippets as an alternative:

    - (void)add<#entity#>sObject:(<#entity#> *)value;
    - (void)remove<#entity#>sObject:(<#entity#> *)value;
    - (void)add<#entity#>s:(NSSet *)value;
    - (void)remove<#entity#>s:(NSSet *)value;
    

提交回复
热议问题