Re: TextView : Shifting all text down to make room for a subview

2015-04-01 Thread Seth Willits
> On Apr 1, 2015, at 3:00 PM, Jonathan Hull wrote: > > Have you tried just setting the textContentInset to make room for your > subview? The inset by definition affects both the top *and* bottom. I only want the top. -- Seth Willits ___ Cocoa-dev

Re: TextView : Shifting all text down to make room for a subview

2015-04-01 Thread Jonathan Hull
Have you tried just setting the textContentInset to make room for your subview? I used that approach a couple of days ago to add room for a subview at the bottom of a UITextView and it worked like a charm. Worth a shot here too. Thanks, Jon > On Apr 1, 2015, at 2:19 PM, Seth Willits wrote: >

TextView : Shifting all text down to make room for a subview

2015-04-01 Thread Seth Willits
I have a text view where I added a subview at the top, and I want all of the text to be below this subview. You can think of it like having a horizontal ruler above the text view, but instead I want this view (it's not a ruler) _in_ the text view so that it scrolls with the text. Here are two d