Uncategorized

Core-Data Debugging

November 3, 2014 Uncategorized

Recently I have been working on an iOS project which was using Core-Data for all model objects. I found it frustrating that I couldn’t inspect the data going into the Core-Data, I’m surprised that Apple haven’t released some form of tool.

Anyway, after an internet search, I found a tool called “PonyDebugger” it a simple tool which allows you to inspect the Core-Data objects during using the app.

You can download it from here

Installation is simple and it is very easy to get started.

To run the service:

ponyd serve –listen-interface=127.0.0.1

Then install the library into your application using cocoapods

pod 'PonyDebugger', '~> 0.4.0'


Then put this in your appdelegate:

PDDebugger *debugger = [PDDebugger defaultInstance];
[debugger connectToURL:[NSURL URLWithString:@"ws://localhost:9000/device"]];
[debugger enableCoreDataDebugging];
[debugger addManagedObjectContext:self.managedObjectContext withName:@"My MOC"];

 

iOS 8 Metal Tutorial with Swift: Getting Started

September 27, 2014 Uncategorized

There is an excellent tutorial from Ray Wenderlich

http://www.raywenderlich.com/77488/ios-8-metal-tutorial-swift-getting-started

The only issue i have found was that the suggested project wont compile, probably due to library changes by apple. I have now edited and updated the project and you can download it here:

HelloMetal