• 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
Getting an NSString out of an NSTextView;
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting an NSString out of an NSTextView;


  • Subject: Getting an NSString out of an NSTextView;
  • From: Robert Tillyard <email@hidden>
  • Date: Tue, 10 Feb 2004 23:59:16 +0000

I have an NSTextView which the user enters text, I need to pass the contents as a "const char *" to a 'C' library to save to an ISAM database.

How do I get the the [NSString cString]? I seem to need to navigate NSTextStorage but I'm getting lost in the documentation.

Thanks, Regards, Rob.
_______________________________________________
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: Getting an NSString out of an NSTextView;
      • From: David McGavern <email@hidden>
    • Re: Getting an NSString out of an NSTextView;
      • From: Ryan Bates <email@hidden>
    • Re: Getting an NSString out of an NSTextView;
      • From: Nick Zitzmann <email@hidden>
    • Re: Getting an NSString out of an NSTextView;
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Binding an Array Controller to an NSPopUpButtonCell
  • Next by Date: Scrolling two NSTableView with one scrollbar
  • Previous by thread: Re: Adding to the About window.
  • Next by thread: Re: Getting an NSString out of an NSTextView;
  • Index(es):
    • Date
    • Thread