Ordered to-many relationship CoreDataGeneratedAccessors

2014-03-29 Thread Rick Mann
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?

Removing a file via NSFileWrapper

2014-03-29 Thread Colas B
Dear cocoa-dev, There is a problem when I try to remove a file from a folder via NSFileWrapper. I don't know if this is an important info, but the folder is inside a package (a folder with an extension). I have a folder (...)/attached_files on my disk. I create a NSFileWrapper with 

Re: Removing a file via NSFileWrapper

2014-03-29 Thread Mike Abdullah
On 29 Mar 2014, at 16:43, Colas B colasj...@yahoo.fr wrote: Dear cocoa-dev, There is a problem when I try to remove a file from a folder via NSFileWrapper. I don't know if this is an important info, but the folder is inside a package (a folder with an extension). I have a folder

Removing object as observer in -willTurnIntoFault

2014-03-29 Thread Jerry Krinock
A subclass of NSManagedObject needs to observe some stuff. So, in -awakeFromFetch and -awakeFromInsert, I invoke an -initializeObservers method which adds observers like this… [[NSNotificationCenter defaultCenter] addObserver:self

Re: Removing object as observer in -willTurnIntoFault

2014-03-29 Thread Dado Colussi
If you have undo/redo going on, then restart observing in awakeFromSnapshotEvents when NSSnapshotEventUndoDeletion flag is present. Check out the other flags, too. /Dado On 29 March 2014 13:13, Jerry Krinock je...@ieee.org wrote: A subclass of NSManagedObject needs to observe some stuff.

Re: Cocoa-dev Digest, Vol 11, Issue 170

2014-03-29 Thread Rick Mann
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

Re: SQLite Question

2014-03-29 Thread Uli Kusterer
On 29 Mar 2014, at 00:55, Kyle Sluder k...@ksluder.com wrote: The same goes for all the various projects that are part of an operating system: The versions included with a particular operating system can be tuned for that operating system and the hardware it runs on. That doesn’t mean they

Re: SQLite Question

2014-03-29 Thread Ben
On 29 Mar 2014, at 20:12, Uli Kusterer witness.of.teacht...@gmx.net wrote: On 29 Mar 2014, at 00:55, Kyle Sluder k...@ksluder.com wrote: The same goes for all the various projects that are part of an operating system: The versions included with a particular operating system can be tuned for