Re: Core Data Reverse Engineering KickStarter Project

2013-06-23 Thread Scott Ribe
On Jun 22, 2013, at 7:38 PM, Michael Crawford wrote: If you claim you know how to estimate software development time and cost, I don't believe you. I do, and I do *very* well at it. But I certainly cannot estimate reverse-engineering an undocumented format; it would be madness for anyone to

Re: fast search of NSPointerArray

2013-06-23 Thread Keary Suska
On Jun 22, 2013, at 9:25 PM, James Maxwell wrote: t's a mixed graph structure. Basically, I'm storing all unique nodes in an NSMutableArray, then using NSPointerArrays to build the adjacency lists. It works really nicely for learning/building the graph, but it does seem as though searches

Re: Why is it wrong to have relationships without an inverse

2013-06-23 Thread Gordon Apple
I try to minimize my dependency on CoreData by using generic and app-specific categories on the MOC. I also mostly use root entities, rather than doing independent fetches. I had looked at other options, but pragmatism won out, and I went with CoreData. You mentioned MacApp. I was heavily

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-23 Thread Sean McBride
On Sat, 22 Jun 2013 08:43:09 -0700, Michael Crawford said: I don't use Core Data because it's not cross-platform. In my honest opinion no one in their right mind would bet their livelihood on platform-specific document formats, no matter what the platform. The Core Data persistent store formats

Getting the location of the Library

2013-06-23 Thread Pax
Just a quickie, I hope! I'm writing a sandboxed application that uses plugins. The plugin directories that I want to load from are '/Library/Application Support/MyApp' and '~/Library/Application Support/MyApp'. I don't really care if '~/Library/Containers/com.myapp/Data/Library/Application

Re: Getting the location of the Library

2013-06-23 Thread Ben Kennedy
On 23 Jun 2013, at 1:49 PM, Pax 45rpmli...@googlemail.com wrote: The code I am using to get the location of the Library is: NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSAllDomainsMask - NSSystemDomainMask, YES); I haven't tested anything, but just looking at this line, I am

Re: Getting the location of the Library

2013-06-23 Thread Ben Kennedy
On 23 Jun 2013, at 2:32 PM, Ben Kennedy b...@zygoat.ca wrote: I haven't tested anything, but just looking at this line, I am inclined to guess the subtraction is your problem. If your intent is to choose all domains except for the system domain, you'll need to XOR the value, not subtract

Re: Getting the location of the Library

2013-06-23 Thread Kyle Sluder
On Jun 23, 2013, at 1:49 PM, Pax 45rpmli...@googlemail.com wrote: Just a quickie, I hope! I'm writing a sandboxed application that uses plugins. The plugin directories that I want to load from are '/Library/Application Support/MyApp' and '~/Library/Application Support/MyApp'. You do not

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-23 Thread Ian Joyner
On 23 Jun 2013, at 13:32, Reaves, Timothy trea...@silverfieldstech.com wrote: What the docs state that is meaningless (although inaccurate); the Objectice-C manual could very easily state that Objective-C is not a programing language; it is. CoreData is a database. OK, what the Apple doc

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-23 Thread Ian Joyner
Thanks for the reference to Codd's early paper. I'm researching the relational model now since I'm giving a course in distributed systems soon. In fact, I'm reading Codd's 1990 book The Relational Model for Database Management Version 2. It is available as a pdf (although I have had the

Re: Why is it wrong to have relationships without an inverse

2013-06-23 Thread Rick Mann
On Jun 23, 2013, at 09:11 , Gordon Apple g...@ed4u.com wrote: On the original question asked in this thread, I have several similar places where I use a root object to also persist an object selection in the referenced collection. I could not see burdening the collection objects with