After a few months of evening work and a lot of experimentation, I’ve released an iOS app.
Codable provides three primary features:
- resizable viewport with scaling, allowing you to view any URL as if you were on a smaller or larger iOS screen size
- Rendered DOM node navigation and HTML/CSS manipulation
By my knowledge, there are two other functional apps on the iOS app store that do these same functions. It’s a pretty niche use-case to want to do front-end web debugging and editing from mobile I know, but it’s something I’ve wanted to do many times.
Codable leverages one API endpoint quite heavily and uniquely: WKWebView.evaluateJavaScipt()
I’m planning on open-sourcing an example app on GitHub that illustrates a pattern used to accomplish the above and then I’ll elaborate more on it. There were challenges I had to work through that weren’t already covered by someone else’s blog post.