earthmap.mp4
Usage
UIKit
A SceneKit and Metal Powered interactive globe for UIKit and SwiftUI
import UIKit
import DotGlobe
class ViewController: UIViewController {
override func viewDidLoad() {
// initialize controller here
let globeController = GlobeViewController()
globeController.earthColor = UIColor(red: 0.0, green: 0.482, blue: 0.871, alpha: 1.0)
globeController.glowColor = UIColor(red: 0.0, green: 0.22, blue: 0.482, alpha: 1.0)
globeController.reflectionColor = UIColor(red: 0.0, green: 0.482, blue: 0.871, alpha: 1.0)
present(globeController, animated: true, completion: nil)
}
}
Customization:
import SwiftUI
import DotGlobe
struct ContentView: View {
var body: some View {
GlobeView()
}
}
NavigationKit is a lightweight library which makes SwiftUI navigation super easy to use. 💻 Installation 📦 Swift Package Manager Using Swift Package Manager, add ...
An alternative SwiftUI NavigationView implementing classic stack-based navigation giving also some more control on animations and programmatic navigation. NavigationStack Installation ...
With SwiftUI Router you can power your SwiftUI app with path-based routing. By utilizing a path-based system, navigation in your app becomes ...
This package takes SwiftUI's familiar and powerful NavigationStack API and gives it superpowers, allowing you to use the same API not just ...