23 lines
334 B
Swift
23 lines
334 B
Swift
|
//
|
||
|
// NavigationManager.swift
|
||
|
// Gemini
|
||
|
//
|
||
|
// Created by Shadowfacts on 7/14/20.
|
||
|
//
|
||
|
|
||
|
import Foundation
|
||
|
|
||
|
class NavigationManager: ObservableObject {
|
||
|
|
||
|
@Published var currentURL: URL
|
||
|
|
||
|
init(url: URL) {
|
||
|
self.currentURL = url
|
||
|
}
|
||
|
|
||
|
func changeURL(_ url: URL) {
|
||
|
self.currentURL = url
|
||
|
}
|
||
|
|
||
|
}
|