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: about 1 month 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-20T16:14:43.000Z (over 8 years ago)
- Last Synced: 2025-01-11T07:47:50.181Z (about 1 month 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`.