https://github.com/alicerunsonfedora/safariview
Present a Safari view controller in your iOS apps using SwiftUI on iOS 13+.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (4.8%) to scientific vocabulary
Keywords
Repository
Present a Safari view controller in your iOS apps using SwiftUI on iOS 13+.
Basic Info
- Host: GitHub
- Owner: alicerunsonfedora
- Language: Swift
- Default Branch: root
- Homepage: https://marquiskurt.net/SafariView/documentation/safariview/
- Size: 777 KB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 1
Topics
Metadata Files
README.md
SafariView
SafariView is a small Swift package for iOS that adds a SwiftUI bridge to SafariViewController.
Getting Started
SafariView can be easily installed through the Swift Package Manager in any Xcode project. To add SafariView to your
package in Xcode 13, go to File › Swift Packages › Add Package Dependency... and paste in the URL:
https://github.com/alicerunsonfedora/SafariView.
Example Usage
This example demonstrates how to open a SafariView when the user taps a button on iOS:
```swift import SafariView import SwiftUI
struct ExampleView: View {
@State private var destination: URL = .init(string: "https://www.apple.com")
@State private var showSafari: Bool = false
var body: some View {
VStack {
Button {
showSafari.toggle()
} label: {
Text("Go to Apple.com!")
}
}
.sheet(isPresented: $showSafari) {
SafariView(url: $destination)
.collapsible(.constant(true))
}
}
} ```
Owner
- Name: Marquis Kurt
- Login: alicerunsonfedora
- Kind: user
- Location: Bear, DE
- Website: http://www.marquiskurt.net
- Repositories: 100
- Profile: https://github.com/alicerunsonfedora
[mar.kɪs kɚrt] He/him. iOS app and game developer.
GitHub Events
Total
Last Year
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Marquis Kurt | s****e@m****t | 6 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0