yepher / CoreDataUtility

An OSX application that simplifies development and debugging of CoreData enabled applications.
519 stars 49 forks source link

NSOrderedSet relations support? #21

Closed fawkeswei closed 11 years ago

fawkeswei commented 11 years ago

Awesome tool, just one question. Is CoreDataPro able to view NSOrderedSet relations? I'm not sure if it is because my setup or it is not yet available.

yepher commented 11 years ago

It does not support NSOrderedSet. Do you have sample data to share. If so maybe we can get it working.

fawkeswei commented 11 years ago

How to provide sample data? a sample project?

yepher commented 11 years ago

Good question.

There are a couple of ways to do it:

  1. Add a .mom file and a sqlite file to the "TestFiles" directory and send me a pull request.
  2. Provide an iPhone or Mac project that is able to generate the data

or:

You can email me either of them to CoreDataUtility [AT] yepher [DOT] com

fawkeswei commented 11 years ago

Here a simple project to generate NSOrderSet data.

http://d.pr/f/PCfd

yepher commented 11 years ago

Thanks for the project. I tried to build it with XCode but it says files are missing from the proejct:

missingFiles

fawkeswei commented 11 years ago

My bad, fixed it here -> http://d.pr/f/OTZ9

yepher commented 11 years ago

Yes, that fixed it and I am able to see the problem you mentioned. I will look into adding support for NSOrderedSet.

I will update this issue when I have something to share.

fawkeswei commented 11 years ago

Great! Looking forward to it!

yepher commented 11 years ago

@fawkeswei

I added the support in this commit #1331bca1d4da85315ee93c240854c1a5c7238dff and pushed it to the develop branch.

Give it a try and let me know if it works for you. I will push it to "master" once you agree it is fixed.

fawkeswei commented 11 years ago

Do I have to build the app myself? Sorry because I don't have Mac SDK, could you upload an executable .app file?

yepher commented 11 years ago

I built it and put it here: Download

fawkeswei commented 11 years ago

Works perfectly!

yepher commented 11 years ago

Thanks for testing. I'll merge it to master.