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 search

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 invol

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 forma

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 Su

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 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 it, i.e. (N

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 d

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" 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 http://developer.apple.co

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 physic

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 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 another inverse

How to determine the Http Method type being implemented for web service API

2013-06-23 Thread Omkar Ramtekkar
Hello, I'm working on a project, where in I need to get the data from server through RESTful web services. Server side people have implemented a few web services. I need to use those methods, but I'm not sure which http method to use "Get" or "POST". If I use "GET" as http method and if the serv