Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rnapier/webbook

Toy to explore embedding UIView in UIWebView
https://github.com/rnapier/webbook

Last synced: 2 days ago
JSON representation

Toy to explore embedding UIView in UIWebView

Awesome Lists containing this project

README

        

This is just a toy project to show how you can easily stick a fully-functional `UIView` into an arbitrary `UIWebView`, along
with book-style paging. The interesting pieces are:

* The `` block in Simple.html
* The "embed" `<div>` in Simple.html (line 125)
* `ViewController.swift` and particularly `rectForElement`.