FadingTextView for iOS

by 1 people (click stars to rate) Thanks!
Author

49045783bbc6753227f9733279b3eba5

A simple device for creating a fade effect at the bottom and top of a text view. Also included in the project is FadingContentScrollView which is a scroll view that you supply a content view to and the fade effect can be either top and bottom (vertical scrolling) or at left and right (horizontal scrolling). Run the project in the iPhone simulator and you get a full screen FadingTextView. Run the project in the iPad simulator and you get several examples of FadingContentViews. The effect is achieved by adding views on top of the content view which in turn have a gradient layer. There are probably better ways to achieve this - especially as the gradient views detract from the interaction area of the scrollview/textview. Any suggestions for improvement would be gratefully received.

Full

Find out more

Licensing

Public Domain License

Get Source

blog comments powered by Disqus