• 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: [newbie] Saving text from NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [newbie] Saving text from NSTextView


  • Subject: Re: [newbie] Saving text from NSTextView
  • From: Jens Baumeister <email@hidden>
  • Date: Thu, 12 Sep 2002 14:50:09 +0200

Am Donnerstag, 12.09.02 um 14:32 Uhr schrieb Mark Woollard:

However at runtime I get the following output:

002-09-12 13:29:35.510 SpamWeasel Pro[6788] *** -[NSBigMutableString writeToFile:automatically:]: selector not recognized


No surpise - it's "atomically", not "automatically".

Which suggests to me that [[fileContents textStorage] string] isn't returning an NSString. I can't find NSBigMutableString in the docs either.

Any pointers on what's going on?


NSString ist a so-called class cluster, i.e. it's not a single class but rater a wrapper around several "invisible" classes. Cocoa automagically decides which class is best suited to store the data you want to put into that NSString. NSBigMutableString is one of these classes.

Normally you shouldn't much worry about that. For more info:

http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/ ProgrammingTopics/Foundation/Concepts/ClassClusters.html

----------------------------------
Jens Baumeister

Contrary to popular opinion, the plural of 'anecdote' is not 'fact'.
_______________________________________________
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.

References: 
 >[newbie] Saving text from NSTextView (From: Mark Woollard <email@hidden>)

  • Prev by Date: Re: [newbie] Saving text from NSTextView
  • Next by Date: Re: [newbie] NSString code so it won't leak
  • Previous by thread: Re: [newbie] Saving text from NSTextView
  • Next by thread: Re: [newbie] Saving text from NSTextView
  • Index(es):
    • Date
    • Thread