Ok, it's been a while since I've bugged you guys, so I thought I'd get
back into the fold. Note that I'm very new to graphics programming in
general, and even more so for Cocoa. So be prepared for an easy fix!
Anyway, the problem I have is this.
+--+
|++|
.
-- Samuel Butler
On Mar 12, 2008, at 7:13 PM, [EMAIL PROTECTED] wrote:
Core Data - Cascading Not Working? (William Hunt)
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
Hey all,
I'm having a bit of trouble getting my Core Data NSManagedObjectModel
to load from within my unit tests. The code I'm using to load the
model (and context) is in my application code, not in my unit test;
but I do call it from my test class's setUp() method.
The strange
On Mar 10, 2008, at 11:19 AM, Chris Hanson wrote:
- (NSManagedObjectModel *)managedObjectModel {
if (_managedObjectModel == nil) {
NSString *modelPath = [[NSBundle mainBundle]
pathForResource:@MyModel ofType:@mom];
NSURL *modelURL = [NSURL fileURLWithPath:modelPath
Well, I think I've traced the weirdness I was previously having with
the model down to the following...
When I call:
NSLog( @bundlePath: %@, [[NSBundle mainBundle] bundlePath] );
I get:
2008-03-10 16:41:18.565 otest[3819:80f] bundlePath: /Developer/Tools
This is clearly not correct. (I
On Mar 10, 2008, at 6:29 PM, Chris Hanson wrote:
On Mar 10, 2008, at 4:44 PM, William Hunt wrote:
Well, I think I've traced the weirdness I was previously having
with the model down to the following...
Please don't start a new thread when the existing one will do just
fine. Creating