• 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
Text View's string value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Text View's string value


  • Subject: Text View's string value
  • From: waynemelrose <email@hidden>
  • Date: Sat, 08 Jun 2013 10:03:47 +1000

Hey all,

I'm attempting to use a text view for the first time, I'm having a little trouble getting my head around how to access the string value. I'm not doing any formatting or anything tricky with it, there's no formatting. The idea is just to give the user a multiple line text field that can have hard returns (something that can't be done with a wrapping text field from what I can see)

I've looked at Shane's chapter on text view's, and I've figured out that it must have a referencing outlet, and I've got as far as ..

	set textStorage to textView's textStorage()

I had thought that from here it would just be a matter of something like

	set strText to textStorage's stringValue()

But I'm clearly missing something as this of course doesn't work.

Please help! Thanks

Wayne
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Text View's string value
      • From: Shane Stanley <email@hidden>
  • Next by Date: Re: Text View's string value
  • Next by thread: Re: Text View's string value
  • Index(es):
    • Date
    • Thread