TOWebViewController
A view controller class for iOS that allows users to view web pages directly within an app.
TOWebViewController was one of my very first open source libraries. In the early days of iOS, there was no official web browser UI for apps. If you wanted to show a web page in your app with back, forward and refresh buttons, you had to build it all yourself.
After building a bespoke browser for iPokédex, I figured it’d be worth making a high quality, reusable one I could use in future apps.
I went pretty overboard with it. It had a proper skeuomorphic design for iOS 6 and a flat design for iOS 7, custom UI for a range of sharing options for the current page, and even a custom crossfade animation when rotating the device.
In 2015, Apple released an official, much more secure way for apps to show web content, and with that, TOWebViewController’s job was done. I’m still thinking about what else I could do with it, and what new value it could add.
