My Photo

Google Ads

  • Google Ads

« RubyCocoa: 5 Things To Get Started | Main | NSGradient Class... Who Knew? »

February 07, 2008

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e54ede0214883300e5503372968834

Listed below are links to weblogs that reference Retriving CoreData Objects Using RubyCocoa:

Comments

elliottcable

I'm trying this in my (pretty much brand new, very little code other than that described here) non-document-based RubyCocoa Core Data app, and I am getting EXC_BAD_ACCESS errors when I try to run `request.setEntity(entity)`... and EXC_BAD_INSTRUCTION when I try to run `OSX::NSFetchRequest.alloc.init.autorelease`.

I'm new to the world of Cocoa, these trace-less errors that don't look at all Ruby-ish are scaring me.

elliottcable

My bad, I was partially following your tutorial and partially following an ObjC one. Apparently `autorelease` isn't necessary here. My bad! (-:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment