• 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: COCOA: Simplest Way of Formatted Text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: COCOA: Simplest Way of Formatted Text


  • Subject: Re: COCOA: Simplest Way of Formatted Text
  • From: Nebagakid <email@hidden>
  • Date: Tue, 21 Jan 2003 22:17:08 -0500

Ach! When I try to use this (Where my NSTextView is named 'textView'):

NSAttributedString *theTexttoSend = [[NSAttributedString alloc]
initWithAttributedString: [textView textStorage]];
[theTexttoSend release];

it gives me the error: parse error before '@' token, but there is NO
'@' token

ExplaiN!
(I know have to be doing something fundamentally wrong, right? I know
that has to be it!)
-Danny Cohen
On Tuesday, January 21, 2003, at 05:17 PM, j o a r wrote:

> NSAttributedString *aStr = [[NSAttributedString alloc]
> initWithAttributedString: [myTextView textStorage]];
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: COCOA: Simplest Way of Formatted Text
      • From: j o a r <email@hidden>
References: 
 >Re: COCOA: Simplest Way of Formatted Text (From: j o a r <email@hidden>)

  • Prev by Date: Toolbar woes...
  • Next by Date: Re: @protocol vs NSClassFromString
  • Previous by thread: Re: COCOA: Simplest Way of Formatted Text
  • Next by thread: Re: COCOA: Simplest Way of Formatted Text
  • Index(es):
    • Date
    • Thread