• 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: Resize Superviews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resize Superviews


  • Subject: Re: Resize Superviews
  • From: Charles Jenkins <email@hidden>
  • Date: Sun, 05 Oct 2014 07:57:35 -0400

Well naturally, two minutes after posting this question, I finally found
Apple’s TextSizingExample. I’m going to try implementing what I learned from that,
then I’ll ask my question again if that’s not enough to help me cross the finish line.


—

Charles Jenkins


On Sunday, October 5, 2014 at 7:41 AM, Charles Jenkins wrote:

> I put an important question in a post with too much other information, so
>I’m not surprised nobody answered it.
>
> I need a text editor control that will size itself vertically to contain
>text as the user types or pastes it in. That means:
>
> The text container must size itself vertically to fit the text
> The text view must size itself vertically to fit the text container
> The text view must somehow notify its superview that its size has changed.
>
> Does anyone know how to do this?
>
>
> What I’ve tried so far is setting the text container’s widthTracksView to
>YES and pinning the text view to the size of its scroll view, so the widths
>are handled, I think. But I don’t know where to begin to get the height to
>resize from the inside out.
>
> Thank you!
>
> —
>
> Charles Jenkins
>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Resize Superviews (From: Charles Jenkins <email@hidden>)

  • Prev by Date: Resize Superviews
  • Next by Date: Re: Stack?
  • Previous by thread: Resize Superviews
  • Next by thread: Document Based app with SQLite backing store
  • Index(es):
    • Date
    • Thread