Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aidan-yip/perilous-framework
An open source Swift framework using WKWebView to convert websites to native WebView/Wrapper apps for macOS.
https://github.com/aidan-yip/perilous-framework
app apple application framework macos macos-app open-source swift swiftapp swiftui webview webview-app wkwebview xcode xcode-framework
Last synced: 9 days ago
JSON representation
An open source Swift framework using WKWebView to convert websites to native WebView/Wrapper apps for macOS.
- Host: GitHub
- URL: https://github.com/aidan-yip/perilous-framework
- Owner: aidan-yip
- License: gpl-3.0
- Created: 2024-06-07T05:57:59.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-18T17:25:28.000Z (4 months ago)
- Last Synced: 2024-12-12T11:46:29.733Z (2 months ago)
- Topics: app, apple, application, framework, macos, macos-app, open-source, swift, swiftapp, swiftui, webview, webview-app, wkwebview, xcode, xcode-framework
- Language: Swift
- Homepage:
- Size: 2.02 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Perilous Framework
An open source Swift framework using WKWebView to convert websites to native WebView apps. I created this framework to help those new to swift create WebView apps easier as I couldn't find a well documented tutorial online. This software is open source and free for use. Please credit me in your work if you decide to clone/fork this project. Thank you and enjoy!# How to use:
## 1. Enter your website url into "ViewController.swift"![]()
## 2. Rename the app name in the "Project navigator" to your desired app name
![]()
## 3. Click rename
![]()
## 4. Rename the window title in "ViewController.swift" to your desired app name
![]()
## 5. Build the app in Xcode by clicking build
![]()
## 6. Your app should be located under this directory in Finder:
~/Library/Developer/Xcode/DerivedData/{your app}/Build/Products/Debug/{Project Name}.app
(If your having issues try quiting the app. Xcode autoruns it on build. Then you can copy/paste it to a better location in Finder.)
![]()
# Credits
Apple Developer WKWebView: https://developer.apple.com/documentation/webkit/wkwebviewStackoverflow: https://stackoverflow.com/questions/60082417/how-do-i-create-a-wkwebview-app-for-macos
Google for Developers: https://developers.google.com/admob/ios/browser/webview