yepher / CoreDataUtility

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

support command line arguments #28

Closed yoiang closed 10 years ago

yoiang commented 10 years ago

Very simple command line loading, great for actively debugging an app. We've got a scheme of our app that launches CoreDataPro automatically attached.

Also great work on the utility, it is invaluable! :)

yepher commented 10 years ago

Thanks for the pull request. I gave it a quick review and it looks good. I will try it out soon and merge it in.

yepher commented 10 years ago

Yoiang,

Sorry for the delay and thanks again for the pull request. It is a great feature and I really appreciate it.

I've updated the binary here: https://github.com/yepher/CoreDataUtility/wiki which includes command line support.

I also updated the readme.md here https://github.com/yepher/CoreDataUtility

Can you please test and verify the project is working the way you expect it too. I did testing to make sure other functionality is in tact.

Another quick question. Do you use this tool for Mac or for iOS apps?

The reason I ask is I am looking to make it easier to get CoreData files from a physical iOS device and am wonder if you've come up with a good solution. The best I've come up with is "https://github.com/xslim/mobileDeviceManager". It allows me to copy file to/from the device via command line.

yoiang commented 10 years ago

No worries, it works perfectly! Thanks for including the usage info in the readme :)

I primarily use it for iOS work but unfortunately only in simulator and not on an actual device. MobileDeviceManager's route looking promising and in the past I've used PonyDebugger, their approach is to serve the data through HTTP, perhaps you could do similar. It'd require integration of your library on iOS but personally I wouldn't mind at all if it meant automatic connection with the CoreDataUtility app.

yepher commented 9 years ago

Yolang,

FYI,

You may like the script just added to ./tools/bin/createCoreDataProject.sh it will open the model and persistence file in the most recently used simulator.

yoiang commented 9 years ago

Ooooo that's awesome! I recently threw together a simple Xcode plugin for a tool of mine, when I have a sec we can try one that wraps the scripts functionality.