Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source iOS Component Providing A Scrollbar With Color Customization

  •  
  •  
  •  
  •  
  •  

One of the issues with the iOS scroll bar control is a lack of customization options, and previously I mentioned a custom scroll bar implementation that allows for color customization and positioning anywhere within a view called CustomScrollIndicator – the drawback being the scrollbars look a little different, and some code changes are required.

Here’s an open source component called JTSScrollIndicator from Jared Sinclair that lets you easily implement colored vertical scroll bars.

The JTSScrollIndicator scroll bars look and behave just like regular scroll bars, but with color added. Minimal changes are needed within your code since JTSScrollIndicator does not itself as the scroll view delegate (you just need to forward the messages from your delegate to JTSScrollIndicator).

This is an image from the readme showing JTSScrollIndicator in action:

JTSScrollIndicator

You can find JTSScrollIndicator on Github here.

A nice easy way to create colored scroll bars.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments