Re: NSXMLParser and NSDocument

2009-04-30 Thread Jeffrey Oleander
On Tue, 2009/04/28, Graham Cox graham@bigpond.com wrote: On 2009/04/29, at 08:34, Jeffrey Oleander wrote: I've been having 2 intermittent compilation errors on 10.3.9 in - (BOOL)loadDataRepresentation:(NSData*)data ofType:(NSString*)fileType {     BOOL success;     NSString *

Re: NSXMLParser and NSDocument

2009-04-30 Thread Marcel Weiher
On Apr 30, 2009, at 12:36 , Jeffrey Oleander wrote: %S specifies a null-terminated array of 16-bit unicode characters. What you're passing is an NSString object. So the specifier should be the object specifier, %...@. Yes, that is what I had tried first. Still, the warning comes and goes.

NSXMLParser and NSDocument

2009-04-28 Thread Jeffrey Oleander
I've been having 2 intermittent compilation errors on 10.3.9 in - (BOOL)loadDataRepresentation:(NSData*)data ofType:(NSString*)fileType { BOOL success; NSString * lowercaseFileType = [fileType lowercaseString]; NSLog(@fileType=%S, lowercaseFileType); if

Re: NSXMLParser and NSDocument

2009-04-28 Thread Graham Cox
On 29/04/2009, at 8:34 AM, Jeffrey Oleander wrote: I've been having 2 intermittent compilation errors on 10.3.9 in - (BOOL)loadDataRepresentation:(NSData*)data ofType: (NSString*)fileType { BOOL success; NSString * lowercaseFileType = [fileType lowercaseString];

Re: NSXMLParser and NSDocument

2009-04-28 Thread Graham Cox
On 29/04/2009, at 11:51 AM, Graham Cox wrote: You can't have static objects in Objective-C Correction - I meant to say *stack* objects... --G. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or