Re: Document file read, but -readFromData:(etc) has error.

2009-08-13 Thread John Velman
On Thu, Aug 13, 2009 at 08:50:06PM -0500, Ken Thomases wrote: > On Aug 13, 2009, at 4:07 PM, John Velman wrote: > >> - (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName >> error:(NSError **)outError >> { >>NSLog(@"readFromData has been called, typeName is: %...@\n", typeName); >> >

Re: Document file read, but -readFromData:(etc) has error.

2009-08-13 Thread Ken Thomases
On Aug 13, 2009, at 4:07 PM, John Velman wrote: - (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError **)outError { NSLog(@"readFromData has been called, typeName is: %...@\n", typeName); if ( outError != NULL ) { NSLog(@"outError is not null");

Re: Document file read, but -readFromData:(etc) has error.

2009-08-13 Thread John Velman
On Thu, Aug 13, 2009 at 05:21:06PM -0400, I. Savant wrote: > > Have you provided the complete implementation for this method? If so, you > seriously need to re-read this: > > http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/Documents.html# Thanks. I did read it, but some tim

Re: Document file read, but -readFromData:(etc) has error.

2009-08-13 Thread I. Savant
- (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError **)outError { NSLog(@"readFromData has been called, typeName is: %...@\n", typeName); if ( outError != NULL ) { NSLog(@"outError is not null"); NSLog(@"Going to call NSError\n");