Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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/wkwebview

Stackoverflow: 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