• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSCharacterSet Parsing MS Word 97 files? <Newbie>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: NSCharacterSet Parsing MS Word 97 files? <SOLVED>
      • From: Vince Ackerman <email@hidden>
References: 
 >NSCharacterSet Parsing MS Word 97 files? <Newbie> (From: Vince Ackerman <email@hidden>)
 >Re: NSCharacterSet Parsing MS Word 97 files? <Newbie> (From: j o a r <email@hidden>)
 >Re: NSCharacterSet Parsing MS Word 97 files? <Newbie> (From: Vince Ackerman <email@hidden>)

  • Prev by Date: Reading system preferences?
  • Next by Date: Re: NSCharacterSet Parsing MS Word 97 files? <Newbie>
  • Previous by thread: Re: NSCharacterSet Parsing MS Word 97 files? <Newbie>
  • Next by thread: Re: NSCharacterSet Parsing MS Word 97 files? <SOLVED>
  • Index(es):
    • Date
    • Thread