Lexical or Preprocessor Issue 'Cocoa/Cocoa.h file not found

2011-11-25 Thread Ayers, Joseph
When compiling a Cocoa Document based app with LLVM is get the following errors: Roboplasm-Prefix.pch Lexical or Preprocessor Issue 'Cocoa/Cocoa.h file not found <--The text of this for some reason is red Lexical or Preprocessor issue '/Users/lobster/Library/Developer/Xcode/DerivedData/Robop

Interpreting GDB Stack Frames

2012-01-01 Thread Ayers, Joseph
I have a program crashing loading a NIB that isn't explicitly specified. The call frame is below From the call frame it looks like it's called in line 8. How do I reveal the name of the nib file? Thanks, Joseph Ayers 2012-01-01 09:16:30.648 Roboplasm[36368:707] *** Terminating app due to uncau

Re: Interpreting GDB Stack Frames

2012-01-01 Thread Ayers, Joseph
On Jan 1, 2012, at 11:22 AM, Fritz Anderson wrote: [Stripped xcode-users from the recipients. Do not cross-post.] On 1 Jan 2012, at 9:26 AM, Ayers, Joseph wrote: 5 AppKit 0x7fff86718a0f -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:op

Trouble retrieving selection from NSArrayController

2011-02-22 Thread Ayers, Joseph
I have an app that has a NSTableView populated with and array of Tapes from CoreData. Tapes is declared as: @interface Tapes : NSManagedObject { NSString * TapeName; NSDate * TapeDate; NSString * Notes; NSSet* VideoClip; } The TableView is bound to an NSArrayController (tap

Re: Trouble retrieving selection from NSArrayController

2011-02-22 Thread Ayers, Joseph
oid)removeTapes:(NSSet *)value; - (void)addVideoClipObject:(VideoClip *)value; - (void)removeVideoClipObject:(VideoClip *)value; - (void)addVideoClip:(NSSet *)value; - (void)removeVideoClip:(NSSet *)value; @end On Feb 22, 2011, at 5:34 PM, Quincey Morris wrote: > On Feb 22, 2011, at 13:30, A

EXC_BAD_ACCESS in NSApplicationMain

2011-07-24 Thread Ayers, Joseph
In XCode 4.1. and Lion,, compiling for OS X 10.6, My application is crashing in main.m. Specifically it exhibits EXC_BAD_ACCESS errors in main.m, NSApplicationMain and obj_msgSend on disassembly. I've got symbolic breakpoints at: “objc_exception_throw” and “[NSException raise]“. Any idea how t

Re: EXC_BAD_ACCESS in NSApplicationMain

2011-07-25 Thread Ayers, Joseph
undle(NSNibLoading) loadNibNamed:owner:] () #11 0x94cd58f3 in NSApplicationMain () #12 0x00010d64 in main at /Users/lobster/Desktop/Roboplasm/main.m:14 Off to ponder that. ja On Jul 24, 2011, at 8:04 PM, Quincey Morris wrote: On Jul 24, 2011, at 15:50, Ayers, Joseph wrote: In XCode 4.1. and

Saving Managed Object Context

2010-08-23 Thread Ayers, Joseph
Attempting to save a NSManagedObjectContext with: NSError *error = nil; if (![[self managedObjectContext] save: &error]) { NSLog(@"Error while saving\n%@", ([error localizedDescription] != nil) ? [error localizedDescription]: @"Unknown Error"); Results in: 2010-08-22 20:31:32.385 Roboplas

Re: Saving Managed Object Context

2010-08-24 Thread Ayers, Joseph
That solved it. We made the reciprocal to-one relationship optional and it saved. Thanks, Joseph On Aug 23, 2010, at 5:48 PM, Quincey Morris wrote: > On Aug 23, 2010, at 09:33, Ayers, Joseph wrote: > >> NSError *error = nil; >> if (![[self managedObjectContext] save: &

CoreDataGeneratedAccessors

2010-10-27 Thread Ayers, Joseph
When I try to use the method addTapesObject defined as @interface TapeList (CoreDataGeneratedAccessors) - (void)addTapesObject:(tapes *)value; - (void)removeTapesObject:(tapes *)value; - (void)addTapes:(NSSet *)value; - (void)removeTapes:(NSSet *)value; @end I get the error: 2010-10-27 12:09:04

CoreData models as structures

2010-11-05 Thread Ayers, Joseph
I have a core data model that has a series of to-many relationships of the type: @interface TapeList : NSManagedObject { NSString * ListURL; NSSet* tapes; } @interface tapes : NSManagedObject { NSString * Notes; NSString * TapeName; NSSet* VideoClip; } @interface VideoC

Re: CoreData models as structures

2010-11-06 Thread Ayers, Joseph
On Nov 5, 2010, at 7:52 PM, Quincey Morris wrote: > On Nov 5, 2010, at 15:13, Ayers, Joseph wrote: > >> I have a core data model that has a series of to-many relationships of the >> type: >> >> @interface TapeList : NSManagedObject >> { >&g

Re: CoreData models as structures

2010-11-06 Thread Ayers, Joseph
ote: > On Nov 6, 2010, at 06:54, Ayers, Joseph wrote: > >> On Nov 5, 2010, at 7:52 PM, Quincey Morris wrote: >> >>> A. With your declarations, 'tapeList.tapes' is a NSSet. The set doesn't >>> have a "VideoClio" property (though its mem

Traversing multiple to-many relationships.

2010-11-06 Thread Ayers, Joseph
Does anyone know of any sample code that traverses multiple two-many relationships in the context of core data? Thanks, Joseph Ayers___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the l

Core Data: Error while saving. Multiple validation errors occurred.

2010-12-14 Thread Ayers, Joseph
> I changed a couple attributes of three properties in my data model. Even if I > trash the previous store, I get the error: > Error while saving > Multiple validation errors occurred. > > Any idea what is causing this or where to look for a fix? > > Thanks, > Joseph ___

Re: Core Data: Error while saving. Multiple validation errors occurred.

2010-12-14 Thread Ayers, Joseph
es that are specified with type "date". I'm at a loss for how to rectify this. Joseph On Dec 14, 2010, at 2:49 PM, Nick Zitzmann wrote: > > On Dec 14, 2010, at 12:21 PM, Ayers, Joseph wrote: > >>> I changed a couple attributes of three properties in my data m

Re: Core Data: Error while saving. Multiple validation errors occurred. SOLVED

2010-12-14 Thread Ayers, Joseph
Indeed, changing them to optional solved the problem Many thanks, Joseph Ayers On Dec 14, 2010, at 6:22 PM, Nick Zitzmann wrote: > > On Dec 14, 2010, at 4:18 PM, Ayers, Joseph wrote: > >> When I log Userinfo from the save operation, >>

Runtime Error: Incompatable applications

2010-12-28 Thread Ayers, Joseph
I get a run time error on my application Roboplasm. To wit: 2010-12-28 09:02:30.573 Roboplasm[29731:903] Incompatible applications: app=com.northeastern.Roboplasm, targetApp=com.apple.Safari Any idea what's happening here? Thanks, Joseph ___ Cocoa-de

mogenerator and key path error

2012-03-27 Thread Ayers, Joseph
I have a CoreData entity named Tapes. I used mogenerator to create: _Tapes.h where: @interface Tapes : _Tapes {} and Tapes.h where @interface _Tapes : NSManagedObject {} I declare an instance tapes in AppDelegate.h as: @property (nonatomic, retain) Tapes* tapes; and in AppDelegate.m

Re: In a modal pickle

2012-05-19 Thread Ayers, Joseph
Just tried that. Unfortunately, no joy... Joseph On May 19, 2012, at 3:23 PM, Stephen J. Butler wrote: > On Sat, May 19, 2012 at 12:04 PM, NUExchange wrote: >> I have a core data app that opens two windows when it starts up. One of the >> two has a NSSearchField. The cursor is in search field