-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Features build file, update deployment target to 17.6, refactor s…
…creen navigation structure, and improve app icon retrieval logic.
- Loading branch information
Showing
25 changed files
with
556 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
Demo/ViewURL/DemoScreens.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// | ||
// Created by Alexey Nenastyev on 18.8.24. | ||
// Copyright © 2024 Alexey Nenastyev (github.com/alexejn). All Rights Reserved. | ||
import Foundation | ||
|
||
public struct ScreenEvent: CustomStringConvertible, Codable { | ||
let screenStaticID: ScreenStaticID | ||
let id: ScreenID | ||
let kind: Kind | ||
|
||
public enum Kind: Codable, CustomStringConvertible { | ||
case didAppear | ||
case didDisappear | ||
case willSheet(ScreenStaticID) | ||
case willFullscreen(ScreenStaticID) | ||
case willPush(ScreenStaticID) | ||
|
||
public var description: String { | ||
switch self { | ||
case .didAppear: | ||
return "didAppear" | ||
case .didDisappear: | ||
return "didDisappear" | ||
case .willSheet(let screeID): | ||
return "willSheet \(screeID)" | ||
case .willFullscreen(let screeID): | ||
return "willFullscreen \(screeID)" | ||
case .willPush(let screeID): | ||
return "willPush \(screeID)" | ||
} | ||
} | ||
} | ||
|
||
public init(id: ScreenID, staticID: ScreenStaticID, kind: Kind) { | ||
self.screenStaticID = staticID | ||
self.kind = kind | ||
self.id = id | ||
} | ||
|
||
public var description: String { | ||
"Screen \(screenStaticID.type)-\(id) \(kind)" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// Created by Alexey Nenastyev on 18.8.24. | ||
// Copyright © 2024 Alexey Nenastyev (github.com/alexejn). All Rights Reserved. | ||
|
||
|
||
import Foundation | ||
|
||
public typealias ScreenID = UInt32 | ||
|
||
public extension UUID { | ||
static var zero = UUID(uuidString: "00000000-0000-0000-0000-000000000000")! | ||
} |
Oops, something went wrong.