Skip to content

Commit 9835f03

Browse files
authored
Add comment to explain implementation detail
1 parent 44d9795 commit 9835f03

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Scripts/BuildPhases/LintAppLocalizedStringsUsage.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ extension Xcodeproj {
226226
/// Represents a group (aka "folder") contained in the project tree.
227227
struct PBXGroup: PBXReference {
228228
enum ISA: String, Decodable { case PBXGroup, XCVersionGroup, PBXVariantGroup }
229+
// We don't have a `ISA<Self>` here because we want multiple `isa` values to all be allowed and all decode as a `PBXGroup` instance (`"PBXGroup"`, `"XCVersionGroup"`, `"PBXVariantGroup"`)
229230
private let isa: ISA
230231

231232
let name: String?

0 commit comments

Comments
 (0)