initial commit: Proximity iOS app proposal, full Swift code scaffold, reference backend, testing docs, generated Xcode project
This commit is contained in:
21
Proximity/Models/Reveal.swift
Normal file
21
Proximity/Models/Reveal.swift
Normal file
@@ -0,0 +1,21 @@
|
||||
import Foundation
|
||||
|
||||
/// The moment two present users mutually acknowledge each other.
|
||||
///
|
||||
/// This is the emotional climax of the product — the instant two strangers
|
||||
/// who were physically near each other both chose to be seen, and their
|
||||
/// silhouettes resolve into people. Everything else in the app exists to
|
||||
/// create this moment.
|
||||
struct Reveal: Identifiable {
|
||||
let id: UUID
|
||||
/// The encounter that produced this reveal.
|
||||
let encounter: Encounter
|
||||
/// The connection created by mutual consent.
|
||||
let connection: Connection
|
||||
|
||||
init(encounter: Encounter, connection: Connection) {
|
||||
self.id = connection.id
|
||||
self.encounter = encounter
|
||||
self.connection = connection
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user