Re: NSCharacterSet Parsing MS Word 97 files? <Newbie>
Re: NSCharacterSet Parsing MS Word 97 files? <Newbie>
- Subject: Re: NSCharacterSet Parsing MS Word 97 files? <Newbie>
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 6 Jul 2005 10:37:20 -0600
On Jul 6, 2005, at 10:29 AM, Vince Ackerman wrote:
NSAttributedString * copyString = [NSAttributedString
initWithDocFormat: dataFile documentAttributes: attributes];
This is incorrect; -initWithDocFormat:documentAttributes is an
instance method, not a class method. So that should be:
NSAttributedString *copyString = [[NSAttributedString alloc]
initWithDocFormat:dataFile documentAttributes:&attributes];
Also, you don't need to create an object at attributes. The method
provides the dictionary.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden