Oh, thank you! My googling turned up all sorts of stuff for the "old" 
accessors, but I couldn't find anything about this. I wish they'd generate the 
stubs like they used to.

On Mar 29, 2014, at 09:11 , Rick Aurbach <rla...@me.com> wrote:

> Rick,
> 
> I believe you’ve run into the well-known problem of Core Data’s missing 
> Ordered Set accessors. The documentation says that Core Data provides 
> accessors for ordered sets, but (at least in iOS 5, which is the last time I 
> looked), it doesn’t. This has been radar-ed; the workaround is to provide 
> your own accessors.
> 
> Many folks have done so. I direct your attention to:
> http://stackoverflow.com/questions/12379872/core-data-crash-unrecognized-selector
> http://stackoverflow.com/questions/7385439/exception-thrown-in-nsorderedset-generated-accessors
> …etc.
> 
> In my own work, I use the following (unfortunately, I seem to have failed to 
> properly attribute this to its actual author, for which I apologize. I did 
> not write this file):
> <ordered-set-macros.m.zip>
> 
> Please note that since the accessors are MISSING, there is a lack of 
> consensus about what the exact name of each method should be…
> 
> Rick Aurbach
> Aurbach & Associates, Inc.
> 
> On Mar 29, 2014, at 3:11 AM, cocoa-dev-requ...@lists.apple.com wrote:
> 
>> Message: 11
>> Date: Sat, 29 Mar 2014 01:11:44 -0700
>> From: Rick Mann <rm...@latencyzero.com>
>> To: Cocoa dev <cocoa-dev@lists.apple.com>
>> Subject: Ordered to-many relationship CoreDataGeneratedAccessors
>> Message-ID: <77a3e584-fff1-4ae8-80ba-35aa4dfb4...@latencyzero.com>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> I'm getting
>> 
>>   -[WireSegment replaceObjectInNodesAtIndex:withObject:]: unrecognized 
>> selector sent to instance
>> 
>> When I try to send that message. This is one of the 
>> "CoreDataGeneratedAccessors", for an ordered to-many relationship. I don't 
>> see anything in the docs about those. What am I missing?
>> 
>> --
>> Rick
> 
> 


-- 
Rick



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to