• 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: setting a text storage object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting a text storage object


  • Subject: Re: setting a text storage object
  • From: "John C. Warner" <email@hidden>
  • Date: Tue, 01 Mar 2005 22:23:19 -0500


On 1 Mar, 2005, at 7:35 PM, Jeff Childers wrote:

[[collaborators textStorage] setAttributedString: [currentCRC crcCollab]];

MyDocument.m:91: warning: passing arg 1 of `setAttributedString:' from incompatible pointer type

[currentCRC crcCollab] isn't returning an NSAttributedString.


[[collaborators textStorage] setStringValue: [currentCRC crcCollab]];

MyDocument.m:91: warning: `NSTextStorage' does not respond to `setStringValue:'

It doesn't.

-John
 _______________________________________________
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

References: 
 >setting a text storage object (From: Jeff Childers <email@hidden>)

  • Prev by Date: Re: Help: How to show an application again after 5 days?
  • Next by Date: Can I modify an NSEvent?
  • Previous by thread: setting a text storage object
  • Next by thread: Re: Help with Help
  • Index(es):
    • Date
    • Thread