-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c6eb14
commit 52fffbf
Showing
13 changed files
with
87 additions
and
174 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
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// | ||
// ListPredicateType.swift | ||
// Fosdem | ||
// | ||
// Created by Sean Molenaar on 27/01/2025. | ||
// Copyright © 2025 Sean Molenaar. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
enum ListPredicateType { | ||
case person | ||
case room | ||
case track | ||
|
||
static var all: [ListPredicateType] { | ||
return [.track, .person, .room] | ||
} | ||
|
||
static func getName(_ type: ListPredicateType) -> String { | ||
switch type { | ||
case .person: | ||
return String(localized: "People") | ||
case .room: | ||
return String(localized: "Rooms") | ||
case .track: | ||
return String(localized: "Tracks") | ||
} | ||
} | ||
|
||
static func getIcon(_ type: ListPredicateType) -> String { | ||
switch type { | ||
case .person: | ||
return "person" | ||
case .room: | ||
return "door.left.hand.open" | ||
case .track: | ||
return "road.lanes" | ||
} | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import Foundation | ||
import SwiftUI | ||
|
||
enum ListPredicateType { | ||
case person | ||
case room | ||
case track | ||
|
||
static var all: [ListPredicateType] { | ||
return [.track, .person, .room] | ||
} | ||
|
||
static func getName(_ type: ListPredicateType) -> String { | ||
switch type { | ||
case .person: | ||
return "People" | ||
case .room: | ||
return "Rooms" | ||
case .track: | ||
return "Tracks" | ||
} | ||
} | ||
|
||
static func getIcon(_ type: ListPredicateType) -> String { | ||
switch type { | ||
case .person: | ||
return "person" | ||
case .room: | ||
return "door.left.hand.open" | ||
case .track: | ||
return "road.lanes" | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -5,4 +5,3 @@ Store: https://apps.apple.com/nl/app/fosdem-helper/id1667646664 | |
|
||
## TODO: | ||
- People links | ||
- Livestream view |