Skip to content

Commit

Permalink
Move files to new folders
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLeif committed Jan 18, 2024
1 parent aa12080 commit 9475927
Show file tree
Hide file tree
Showing 19 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ extension Application {

For example, it could be used to scope a state to a particular screen or user interaction flow.
*/
struct Scope {
public struct Scope {
/// The name of the scope context
let name: String
public let name: String

/// The specific id for this scope context
let id: String
public let id: String

/// Key computed property which builds a unique key for a given scope by combining `name` and `id` separated by "/"
var key: String {
public var key: String {
"\(name)/\(id)"
}
}
Expand Down

0 comments on commit 9475927

Please sign in to comment.