https://github.com/rnapier/webbook
Toy to explore embedding UIView in UIWebView
https://github.com/rnapier/webbook
Last synced: 2 months 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 (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-20T16:14:43.000Z (over 8 years ago)
- Last Synced: 2025-02-24T02:59:47.886Z (3 months ago)
- Language: HTML
- Homepage:
- Size: 329 KB
- Stars: 8
- Watchers: 3
- 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`.