Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rnapier/webbook
- Owner: rnapier
- Created: 2015-02-25T22:09:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-20T16:14:43.000Z (about 8 years ago)
- Last Synced: 2023-03-22T19:07:26.384Z (over 1 year ago)
- Language: HTML
- Homepage:
- Size: 329 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.