Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
e009335a02
commit
9f4ddde4d8
@ -6,6 +6,10 @@
|
||||
objectVersion = 77;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
EAD891262EF25181006DBA80 /* CasinoKit in Frameworks */ = {isa = PBXBuildFile; productRef = EAD891252EF25181006DBA80 /* CasinoKit */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
EAD890C52EF1E9CF006DBA80 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
@ -65,6 +69,7 @@
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
EAD891262EF25181006DBA80 /* CasinoKit in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
@ -125,6 +130,7 @@
|
||||
);
|
||||
name = Baccarat;
|
||||
packageProductDependencies = (
|
||||
EAD891252EF25181006DBA80 /* CasinoKit */,
|
||||
);
|
||||
productName = Baccarat;
|
||||
productReference = EAD890B72EF1E9CE006DBA80 /* Baccarat.app */;
|
||||
@ -213,6 +219,7 @@
|
||||
mainGroup = EAD890AE2EF1E9CE006DBA80;
|
||||
minimizedProjectReferenceProxies = 1;
|
||||
packageReferences = (
|
||||
EAD891242EF25181006DBA80 /* XCLocalSwiftPackageReference "CasinoKit" */,
|
||||
);
|
||||
preferredProjectObjectVersion = 77;
|
||||
productRefGroup = EAD890B82EF1E9CE006DBA80 /* Products */;
|
||||
@ -599,6 +606,20 @@
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
|
||||
/* Begin XCLocalSwiftPackageReference section */
|
||||
EAD891242EF25181006DBA80 /* XCLocalSwiftPackageReference "CasinoKit" */ = {
|
||||
isa = XCLocalSwiftPackageReference;
|
||||
relativePath = CasinoKit;
|
||||
};
|
||||
/* End XCLocalSwiftPackageReference section */
|
||||
|
||||
/* Begin XCSwiftPackageProductDependency section */
|
||||
EAD891252EF25181006DBA80 /* CasinoKit */ = {
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
productName = CasinoKit;
|
||||
};
|
||||
/* End XCSwiftPackageProductDependency section */
|
||||
};
|
||||
rootObject = EAD890AF2EF1E9CE006DBA80 /* Project object */;
|
||||
}
|
||||
|
||||
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<array/>
|
||||
</plist>
|
||||
@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import CasinoKit
|
||||
|
||||
/// The baccarat game engine implementing Punto Banco rules.
|
||||
struct BaccaratEngine {
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
|
||||
import Foundation
|
||||
import SwiftUI
|
||||
import CasinoKit
|
||||
|
||||
/// The current phase of a baccarat round.
|
||||
enum GamePhase: Equatable {
|
||||
|
||||
@ -1,112 +0,0 @@
|
||||
//
|
||||
// Card.swift
|
||||
// Baccarat
|
||||
//
|
||||
// A playing card model with suit, rank, and baccarat value calculation.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
/// Represents the four suits in a standard deck of cards.
|
||||
enum Suit: String, CaseIterable, Identifiable {
|
||||
case hearts = "♥"
|
||||
case diamonds = "♦"
|
||||
case clubs = "♣"
|
||||
case spades = "♠"
|
||||
|
||||
var id: String { rawValue }
|
||||
|
||||
/// Whether this suit is red (hearts or diamonds).
|
||||
var isRed: Bool {
|
||||
self == .hearts || self == .diamonds
|
||||
}
|
||||
|
||||
/// Accessibility name for VoiceOver.
|
||||
var accessibilityName: String {
|
||||
switch self {
|
||||
case .hearts: return String(localized: "Hearts")
|
||||
case .diamonds: return String(localized: "Diamonds")
|
||||
case .clubs: return String(localized: "Clubs")
|
||||
case .spades: return String(localized: "Spades")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Represents the rank of a card from Ace through King.
|
||||
enum Rank: Int, CaseIterable, Identifiable {
|
||||
case ace = 1
|
||||
case two = 2
|
||||
case three = 3
|
||||
case four = 4
|
||||
case five = 5
|
||||
case six = 6
|
||||
case seven = 7
|
||||
case eight = 8
|
||||
case nine = 9
|
||||
case ten = 10
|
||||
case jack = 11
|
||||
case queen = 12
|
||||
case king = 13
|
||||
|
||||
var id: Int { rawValue }
|
||||
|
||||
/// The display symbol for this rank.
|
||||
var symbol: String {
|
||||
switch self {
|
||||
case .ace: return "A"
|
||||
case .jack: return "J"
|
||||
case .queen: return "Q"
|
||||
case .king: return "K"
|
||||
default: return String(rawValue)
|
||||
}
|
||||
}
|
||||
|
||||
/// The baccarat point value for this rank.
|
||||
/// Aces = 1, 2-9 = face value, 10/J/Q/K = 0
|
||||
var baccaratValue: Int {
|
||||
switch self {
|
||||
case .ace: return 1
|
||||
case .two, .three, .four, .five, .six, .seven, .eight, .nine:
|
||||
return rawValue
|
||||
case .ten, .jack, .queen, .king:
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
/// Accessibility name for VoiceOver.
|
||||
var accessibilityName: String {
|
||||
switch self {
|
||||
case .ace: return String(localized: "Ace")
|
||||
case .two: return String(localized: "Two")
|
||||
case .three: return String(localized: "Three")
|
||||
case .four: return String(localized: "Four")
|
||||
case .five: return String(localized: "Five")
|
||||
case .six: return String(localized: "Six")
|
||||
case .seven: return String(localized: "Seven")
|
||||
case .eight: return String(localized: "Eight")
|
||||
case .nine: return String(localized: "Nine")
|
||||
case .ten: return String(localized: "Ten")
|
||||
case .jack: return String(localized: "Jack")
|
||||
case .queen: return String(localized: "Queen")
|
||||
case .king: return String(localized: "King")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Represents a single playing card with a suit and rank.
|
||||
struct Card: Identifiable, Equatable {
|
||||
let id = UUID()
|
||||
let suit: Suit
|
||||
let rank: Rank
|
||||
|
||||
/// The baccarat point value of this card.
|
||||
var baccaratValue: Int {
|
||||
rank.baccaratValue
|
||||
}
|
||||
|
||||
/// Display string showing rank and suit together.
|
||||
var display: String {
|
||||
"\(rank.symbol)\(suit.rawValue)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,123 +0,0 @@
|
||||
//
|
||||
// ChipDenomination.swift
|
||||
// Baccarat
|
||||
//
|
||||
// The available chip denominations with their properties.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
/// The available chip denominations.
|
||||
enum ChipDenomination: Int, CaseIterable, Identifiable {
|
||||
case ten = 10
|
||||
case twentyFive = 25
|
||||
case fifty = 50
|
||||
case hundred = 100
|
||||
case fiveHundred = 500
|
||||
case thousand = 1_000
|
||||
case fiveThousand = 5_000
|
||||
case tenThousand = 10_000
|
||||
case twentyFiveThousand = 25_000
|
||||
case fiftyThousand = 50_000
|
||||
case hundredThousand = 100_000
|
||||
|
||||
var id: Int { rawValue }
|
||||
|
||||
/// The display text for this denomination.
|
||||
var displayText: String {
|
||||
switch self {
|
||||
case .ten: return "10"
|
||||
case .twentyFive: return "25"
|
||||
case .fifty: return "50"
|
||||
case .hundred: return "100"
|
||||
case .fiveHundred: return "500"
|
||||
case .thousand: return "1K"
|
||||
case .fiveThousand: return "5K"
|
||||
case .tenThousand: return "10K"
|
||||
case .twentyFiveThousand: return "25K"
|
||||
case .fiftyThousand: return "50K"
|
||||
case .hundredThousand: return "100K"
|
||||
}
|
||||
}
|
||||
|
||||
/// The minimum balance required to show this chip in the selector.
|
||||
/// Higher chips unlock as you win more!
|
||||
var unlockBalance: Int {
|
||||
switch self {
|
||||
case .ten, .twentyFive, .fifty, .hundred: return 0 // Always available
|
||||
case .fiveHundred: return 500
|
||||
case .thousand: return 1_000
|
||||
case .fiveThousand: return 5_000
|
||||
case .tenThousand: return 10_000
|
||||
case .twentyFiveThousand: return 25_000
|
||||
case .fiftyThousand: return 50_000
|
||||
case .hundredThousand: return 100_000
|
||||
}
|
||||
}
|
||||
|
||||
/// Whether this chip should be shown based on the player's balance.
|
||||
func isUnlocked(forBalance balance: Int) -> Bool {
|
||||
balance >= unlockBalance
|
||||
}
|
||||
|
||||
/// Returns chips that should be visible for a given balance.
|
||||
static func availableChips(forBalance balance: Int) -> [ChipDenomination] {
|
||||
allCases.filter { $0.isUnlocked(forBalance: balance) }
|
||||
}
|
||||
|
||||
/// The primary color for this chip.
|
||||
var primaryColor: Color {
|
||||
switch self {
|
||||
case .ten: return Color.Chip.tenBase
|
||||
case .twentyFive: return Color.Chip.twentyFiveBase
|
||||
case .fifty: return Color.Chip.fiftyBase
|
||||
case .hundred: return Color.Chip.hundredBase
|
||||
case .fiveHundred: return Color.Chip.fiveHundredBase
|
||||
case .thousand: return Color.Chip.thousandBase
|
||||
case .fiveThousand: return Color.Chip.fiveThousandBase
|
||||
case .tenThousand: return Color.Chip.tenThousandBase
|
||||
case .twentyFiveThousand: return Color.Chip.twentyFiveThousandBase
|
||||
case .fiftyThousand: return Color.Chip.fiftyThousandBase
|
||||
case .hundredThousand: return Color.Chip.hundredThousandBase
|
||||
}
|
||||
}
|
||||
|
||||
/// The secondary/accent color for this chip.
|
||||
var secondaryColor: Color {
|
||||
switch self {
|
||||
case .ten: return Color.Chip.tenHighlight
|
||||
case .twentyFive: return Color.Chip.twentyFiveHighlight
|
||||
case .fifty: return Color.Chip.fiftyHighlight
|
||||
case .hundred: return Color.Chip.hundredHighlight
|
||||
case .fiveHundred: return Color.Chip.fiveHundredHighlight
|
||||
case .thousand: return Color.Chip.thousandHighlight
|
||||
case .fiveThousand: return Color.Chip.fiveThousandHighlight
|
||||
case .tenThousand: return Color.Chip.tenThousandHighlight
|
||||
case .twentyFiveThousand: return Color.Chip.twentyFiveThousandHighlight
|
||||
case .fiftyThousand: return Color.Chip.fiftyThousandHighlight
|
||||
case .hundredThousand: return Color.Chip.hundredThousandHighlight
|
||||
}
|
||||
}
|
||||
|
||||
/// The edge stripe color for this chip.
|
||||
var stripeColor: Color {
|
||||
switch self {
|
||||
case .ten, .twentyFive, .fifty: return .white
|
||||
case .hundred: return Color.Chip.goldStripe
|
||||
case .fiveHundred: return .white
|
||||
case .thousand: return .black
|
||||
case .fiveThousand: return Color.Chip.goldStripe
|
||||
case .tenThousand: return .white
|
||||
case .twentyFiveThousand: return Color.Chip.goldStripe
|
||||
case .fiftyThousand: return Color.Chip.darkStripe
|
||||
case .hundredThousand: return Color.Chip.goldRubyStripe
|
||||
}
|
||||
}
|
||||
|
||||
/// Accessibility label for VoiceOver.
|
||||
var accessibilityLabel: String {
|
||||
let format = String(localized: "chipDenominationFormat")
|
||||
return String(format: format, rawValue.formatted())
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import CasinoKit
|
||||
|
||||
/// Represents a hand of cards in baccarat.
|
||||
struct Hand: Identifiable {
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import CasinoKit
|
||||
|
||||
/// Represents a shoe containing multiple decks of cards.
|
||||
/// Standard baccarat uses 6-8 decks shuffled together.
|
||||
|
||||
@ -110,12 +110,9 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Ace" : {
|
||||
"comment" : "Accessibility name for the rank \"Ace\".",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"B" : {
|
||||
"comment" : "The letter \"B\" displayed in the center of the playing card's back.",
|
||||
"extractionState" : "stale",
|
||||
"localizations" : {
|
||||
"es" : {
|
||||
"stringUnit" : {
|
||||
@ -274,10 +271,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"betAmountFormat" : {
|
||||
"comment" : "Format string used to describe the amount of a bet.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Betting disabled" : {
|
||||
"comment" : "Accessibility hint text for the TIE betting zone when it is disabled.",
|
||||
"isCommentAutoGenerated" : true
|
||||
@ -317,10 +310,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Card face down" : {
|
||||
"comment" : "Accessibility label for a card that is not currently facing up.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Cards face down" : {
|
||||
"comment" : "Voiceover description of the player's hand when no cards are visible.",
|
||||
"isCommentAutoGenerated" : true
|
||||
@ -329,14 +318,6 @@
|
||||
"comment" : "A label describing the number of cards remaining in the shoe.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Chip selector" : {
|
||||
"comment" : "A label describing the chip selector view.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"chipDenominationFormat" : {
|
||||
"comment" : "VoiceOver accessibility label format for chip denominations.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Clear" : {
|
||||
"comment" : "The label of a button that clears all current bets in the game.",
|
||||
"localizations" : {
|
||||
@ -372,10 +353,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Clubs" : {
|
||||
"comment" : "Accessibility name for the \"Clubs\" suit.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"currentBetFormat" : {
|
||||
"comment" : "Format string for the amount of the current bet.",
|
||||
"isCommentAutoGenerated" : true
|
||||
@ -485,10 +462,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Diamonds" : {
|
||||
"comment" : "Accessibility name for the \"Diamonds\" suit.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Done" : {
|
||||
"comment" : "The text for a button that confirms and saves settings.",
|
||||
"localizations" : {
|
||||
@ -524,30 +497,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Double tap a chip to select bet amount" : {
|
||||
"comment" : "A hint that appears when hovering over the chip selector, explaining how to select a bet amount.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Double tap to place bet" : {
|
||||
"comment" : "Accessibility hint text for the TIE betting zone.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Eight" : {
|
||||
"comment" : "Name of the rank when the rank is 8.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Empty card slot" : {
|
||||
"comment" : "An accessibility label for an empty card slot.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Five" : {
|
||||
"comment" : "The accessibility name for a card with rank \"Five\" and suit \"Hearts\".",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Four" : {
|
||||
"comment" : "The rank of a card, represented as a string.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Game history" : {
|
||||
"comment" : "The accessibility label for the road map view, describing it as a display of game results.",
|
||||
"isCommentAutoGenerated" : true
|
||||
@ -595,10 +548,6 @@
|
||||
"comment" : "A description of the player's hand, including the visible cards and their total value.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Hearts" : {
|
||||
"comment" : "Accessibility name for the \"Hearts\" suit.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"HISTORY" : {
|
||||
"comment" : "A label displayed above the road map view, indicating that it shows a history of past game results.",
|
||||
"localizations" : {
|
||||
@ -638,20 +587,13 @@
|
||||
"comment" : "Format string used to create a summary of the user's game history, including the total number of rounds played, as well as the number of rounds won by the player, the banker, and as ties.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Jack" : {
|
||||
"comment" : "Name of the Jack rank.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"King" : {
|
||||
"comment" : "Accessibility name for the King rank.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"lostAmountFormat" : {
|
||||
"comment" : "Format string used to describe the amount lost in a round.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"MAX" : {
|
||||
"comment" : "A label displayed as a badge on top-right of a chip to indicate it's the maximum bet.",
|
||||
"extractionState" : "stale",
|
||||
"localizations" : {
|
||||
"es" : {
|
||||
"stringUnit" : {
|
||||
@ -728,10 +670,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Nine" : {
|
||||
"comment" : "Description of a card rank when the rank is nine.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"No cards" : {
|
||||
"comment" : "A description of the player's hand when they have no cards.",
|
||||
"isCommentAutoGenerated" : true
|
||||
@ -965,10 +903,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Queen" : {
|
||||
"comment" : "Accessibility name for the rank \"Queen\".",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Reset" : {
|
||||
"comment" : "A button that resets the game to its initial state.",
|
||||
"localizations" : {
|
||||
@ -1078,10 +1012,6 @@
|
||||
"comment" : "Text to be read out loud when the Banker betting zone is selected.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Selected" : {
|
||||
"comment" : "A text that describes an action as \"selected\".",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Settings" : {
|
||||
"comment" : "The label of a button that navigates to the settings screen.",
|
||||
"localizations" : {
|
||||
@ -1117,18 +1047,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Seven" : {
|
||||
"comment" : "Accessibility name for the rank \"Seven\".",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Six" : {
|
||||
"comment" : "VoiceOver accessibility name for the rank \"Six\".",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Spades" : {
|
||||
"comment" : "Accessibility name for the suit \"Spades\".",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"tableLimitsFormat" : {
|
||||
"comment" : "Format string for table limits display. First argument is min bet, second is max bet.",
|
||||
"extractionState" : "stale",
|
||||
@ -1171,14 +1089,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Ten" : {
|
||||
"comment" : "Accessibility name for a card with the rank of Ten.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"Three" : {
|
||||
"comment" : "The accessibility name for a card with rank \"Three\" and suit \"Hearts\".",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"TIE" : {
|
||||
"comment" : "The text displayed in the TIE betting zone.",
|
||||
"localizations" : {
|
||||
@ -1260,10 +1170,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"Two" : {
|
||||
"comment" : "Text for the \"Two\" rank.",
|
||||
"isCommentAutoGenerated" : true
|
||||
},
|
||||
"WIN" : {
|
||||
"comment" : "The text that appears as a badge when a player wins a hand in baccarat.",
|
||||
"localizations" : {
|
||||
|
||||
@ -1,62 +0,0 @@
|
||||
//
|
||||
// ChipEdgePattern.swift
|
||||
// Baccarat
|
||||
//
|
||||
// The edge stripe pattern for casino chips.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
/// The edge stripe pattern for chips.
|
||||
struct ChipEdgePattern: View {
|
||||
let stripeColor: Color
|
||||
|
||||
// MARK: - Layout Constants
|
||||
|
||||
private let stripeCount = 16
|
||||
private let stripeWidth: CGFloat = 6
|
||||
private let innerRadiusRatio: CGFloat = 0.75
|
||||
private let outerRadiusRatio: CGFloat = 0.98
|
||||
|
||||
var body: some View {
|
||||
Canvas { context, size in
|
||||
let center = CGPoint(x: size.width / 2, y: size.height / 2)
|
||||
let radius = min(size.width, size.height) / 2
|
||||
|
||||
for i in 0..<stripeCount {
|
||||
let angle = Double(i) * (360.0 / Double(stripeCount)) * .pi / 180
|
||||
|
||||
let innerRadius = radius * innerRadiusRatio
|
||||
let outerRadius = radius * outerRadiusRatio
|
||||
|
||||
let startX = center.x + cos(angle) * innerRadius
|
||||
let startY = center.y + sin(angle) * innerRadius
|
||||
let endX = center.x + cos(angle) * outerRadius
|
||||
let endY = center.y + sin(angle) * outerRadius
|
||||
|
||||
var path = Path()
|
||||
path.move(to: CGPoint(x: startX, y: startY))
|
||||
path.addLine(to: CGPoint(x: endX, y: endY))
|
||||
|
||||
context.stroke(
|
||||
path,
|
||||
with: .color(stripeColor),
|
||||
lineWidth: stripeWidth
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Preview {
|
||||
ZStack {
|
||||
Color.Table.preview
|
||||
.ignoresSafeArea()
|
||||
|
||||
ChipEdgePattern(stripeColor: .white)
|
||||
.frame(width: 100, height: 100)
|
||||
.clipShape(.circle)
|
||||
.background(Circle().fill(.red))
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,117 +0,0 @@
|
||||
//
|
||||
// ChipOnTable.swift
|
||||
// Baccarat
|
||||
//
|
||||
// A simplified chip display for showing bets on the table.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
/// A simplified chip for displaying bets on the table.
|
||||
struct ChipOnTable: View {
|
||||
let amount: Int
|
||||
var showMax: Bool = false
|
||||
|
||||
// MARK: - Layout Constants
|
||||
// Fixed sizes: chip face has strict space constraints
|
||||
|
||||
private let chipSize = Design.Size.chipSmall
|
||||
private let innerRingSize: CGFloat = 26
|
||||
private let gradientEndRadius: CGFloat = 20
|
||||
private let maxBadgeFontSize = Design.BaseFontSize.xxSmall
|
||||
private let maxBadgeOffsetX: CGFloat = 6
|
||||
private let maxBadgeOffsetY: CGFloat = -4
|
||||
|
||||
// MARK: - Computed Properties
|
||||
|
||||
private var chipColor: Color {
|
||||
switch amount {
|
||||
case 0..<50: return .blue
|
||||
case 50..<100: return .orange
|
||||
case 100..<500: return .black
|
||||
case 500..<1000: return .purple
|
||||
default: return Color.Chip.gold
|
||||
}
|
||||
}
|
||||
|
||||
private var displayText: String {
|
||||
amount >= 1000 ? "\(amount / 1000)K" : "\(amount)"
|
||||
}
|
||||
|
||||
private var textFontSize: CGFloat {
|
||||
amount >= 1000 ? Design.BaseFontSize.small : 11
|
||||
}
|
||||
|
||||
// MARK: - Body
|
||||
|
||||
var body: some View {
|
||||
ZStack {
|
||||
Circle()
|
||||
.fill(
|
||||
RadialGradient(
|
||||
colors: [chipColor.opacity(0.9), chipColor],
|
||||
center: .topLeading,
|
||||
startRadius: 0,
|
||||
endRadius: gradientEndRadius
|
||||
)
|
||||
)
|
||||
.frame(width: chipSize, height: chipSize)
|
||||
|
||||
Circle()
|
||||
.strokeBorder(Color.white.opacity(Design.Opacity.heavy), lineWidth: Design.LineWidth.medium)
|
||||
.frame(width: chipSize, height: chipSize)
|
||||
|
||||
Circle()
|
||||
.strokeBorder(Color.white.opacity(Design.Opacity.light), lineWidth: Design.LineWidth.thin)
|
||||
.frame(width: innerRingSize, height: innerRingSize)
|
||||
|
||||
Text(displayText)
|
||||
.font(.system(size: textFontSize, weight: .bold))
|
||||
.foregroundStyle(.white)
|
||||
}
|
||||
.shadow(color: .black.opacity(Design.Opacity.light), radius: Design.Shadow.radiusSmall, x: 1, y: 2)
|
||||
.overlay(alignment: .topTrailing) {
|
||||
if showMax {
|
||||
Text("MAX")
|
||||
.font(.system(size: maxBadgeFontSize, weight: .black))
|
||||
.foregroundStyle(.white)
|
||||
.padding(.horizontal, Design.Spacing.xSmall)
|
||||
.padding(.vertical, Design.Spacing.xxSmall)
|
||||
.background(
|
||||
Capsule()
|
||||
.fill(Color.red)
|
||||
)
|
||||
.offset(x: maxBadgeOffsetX, y: maxBadgeOffsetY)
|
||||
.accessibilityHidden(true) // Included in parent label
|
||||
}
|
||||
}
|
||||
.accessibilityLabel(accessibilityDescription)
|
||||
}
|
||||
|
||||
// MARK: - Accessibility
|
||||
|
||||
private var accessibilityDescription: String {
|
||||
let format = String(localized: "betAmountFormat")
|
||||
let base = String(format: format, amount.formatted())
|
||||
if showMax {
|
||||
return base + ", " + String(localized: "maximum bet")
|
||||
}
|
||||
return base
|
||||
}
|
||||
}
|
||||
|
||||
#Preview {
|
||||
ZStack {
|
||||
Color.Table.preview
|
||||
.ignoresSafeArea()
|
||||
|
||||
HStack(spacing: Design.Spacing.xLarge) {
|
||||
ChipOnTable(amount: 25)
|
||||
ChipOnTable(amount: 100)
|
||||
ChipOnTable(amount: 500)
|
||||
ChipOnTable(amount: 1000)
|
||||
ChipOnTable(amount: 5000, showMax: true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,64 +0,0 @@
|
||||
//
|
||||
// ChipStackView.swift
|
||||
// Baccarat
|
||||
//
|
||||
// A stacked display of chips representing a bet amount.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
/// A stack of chips showing a bet amount.
|
||||
struct ChipStackView: View {
|
||||
let amount: Int
|
||||
let maxChips: Int
|
||||
|
||||
// MARK: - Layout Constants
|
||||
|
||||
private let chipSize: CGFloat = 40
|
||||
private let stackOffset: CGFloat = 4
|
||||
|
||||
init(amount: Int, maxChips: Int = 5) {
|
||||
self.amount = amount
|
||||
self.maxChips = maxChips
|
||||
}
|
||||
|
||||
private var chipBreakdown: [(ChipDenomination, Int)] {
|
||||
var remaining = amount
|
||||
var result: [(ChipDenomination, Int)] = []
|
||||
|
||||
for denom in ChipDenomination.allCases.reversed() {
|
||||
let count = remaining / denom.rawValue
|
||||
if count > 0 {
|
||||
result.append((denom, min(count, maxChips)))
|
||||
remaining -= count * denom.rawValue
|
||||
}
|
||||
}
|
||||
|
||||
return result
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
ZStack {
|
||||
ForEach(chipBreakdown.indices, id: \.self) { index in
|
||||
let (denom, _) = chipBreakdown[index]
|
||||
ChipView(denomination: denom, size: chipSize)
|
||||
.offset(y: CGFloat(-index) * stackOffset)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Preview {
|
||||
ZStack {
|
||||
Color.Table.preview
|
||||
.ignoresSafeArea()
|
||||
|
||||
HStack(spacing: Design.Spacing.xxxLarge) {
|
||||
ChipStackView(amount: 100)
|
||||
ChipStackView(amount: 550)
|
||||
ChipStackView(amount: 1500)
|
||||
ChipStackView(amount: 10_000)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,128 +0,0 @@
|
||||
//
|
||||
// ChipView.swift
|
||||
// Baccarat
|
||||
//
|
||||
// A realistic casino-style betting chip.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
/// A realistic casino-style betting chip.
|
||||
struct ChipView: View {
|
||||
let denomination: ChipDenomination
|
||||
let size: CGFloat
|
||||
var isSelected: Bool = false
|
||||
|
||||
init(denomination: ChipDenomination, size: CGFloat = 60, isSelected: Bool = false) {
|
||||
self.denomination = denomination
|
||||
self.size = size
|
||||
self.isSelected = isSelected
|
||||
}
|
||||
|
||||
// MARK: - Layout Constants
|
||||
|
||||
private let innerCircleRatio: CGFloat = 0.65
|
||||
private let innerGradientRatio: CGFloat = 0.4
|
||||
private let textSizeRatio: CGFloat = 0.25
|
||||
private let selectionGlowPadding: CGFloat = 6
|
||||
private let shadowOffset: CGFloat = 2
|
||||
private let shadowOffsetY: CGFloat = 3
|
||||
|
||||
var body: some View {
|
||||
ZStack {
|
||||
// Base circle with gradient
|
||||
Circle()
|
||||
.fill(
|
||||
RadialGradient(
|
||||
colors: [
|
||||
denomination.secondaryColor,
|
||||
denomination.primaryColor,
|
||||
denomination.primaryColor.opacity(Design.Opacity.heavy)
|
||||
],
|
||||
center: .topLeading,
|
||||
startRadius: 0,
|
||||
endRadius: size
|
||||
)
|
||||
)
|
||||
|
||||
// Edge stripes pattern
|
||||
ChipEdgePattern(stripeColor: denomination.stripeColor)
|
||||
.clipShape(.circle)
|
||||
|
||||
// Inner circle
|
||||
Circle()
|
||||
.fill(
|
||||
RadialGradient(
|
||||
colors: [
|
||||
denomination.secondaryColor,
|
||||
denomination.primaryColor
|
||||
],
|
||||
center: .topLeading,
|
||||
startRadius: 0,
|
||||
endRadius: size * innerGradientRatio
|
||||
)
|
||||
)
|
||||
.frame(width: size * innerCircleRatio, height: size * innerCircleRatio)
|
||||
|
||||
// Inner border
|
||||
Circle()
|
||||
.strokeBorder(
|
||||
denomination.stripeColor.opacity(Design.Opacity.heavy),
|
||||
lineWidth: Design.LineWidth.medium
|
||||
)
|
||||
.frame(width: size * innerCircleRatio, height: size * innerCircleRatio)
|
||||
|
||||
// Denomination text
|
||||
Text(denomination.displayText)
|
||||
.font(.system(size: size * textSizeRatio, weight: .heavy, design: .rounded))
|
||||
.foregroundStyle(denomination.stripeColor)
|
||||
.shadow(color: .black.opacity(Design.Opacity.light), radius: Design.LineWidth.thin, x: 1, y: 1)
|
||||
|
||||
// Outer border
|
||||
Circle()
|
||||
.strokeBorder(
|
||||
LinearGradient(
|
||||
colors: [
|
||||
Color.white.opacity(Design.Opacity.overlay),
|
||||
Color.black.opacity(Design.Opacity.light)
|
||||
],
|
||||
startPoint: .topLeading,
|
||||
endPoint: .bottomTrailing
|
||||
),
|
||||
lineWidth: Design.LineWidth.medium
|
||||
)
|
||||
|
||||
// Selection glow
|
||||
if isSelected {
|
||||
Circle()
|
||||
.strokeBorder(Color.yellow, lineWidth: Design.LineWidth.thick)
|
||||
.frame(width: size + selectionGlowPadding, height: size + selectionGlowPadding)
|
||||
}
|
||||
}
|
||||
.frame(width: size, height: size)
|
||||
.shadow(color: .black.opacity(Design.Opacity.overlay), radius: isSelected ? Design.Shadow.radiusSmall * 2 : Design.Shadow.radiusSmall, x: shadowOffset, y: shadowOffsetY)
|
||||
.scaleEffect(isSelected ? Design.Scale.selected : Design.Scale.normal)
|
||||
.animation(.spring(duration: Design.Animation.selectionDuration), value: isSelected)
|
||||
.accessibilityLabel(denomination.accessibilityLabel)
|
||||
.accessibilityValue(isSelected ? String(localized: "Selected") : "")
|
||||
.accessibilityAddTraits(.isButton)
|
||||
}
|
||||
}
|
||||
|
||||
#Preview {
|
||||
ZStack {
|
||||
Color.Table.preview
|
||||
.ignoresSafeArea()
|
||||
|
||||
VStack(spacing: Design.Spacing.xxxLarge) {
|
||||
HStack(spacing: Design.Spacing.xLarge) {
|
||||
ForEach(ChipDenomination.allCases) { denom in
|
||||
ChipView(denomination: denom, size: Design.Size.chipSelector)
|
||||
}
|
||||
}
|
||||
|
||||
ChipView(denomination: .hundred, size: 80, isSelected: true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import CasinoKit
|
||||
|
||||
/// The main game table view containing all game elements.
|
||||
struct GameTableView: View {
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import CasinoKit
|
||||
|
||||
/// The semi-circular mini baccarat betting table layout.
|
||||
struct MiniBaccaratTableView: View {
|
||||
@ -285,7 +286,7 @@ struct TieBettingZone: View {
|
||||
// Chip overlaid on right side
|
||||
.overlay(alignment: .trailing) {
|
||||
if betAmount > 0 {
|
||||
ChipOnTable(amount: betAmount, showMax: isAtMax)
|
||||
ChipOnTableView(amount: betAmount, showMax: isAtMax)
|
||||
.padding(.trailing, chipTrailingPadding)
|
||||
.accessibilityHidden(true) // Included in zone description
|
||||
}
|
||||
@ -407,7 +408,7 @@ struct BankerBettingZone: View {
|
||||
// Chip overlaid on right side
|
||||
.overlay(alignment: .trailing) {
|
||||
if betAmount > 0 {
|
||||
ChipOnTable(amount: betAmount, showMax: isAtMax)
|
||||
ChipOnTableView(amount: betAmount, showMax: isAtMax)
|
||||
.padding(.trailing, chipTrailingPadding)
|
||||
.accessibilityHidden(true) // Included in zone description
|
||||
}
|
||||
@ -529,7 +530,7 @@ struct PlayerBettingZone: View {
|
||||
// Chip overlaid on right side
|
||||
.overlay(alignment: .trailing) {
|
||||
if betAmount > 0 {
|
||||
ChipOnTable(amount: betAmount, showMax: isAtMax)
|
||||
ChipOnTableView(amount: betAmount, showMax: isAtMax)
|
||||
.padding(.trailing, chipTrailingPadding)
|
||||
.accessibilityHidden(true) // Included in zone description
|
||||
}
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
|
||||
import SwiftUI
|
||||
import UIKit
|
||||
import CasinoKit
|
||||
|
||||
/// An animated banner showing the round result.
|
||||
struct ResultBannerView: View {
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import CasinoKit
|
||||
|
||||
/// A simple road display showing recent results.
|
||||
struct RoadMapView: View {
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import CasinoKit
|
||||
|
||||
/// The settings screen for customizing game options.
|
||||
struct SettingsView: View {
|
||||
|
||||
1
CasinoKit/.build/.lock
Normal file
1
CasinoKit/.build/.lock
Normal file
@ -0,0 +1 @@
|
||||
59776
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,17 @@
|
||||
import Foundation
|
||||
|
||||
extension Foundation.Bundle {
|
||||
static let module: Bundle = {
|
||||
let mainPath = Bundle.main.bundleURL.appendingPathComponent("CasinoKit_CasinoKit.bundle").path
|
||||
let buildPath = "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit_CasinoKit.bundle"
|
||||
|
||||
let preferredBundle = Bundle(path: mainPath)
|
||||
|
||||
guard let bundle = preferredBundle ?? Bundle(path: buildPath) else {
|
||||
// Users can write a function called fatalError themselves, we should be resilient against that.
|
||||
Swift.fatalError("could not load resource bundle: from \(mainPath) or \(buildPath)")
|
||||
}
|
||||
|
||||
return bundle
|
||||
}()
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@ -0,0 +1,311 @@
|
||||
// Generated by Apple Swift version 6.2 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
|
||||
#ifndef CASINOKIT_SWIFT_H
|
||||
#define CASINOKIT_SWIFT_H
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wgcc-compat"
|
||||
|
||||
#if !defined(__has_include)
|
||||
# define __has_include(x) 0
|
||||
#endif
|
||||
#if !defined(__has_attribute)
|
||||
# define __has_attribute(x) 0
|
||||
#endif
|
||||
#if !defined(__has_feature)
|
||||
# define __has_feature(x) 0
|
||||
#endif
|
||||
#if !defined(__has_warning)
|
||||
# define __has_warning(x) 0
|
||||
#endif
|
||||
|
||||
#if __has_include(<swift/objc-prologue.h>)
|
||||
# include <swift/objc-prologue.h>
|
||||
#endif
|
||||
|
||||
#pragma clang diagnostic ignored "-Wauto-import"
|
||||
#if defined(__OBJC__)
|
||||
#include <Foundation/Foundation.h>
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#include <cstdint>
|
||||
#include <cstddef>
|
||||
#include <cstdbool>
|
||||
#include <cstring>
|
||||
#include <stdlib.h>
|
||||
#include <new>
|
||||
#include <type_traits>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
||||
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
||||
# include <ptrauth.h>
|
||||
#else
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
||||
# ifndef __ptrauth_swift_value_witness_function_pointer
|
||||
# define __ptrauth_swift_value_witness_function_pointer(x)
|
||||
# endif
|
||||
# ifndef __ptrauth_swift_class_method_pointer
|
||||
# define __ptrauth_swift_class_method_pointer(x)
|
||||
# endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#if !defined(SWIFT_TYPEDEFS)
|
||||
# define SWIFT_TYPEDEFS 1
|
||||
# if __has_include(<uchar.h>)
|
||||
# include <uchar.h>
|
||||
# elif !defined(__cplusplus)
|
||||
typedef unsigned char char8_t;
|
||||
typedef uint_least16_t char16_t;
|
||||
typedef uint_least32_t char32_t;
|
||||
# endif
|
||||
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
||||
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
||||
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
||||
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
||||
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
||||
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
||||
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
||||
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
||||
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
||||
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
||||
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
||||
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
||||
#endif
|
||||
|
||||
#if !defined(SWIFT_PASTE)
|
||||
# define SWIFT_PASTE_HELPER(x, y) x##y
|
||||
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
||||
#endif
|
||||
#if !defined(SWIFT_METATYPE)
|
||||
# define SWIFT_METATYPE(X) Class
|
||||
#endif
|
||||
#if !defined(SWIFT_CLASS_PROPERTY)
|
||||
# if __has_feature(objc_class_property)
|
||||
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
||||
# else
|
||||
# define SWIFT_CLASS_PROPERTY(...)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_RUNTIME_NAME)
|
||||
# if __has_attribute(objc_runtime_name)
|
||||
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
||||
# else
|
||||
# define SWIFT_RUNTIME_NAME(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_COMPILE_NAME)
|
||||
# if __has_attribute(swift_name)
|
||||
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
||||
# else
|
||||
# define SWIFT_COMPILE_NAME(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_METHOD_FAMILY)
|
||||
# if __has_attribute(objc_method_family)
|
||||
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
||||
# else
|
||||
# define SWIFT_METHOD_FAMILY(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_NOESCAPE)
|
||||
# if __has_attribute(noescape)
|
||||
# define SWIFT_NOESCAPE __attribute__((noescape))
|
||||
# else
|
||||
# define SWIFT_NOESCAPE
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
||||
# if __has_attribute(ns_consumed)
|
||||
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
||||
# else
|
||||
# define SWIFT_RELEASES_ARGUMENT
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
||||
# if __has_attribute(warn_unused_result)
|
||||
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
# else
|
||||
# define SWIFT_WARN_UNUSED_RESULT
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_NORETURN)
|
||||
# if __has_attribute(noreturn)
|
||||
# define SWIFT_NORETURN __attribute__((noreturn))
|
||||
# else
|
||||
# define SWIFT_NORETURN
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_CLASS_EXTRA)
|
||||
# define SWIFT_CLASS_EXTRA
|
||||
#endif
|
||||
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
||||
# define SWIFT_PROTOCOL_EXTRA
|
||||
#endif
|
||||
#if !defined(SWIFT_ENUM_EXTRA)
|
||||
# define SWIFT_ENUM_EXTRA
|
||||
#endif
|
||||
#if !defined(SWIFT_CLASS)
|
||||
# if __has_attribute(objc_subclassing_restricted)
|
||||
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
||||
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
||||
# else
|
||||
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
||||
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_RESILIENT_CLASS)
|
||||
# if __has_attribute(objc_class_stub)
|
||||
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
||||
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
||||
# else
|
||||
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
||||
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_PROTOCOL)
|
||||
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
||||
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
||||
#endif
|
||||
#if !defined(SWIFT_EXTENSION)
|
||||
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
||||
#endif
|
||||
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
||||
# if __has_attribute(objc_designated_initializer)
|
||||
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
||||
# else
|
||||
# define OBJC_DESIGNATED_INITIALIZER
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_ENUM_ATTR)
|
||||
# if __has_attribute(enum_extensibility)
|
||||
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
||||
# else
|
||||
# define SWIFT_ENUM_ATTR(_extensibility)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_ENUM)
|
||||
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
||||
# if __has_feature(generalized_swift_name)
|
||||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
||||
# else
|
||||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_UNAVAILABLE)
|
||||
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
||||
#endif
|
||||
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
||||
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
||||
#endif
|
||||
#if !defined(SWIFT_AVAILABILITY)
|
||||
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
||||
#endif
|
||||
#if !defined(SWIFT_WEAK_IMPORT)
|
||||
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
||||
#endif
|
||||
#if !defined(SWIFT_DEPRECATED)
|
||||
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
||||
#endif
|
||||
#if !defined(SWIFT_DEPRECATED_MSG)
|
||||
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
||||
#endif
|
||||
#if !defined(SWIFT_DEPRECATED_OBJC)
|
||||
# if __has_feature(attribute_diagnose_if_objc)
|
||||
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
||||
# else
|
||||
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
||||
# endif
|
||||
#endif
|
||||
#if defined(__OBJC__)
|
||||
#if !defined(IBSegueAction)
|
||||
# define IBSegueAction
|
||||
#endif
|
||||
#endif
|
||||
#if !defined(SWIFT_EXTERN)
|
||||
# if defined(__cplusplus)
|
||||
# define SWIFT_EXTERN extern "C"
|
||||
# else
|
||||
# define SWIFT_EXTERN extern
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_CALL)
|
||||
# define SWIFT_CALL __attribute__((swiftcall))
|
||||
#endif
|
||||
#if !defined(SWIFT_INDIRECT_RESULT)
|
||||
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
||||
#endif
|
||||
#if !defined(SWIFT_CONTEXT)
|
||||
# define SWIFT_CONTEXT __attribute__((swift_context))
|
||||
#endif
|
||||
#if !defined(SWIFT_ERROR_RESULT)
|
||||
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
# define SWIFT_NOEXCEPT noexcept
|
||||
#else
|
||||
# define SWIFT_NOEXCEPT
|
||||
#endif
|
||||
#if !defined(SWIFT_C_INLINE_THUNK)
|
||||
# if __has_attribute(always_inline)
|
||||
# if __has_attribute(nodebug)
|
||||
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
||||
# else
|
||||
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
||||
# endif
|
||||
# else
|
||||
# define SWIFT_C_INLINE_THUNK inline
|
||||
# endif
|
||||
#endif
|
||||
#if defined(_WIN32)
|
||||
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
||||
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
||||
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__OBJC__)
|
||||
#if __has_feature(objc_modules)
|
||||
#if __has_warning("-Watimport-in-framework-header")
|
||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
||||
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
||||
#if __has_warning("-Wpragma-clang-attribute")
|
||||
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
||||
#endif
|
||||
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
||||
#pragma clang diagnostic ignored "-Wnullability"
|
||||
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
||||
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
||||
|
||||
#if __has_attribute(external_source_symbol)
|
||||
# pragma push_macro("any")
|
||||
# undef any
|
||||
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="CasinoKit",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
||||
# pragma pop_macro("any")
|
||||
#endif
|
||||
|
||||
#if defined(__OBJC__)
|
||||
|
||||
#endif
|
||||
#if __has_attribute(external_source_symbol)
|
||||
# pragma clang attribute pop
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
@ -0,0 +1,3 @@
|
||||
module CasinoKit {
|
||||
header "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/include/CasinoKit-Swift.h"
|
||||
}
|
||||
Binary file not shown.
@ -0,0 +1,89 @@
|
||||
{
|
||||
"": {
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/master.swiftdeps"
|
||||
},
|
||||
"/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/CasinoKit.swift": {
|
||||
"dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoKit.d",
|
||||
"object": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoKit.swift.o",
|
||||
"swiftmodule": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoKit~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoKit.swiftdeps",
|
||||
"diagnostics": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoKit.dia"
|
||||
},
|
||||
"/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Exports.swift": {
|
||||
"dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Exports.d",
|
||||
"object": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Exports.swift.o",
|
||||
"swiftmodule": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Exports~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Exports.swiftdeps",
|
||||
"diagnostics": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Exports.dia"
|
||||
},
|
||||
"/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Models/Card.swift": {
|
||||
"dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Card.d",
|
||||
"object": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Card.swift.o",
|
||||
"swiftmodule": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Card~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Card.swiftdeps",
|
||||
"diagnostics": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Card.dia"
|
||||
},
|
||||
"/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Models/ChipDenomination.swift": {
|
||||
"dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipDenomination.d",
|
||||
"object": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipDenomination.swift.o",
|
||||
"swiftmodule": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipDenomination~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipDenomination.swiftdeps",
|
||||
"diagnostics": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipDenomination.dia"
|
||||
},
|
||||
"/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Models/Deck.swift": {
|
||||
"dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Deck.d",
|
||||
"object": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Deck.swift.o",
|
||||
"swiftmodule": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Deck~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Deck.swiftdeps",
|
||||
"diagnostics": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Deck.dia"
|
||||
},
|
||||
"/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Theme/CasinoDesign.swift": {
|
||||
"dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoDesign.d",
|
||||
"object": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoDesign.swift.o",
|
||||
"swiftmodule": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoDesign~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoDesign.swiftdeps",
|
||||
"diagnostics": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoDesign.dia"
|
||||
},
|
||||
"/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Theme/CasinoTheme.swift": {
|
||||
"dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoTheme.d",
|
||||
"object": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoTheme.swift.o",
|
||||
"swiftmodule": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoTheme~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoTheme.swiftdeps",
|
||||
"diagnostics": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoTheme.dia"
|
||||
},
|
||||
"/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Views/Cards/CardView.swift": {
|
||||
"dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CardView.d",
|
||||
"object": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CardView.swift.o",
|
||||
"swiftmodule": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CardView~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CardView.swiftdeps",
|
||||
"diagnostics": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CardView.dia"
|
||||
},
|
||||
"/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Views/Chips/ChipSelectorView.swift": {
|
||||
"dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipSelectorView.d",
|
||||
"object": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipSelectorView.swift.o",
|
||||
"swiftmodule": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipSelectorView~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipSelectorView.swiftdeps",
|
||||
"diagnostics": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipSelectorView.dia"
|
||||
},
|
||||
"/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Views/Chips/ChipStackView.swift": {
|
||||
"dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipStackView.d",
|
||||
"object": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipStackView.swift.o",
|
||||
"swiftmodule": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipStackView~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipStackView.swiftdeps",
|
||||
"diagnostics": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipStackView.dia"
|
||||
},
|
||||
"/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Views/Chips/ChipView.swift": {
|
||||
"dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipView.d",
|
||||
"object": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipView.swift.o",
|
||||
"swiftmodule": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipView~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipView.swiftdeps",
|
||||
"diagnostics": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipView.dia"
|
||||
},
|
||||
"/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/DerivedSources/resource_bundle_accessor.swift": {
|
||||
"dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/resource_bundle_accessor.d",
|
||||
"object": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/resource_bundle_accessor.swift.o",
|
||||
"swiftmodule": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/resource_bundle_accessor~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/resource_bundle_accessor.swiftdeps",
|
||||
"diagnostics": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/resource_bundle_accessor.dia"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,12 @@
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/CasinoKit.swift
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Exports.swift
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Models/Card.swift
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Models/ChipDenomination.swift
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Models/Deck.swift
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Theme/CasinoDesign.swift
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Theme/CasinoTheme.swift
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Views/Cards/CardView.swift
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Views/Chips/ChipSelectorView.swift
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Views/Chips/ChipStackView.swift
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/Sources/CasinoKit/Views/Chips/ChipView.swift
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/DerivedSources/resource_bundle_accessor.swift
|
||||
@ -0,0 +1,4 @@
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/Modules/CasinoKitPackageTests.swiftmodule : /Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.derived/runner.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftmodule/arm64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation1.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation2.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation3.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_StringProcessing.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/Darwin.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_Builtin_float.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/Swift.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation1.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation2.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation3.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/ObjectiveC.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_StringProcessing.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/Darwin.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_Builtin_float.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/Swift.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/SwiftOnoneSupport.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_Concurrency.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/_DarwinFoundation2.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftcrossimport/Foundation.swiftoverlay
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/Modules/CasinoKitPackageTests.swiftdoc : /Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.derived/runner.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftmodule/arm64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation1.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation2.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation3.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_StringProcessing.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/Darwin.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_Builtin_float.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/Swift.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation1.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation2.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation3.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/ObjectiveC.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_StringProcessing.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/Darwin.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_Builtin_float.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/Swift.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/SwiftOnoneSupport.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_Concurrency.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/_DarwinFoundation2.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftcrossimport/Foundation.swiftoverlay
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.build/include/CasinoKitPackageTests-Swift.h : /Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.derived/runner.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftmodule/arm64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation1.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation2.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation3.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_StringProcessing.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/Darwin.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_Builtin_float.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/Swift.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation1.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation2.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation3.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/ObjectiveC.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_StringProcessing.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/Darwin.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_Builtin_float.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/Swift.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/SwiftOnoneSupport.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_Concurrency.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/_DarwinFoundation2.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftcrossimport/Foundation.swiftoverlay
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/Modules/CasinoKitPackageTests.swiftsourceinfo : /Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.derived/runner.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftmodule/arm64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation1.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation2.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation3.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_StringProcessing.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/Darwin.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_Builtin_float.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/Swift.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation1.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation2.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation3.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/ObjectiveC.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_StringProcessing.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/Darwin.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_Builtin_float.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/Swift.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/SwiftOnoneSupport.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_Concurrency.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/_DarwinFoundation2.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftcrossimport/Foundation.swiftoverlay
|
||||
Binary file not shown.
@ -0,0 +1,311 @@
|
||||
// Generated by Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
|
||||
#ifndef CASINOKITPACKAGETESTS_SWIFT_H
|
||||
#define CASINOKITPACKAGETESTS_SWIFT_H
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wgcc-compat"
|
||||
|
||||
#if !defined(__has_include)
|
||||
# define __has_include(x) 0
|
||||
#endif
|
||||
#if !defined(__has_attribute)
|
||||
# define __has_attribute(x) 0
|
||||
#endif
|
||||
#if !defined(__has_feature)
|
||||
# define __has_feature(x) 0
|
||||
#endif
|
||||
#if !defined(__has_warning)
|
||||
# define __has_warning(x) 0
|
||||
#endif
|
||||
|
||||
#if __has_include(<swift/objc-prologue.h>)
|
||||
# include <swift/objc-prologue.h>
|
||||
#endif
|
||||
|
||||
#pragma clang diagnostic ignored "-Wauto-import"
|
||||
#if defined(__OBJC__)
|
||||
#include <Foundation/Foundation.h>
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#include <cstdint>
|
||||
#include <cstddef>
|
||||
#include <cstdbool>
|
||||
#include <cstring>
|
||||
#include <stdlib.h>
|
||||
#include <new>
|
||||
#include <type_traits>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
||||
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
||||
# include <ptrauth.h>
|
||||
#else
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
||||
# ifndef __ptrauth_swift_value_witness_function_pointer
|
||||
# define __ptrauth_swift_value_witness_function_pointer(x)
|
||||
# endif
|
||||
# ifndef __ptrauth_swift_class_method_pointer
|
||||
# define __ptrauth_swift_class_method_pointer(x)
|
||||
# endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#if !defined(SWIFT_TYPEDEFS)
|
||||
# define SWIFT_TYPEDEFS 1
|
||||
# if __has_include(<uchar.h>)
|
||||
# include <uchar.h>
|
||||
# elif !defined(__cplusplus)
|
||||
typedef unsigned char char8_t;
|
||||
typedef uint_least16_t char16_t;
|
||||
typedef uint_least32_t char32_t;
|
||||
# endif
|
||||
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
||||
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
||||
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
||||
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
||||
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
||||
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
||||
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
||||
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
||||
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
||||
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
||||
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
||||
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
||||
#endif
|
||||
|
||||
#if !defined(SWIFT_PASTE)
|
||||
# define SWIFT_PASTE_HELPER(x, y) x##y
|
||||
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
||||
#endif
|
||||
#if !defined(SWIFT_METATYPE)
|
||||
# define SWIFT_METATYPE(X) Class
|
||||
#endif
|
||||
#if !defined(SWIFT_CLASS_PROPERTY)
|
||||
# if __has_feature(objc_class_property)
|
||||
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
||||
# else
|
||||
# define SWIFT_CLASS_PROPERTY(...)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_RUNTIME_NAME)
|
||||
# if __has_attribute(objc_runtime_name)
|
||||
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
||||
# else
|
||||
# define SWIFT_RUNTIME_NAME(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_COMPILE_NAME)
|
||||
# if __has_attribute(swift_name)
|
||||
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
||||
# else
|
||||
# define SWIFT_COMPILE_NAME(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_METHOD_FAMILY)
|
||||
# if __has_attribute(objc_method_family)
|
||||
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
||||
# else
|
||||
# define SWIFT_METHOD_FAMILY(X)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_NOESCAPE)
|
||||
# if __has_attribute(noescape)
|
||||
# define SWIFT_NOESCAPE __attribute__((noescape))
|
||||
# else
|
||||
# define SWIFT_NOESCAPE
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
||||
# if __has_attribute(ns_consumed)
|
||||
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
||||
# else
|
||||
# define SWIFT_RELEASES_ARGUMENT
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
||||
# if __has_attribute(warn_unused_result)
|
||||
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
||||
# else
|
||||
# define SWIFT_WARN_UNUSED_RESULT
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_NORETURN)
|
||||
# if __has_attribute(noreturn)
|
||||
# define SWIFT_NORETURN __attribute__((noreturn))
|
||||
# else
|
||||
# define SWIFT_NORETURN
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_CLASS_EXTRA)
|
||||
# define SWIFT_CLASS_EXTRA
|
||||
#endif
|
||||
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
||||
# define SWIFT_PROTOCOL_EXTRA
|
||||
#endif
|
||||
#if !defined(SWIFT_ENUM_EXTRA)
|
||||
# define SWIFT_ENUM_EXTRA
|
||||
#endif
|
||||
#if !defined(SWIFT_CLASS)
|
||||
# if __has_attribute(objc_subclassing_restricted)
|
||||
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
||||
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
||||
# else
|
||||
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
||||
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_RESILIENT_CLASS)
|
||||
# if __has_attribute(objc_class_stub)
|
||||
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
||||
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
||||
# else
|
||||
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
||||
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_PROTOCOL)
|
||||
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
||||
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
||||
#endif
|
||||
#if !defined(SWIFT_EXTENSION)
|
||||
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
||||
#endif
|
||||
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
||||
# if __has_attribute(objc_designated_initializer)
|
||||
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
||||
# else
|
||||
# define OBJC_DESIGNATED_INITIALIZER
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_ENUM_ATTR)
|
||||
# if __has_attribute(enum_extensibility)
|
||||
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
||||
# else
|
||||
# define SWIFT_ENUM_ATTR(_extensibility)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_ENUM)
|
||||
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
||||
# if __has_feature(generalized_swift_name)
|
||||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
||||
# else
|
||||
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_UNAVAILABLE)
|
||||
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
||||
#endif
|
||||
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
||||
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
||||
#endif
|
||||
#if !defined(SWIFT_AVAILABILITY)
|
||||
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
||||
#endif
|
||||
#if !defined(SWIFT_WEAK_IMPORT)
|
||||
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
||||
#endif
|
||||
#if !defined(SWIFT_DEPRECATED)
|
||||
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
||||
#endif
|
||||
#if !defined(SWIFT_DEPRECATED_MSG)
|
||||
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
||||
#endif
|
||||
#if !defined(SWIFT_DEPRECATED_OBJC)
|
||||
# if __has_feature(attribute_diagnose_if_objc)
|
||||
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
||||
# else
|
||||
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
||||
# endif
|
||||
#endif
|
||||
#if defined(__OBJC__)
|
||||
#if !defined(IBSegueAction)
|
||||
# define IBSegueAction
|
||||
#endif
|
||||
#endif
|
||||
#if !defined(SWIFT_EXTERN)
|
||||
# if defined(__cplusplus)
|
||||
# define SWIFT_EXTERN extern "C"
|
||||
# else
|
||||
# define SWIFT_EXTERN extern
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(SWIFT_CALL)
|
||||
# define SWIFT_CALL __attribute__((swiftcall))
|
||||
#endif
|
||||
#if !defined(SWIFT_INDIRECT_RESULT)
|
||||
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
||||
#endif
|
||||
#if !defined(SWIFT_CONTEXT)
|
||||
# define SWIFT_CONTEXT __attribute__((swift_context))
|
||||
#endif
|
||||
#if !defined(SWIFT_ERROR_RESULT)
|
||||
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
# define SWIFT_NOEXCEPT noexcept
|
||||
#else
|
||||
# define SWIFT_NOEXCEPT
|
||||
#endif
|
||||
#if !defined(SWIFT_C_INLINE_THUNK)
|
||||
# if __has_attribute(always_inline)
|
||||
# if __has_attribute(nodebug)
|
||||
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
||||
# else
|
||||
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
||||
# endif
|
||||
# else
|
||||
# define SWIFT_C_INLINE_THUNK inline
|
||||
# endif
|
||||
#endif
|
||||
#if defined(_WIN32)
|
||||
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
||||
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
||||
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__OBJC__)
|
||||
#if __has_feature(objc_modules)
|
||||
#if __has_warning("-Watimport-in-framework-header")
|
||||
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
||||
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
||||
#if __has_warning("-Wpragma-clang-attribute")
|
||||
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
||||
#endif
|
||||
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
||||
#pragma clang diagnostic ignored "-Wnullability"
|
||||
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
||||
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
||||
|
||||
#if __has_attribute(external_source_symbol)
|
||||
# pragma push_macro("any")
|
||||
# undef any
|
||||
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="CasinoKitPackageTests",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
||||
# pragma pop_macro("any")
|
||||
#endif
|
||||
|
||||
#if defined(__OBJC__)
|
||||
|
||||
#endif
|
||||
#if __has_attribute(external_source_symbol)
|
||||
# pragma clang attribute pop
|
||||
#endif
|
||||
#if defined(__cplusplus)
|
||||
#endif
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
@ -0,0 +1,3 @@
|
||||
module CasinoKitPackageTests {
|
||||
header "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.build/include/CasinoKitPackageTests-Swift.h"
|
||||
}
|
||||
Binary file not shown.
@ -0,0 +1,12 @@
|
||||
{
|
||||
"": {
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.build/master.swiftdeps"
|
||||
},
|
||||
"/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.derived/runner.swift": {
|
||||
"dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.build/runner.d",
|
||||
"object": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.build/runner.swift.o",
|
||||
"swiftmodule": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.build/runner~partial.swiftmodule",
|
||||
"swift-dependencies": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.build/runner.swiftdeps",
|
||||
"diagnostics": "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.build/runner.dia"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.build/runner.swift.o : /Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.derived/runner.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftmodule/arm64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation1.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation2.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_DarwinFoundation3.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_StringProcessing.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/Darwin.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_Builtin_float.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/Swift.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64e-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation1.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation2.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_DarwinFoundation3.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/ObjectiveC.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_StringProcessing.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/Darwin.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_Builtin_float.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/Swift.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/SwiftOnoneSupport.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/26.0/_Concurrency.swiftmodule/arm64e-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/_DarwinFoundation2.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/Testing.framework/Modules/Testing.swiftcrossimport/Foundation.swiftoverlay
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.derived/runner.swift
|
||||
@ -0,0 +1,547 @@
|
||||
#if canImport(Testing)
|
||||
import Testing
|
||||
#endif
|
||||
|
||||
#if false
|
||||
import Foundation
|
||||
import XCTest
|
||||
|
||||
public final class SwiftPMXCTestObserver: NSObject {
|
||||
public override init() {
|
||||
super.init()
|
||||
XCTestObservationCenter.shared.addTestObserver(self)
|
||||
}
|
||||
}
|
||||
|
||||
extension SwiftPMXCTestObserver: XCTestObservation {
|
||||
var testOutputPath: String {
|
||||
return "/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/testOutput.txt"
|
||||
}
|
||||
|
||||
private func write(record: any Encodable) {
|
||||
let lock = FileLock(at: URL(fileURLWithPath: self.testOutputPath + ".lock"))
|
||||
_ = try? lock.withLock {
|
||||
self._write(record: record)
|
||||
}
|
||||
}
|
||||
|
||||
private func _write(record: any Encodable) {
|
||||
if let data = try? JSONEncoder().encode(record) {
|
||||
if let fileHandle = FileHandle(forWritingAtPath: self.testOutputPath) {
|
||||
defer { fileHandle.closeFile() }
|
||||
fileHandle.seekToEndOfFile()
|
||||
fileHandle.write("\n".data(using: .utf8)!)
|
||||
fileHandle.write(data)
|
||||
} else {
|
||||
_ = try? data.write(to: URL(fileURLWithPath: self.testOutputPath))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public func testBundleWillStart(_ testBundle: Bundle) {
|
||||
let record = TestBundleEventRecord(bundle: .init(testBundle), event: .start)
|
||||
write(record: TestEventRecord(bundleEvent: record))
|
||||
}
|
||||
|
||||
public func testSuiteWillStart(_ testSuite: XCTestSuite) {
|
||||
let record = TestSuiteEventRecord(suite: .init(testSuite), event: .start)
|
||||
write(record: TestEventRecord(suiteEvent: record))
|
||||
}
|
||||
|
||||
public func testCaseWillStart(_ testCase: XCTestCase) {
|
||||
let record = TestCaseEventRecord(testCase: .init(testCase), event: .start)
|
||||
write(record: TestEventRecord(caseEvent: record))
|
||||
}
|
||||
|
||||
#if canImport(Darwin)
|
||||
public func testCase(_ testCase: XCTestCase, didRecord issue: XCTIssue) {
|
||||
let record = TestCaseFailureRecord(testCase: .init(testCase), issue: .init(issue), failureKind: .unexpected)
|
||||
write(record: TestEventRecord(caseFailure: record))
|
||||
}
|
||||
|
||||
public func testCase(_ testCase: XCTestCase, didRecord expectedFailure: XCTExpectedFailure) {
|
||||
let record = TestCaseFailureRecord(testCase: .init(testCase), issue: .init(expectedFailure.issue), failureKind: .expected(failureReason: expectedFailure.failureReason))
|
||||
write(record: TestEventRecord(caseFailure: record))
|
||||
}
|
||||
#else
|
||||
public func testCase(_ testCase: XCTestCase, didFailWithDescription description: String, inFile filePath: String?, atLine lineNumber: Int) {
|
||||
let issue = TestIssue(description: description, inFile: filePath, atLine: lineNumber)
|
||||
let record = TestCaseFailureRecord(testCase: .init(testCase), issue: issue, failureKind: .unexpected)
|
||||
write(record: TestEventRecord(caseFailure: record))
|
||||
}
|
||||
#endif
|
||||
|
||||
public func testCaseDidFinish(_ testCase: XCTestCase) {
|
||||
let record = TestCaseEventRecord(testCase: .init(testCase), event: .finish)
|
||||
write(record: TestEventRecord(caseEvent: record))
|
||||
}
|
||||
|
||||
#if canImport(Darwin)
|
||||
public func testSuite(_ testSuite: XCTestSuite, didRecord issue: XCTIssue) {
|
||||
let record = TestSuiteFailureRecord(suite: .init(testSuite), issue: .init(issue), failureKind: .unexpected)
|
||||
write(record: TestEventRecord(suiteFailure: record))
|
||||
}
|
||||
|
||||
public func testSuite(_ testSuite: XCTestSuite, didRecord expectedFailure: XCTExpectedFailure) {
|
||||
let record = TestSuiteFailureRecord(suite: .init(testSuite), issue: .init(expectedFailure.issue), failureKind: .expected(failureReason: expectedFailure.failureReason))
|
||||
write(record: TestEventRecord(suiteFailure: record))
|
||||
}
|
||||
#else
|
||||
public func testSuite(_ testSuite: XCTestSuite, didFailWithDescription description: String, inFile filePath: String?, atLine lineNumber: Int) {
|
||||
let issue = TestIssue(description: description, inFile: filePath, atLine: lineNumber)
|
||||
let record = TestSuiteFailureRecord(suite: .init(testSuite), issue: issue, failureKind: .unexpected)
|
||||
write(record: TestEventRecord(suiteFailure: record))
|
||||
}
|
||||
#endif
|
||||
|
||||
public func testSuiteDidFinish(_ testSuite: XCTestSuite) {
|
||||
let record = TestSuiteEventRecord(suite: .init(testSuite), event: .finish)
|
||||
write(record: TestEventRecord(suiteEvent: record))
|
||||
}
|
||||
|
||||
public func testBundleDidFinish(_ testBundle: Bundle) {
|
||||
let record = TestBundleEventRecord(bundle: .init(testBundle), event: .finish)
|
||||
write(record: TestEventRecord(bundleEvent: record))
|
||||
}
|
||||
}
|
||||
|
||||
// FIXME: Copied from `Lock.swift` in TSCBasic, would be nice if we had a better way
|
||||
|
||||
#if canImport(Glibc)
|
||||
@_exported import Glibc
|
||||
#elseif canImport(Musl)
|
||||
@_exported import Musl
|
||||
#elseif os(Windows)
|
||||
@_exported import CRT
|
||||
@_exported import WinSDK
|
||||
#elseif os(WASI)
|
||||
@_exported import WASILibc
|
||||
#elseif canImport(Android)
|
||||
@_exported import Android
|
||||
#else
|
||||
@_exported import Darwin.C
|
||||
#endif
|
||||
|
||||
import Foundation
|
||||
|
||||
public final class FileLock {
|
||||
#if os(Windows)
|
||||
private var handle: HANDLE?
|
||||
#else
|
||||
private var fileDescriptor: CInt?
|
||||
#endif
|
||||
|
||||
private let lockFile: URL
|
||||
|
||||
public init(at lockFile: URL) {
|
||||
self.lockFile = lockFile
|
||||
}
|
||||
|
||||
public func lock() throws {
|
||||
#if os(Windows)
|
||||
if handle == nil {
|
||||
let h: HANDLE = lockFile.path.withCString(encodedAs: UTF16.self, {
|
||||
CreateFileW(
|
||||
$0,
|
||||
UInt32(GENERIC_READ) | UInt32(GENERIC_WRITE),
|
||||
UInt32(FILE_SHARE_READ) | UInt32(FILE_SHARE_WRITE),
|
||||
nil,
|
||||
DWORD(OPEN_ALWAYS),
|
||||
DWORD(FILE_ATTRIBUTE_NORMAL),
|
||||
nil
|
||||
)
|
||||
})
|
||||
if h == INVALID_HANDLE_VALUE {
|
||||
throw FileSystemError(errno: Int32(GetLastError()), lockFile)
|
||||
}
|
||||
self.handle = h
|
||||
}
|
||||
var overlapped = OVERLAPPED()
|
||||
overlapped.Offset = 0
|
||||
overlapped.OffsetHigh = 0
|
||||
overlapped.hEvent = nil
|
||||
if !LockFileEx(handle, DWORD(LOCKFILE_EXCLUSIVE_LOCK), 0,
|
||||
UInt32.max, UInt32.max, &overlapped) {
|
||||
throw ProcessLockError.unableToAquireLock(errno: Int32(GetLastError()))
|
||||
}
|
||||
#elseif os(WASI)
|
||||
// WASI doesn't support flock
|
||||
#else
|
||||
if fileDescriptor == nil {
|
||||
let fd = open(lockFile.path, O_WRONLY | O_CREAT | O_CLOEXEC, 0o666)
|
||||
if fd == -1 {
|
||||
fatalError("errno: \(errno), lockFile: \(lockFile)")
|
||||
}
|
||||
self.fileDescriptor = fd
|
||||
}
|
||||
while true {
|
||||
if flock(fileDescriptor!, LOCK_EX) == 0 {
|
||||
break
|
||||
}
|
||||
if errno == EINTR { continue }
|
||||
fatalError("unable to acquire lock, errno: \(errno)")
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
public func unlock() {
|
||||
#if os(Windows)
|
||||
var overlapped = OVERLAPPED()
|
||||
overlapped.Offset = 0
|
||||
overlapped.OffsetHigh = 0
|
||||
overlapped.hEvent = nil
|
||||
UnlockFileEx(handle, 0, UInt32.max, UInt32.max, &overlapped)
|
||||
#elseif os(WASI)
|
||||
// WASI doesn't support flock
|
||||
#else
|
||||
guard let fd = fileDescriptor else { return }
|
||||
flock(fd, LOCK_UN)
|
||||
#endif
|
||||
}
|
||||
|
||||
deinit {
|
||||
#if os(Windows)
|
||||
guard let handle = handle else { return }
|
||||
CloseHandle(handle)
|
||||
#elseif os(WASI)
|
||||
// WASI doesn't support flock
|
||||
#else
|
||||
guard let fd = fileDescriptor else { return }
|
||||
close(fd)
|
||||
#endif
|
||||
}
|
||||
|
||||
public func withLock<T>(_ body: () throws -> T) throws -> T {
|
||||
try lock()
|
||||
defer { unlock() }
|
||||
return try body()
|
||||
}
|
||||
|
||||
public func withLock<T>(_ body: () async throws -> T) async throws -> T {
|
||||
try lock()
|
||||
defer { unlock() }
|
||||
return try await body()
|
||||
}
|
||||
}
|
||||
|
||||
// FIXME: Copied from `XCTEvents.swift`, would be nice if we had a better way
|
||||
|
||||
struct TestEventRecord: Codable {
|
||||
let caseFailure: TestCaseFailureRecord?
|
||||
let suiteFailure: TestSuiteFailureRecord?
|
||||
|
||||
let bundleEvent: TestBundleEventRecord?
|
||||
let suiteEvent: TestSuiteEventRecord?
|
||||
let caseEvent: TestCaseEventRecord?
|
||||
|
||||
init(
|
||||
caseFailure: TestCaseFailureRecord? = nil,
|
||||
suiteFailure: TestSuiteFailureRecord? = nil,
|
||||
bundleEvent: TestBundleEventRecord? = nil,
|
||||
suiteEvent: TestSuiteEventRecord? = nil,
|
||||
caseEvent: TestCaseEventRecord? = nil
|
||||
) {
|
||||
self.caseFailure = caseFailure
|
||||
self.suiteFailure = suiteFailure
|
||||
self.bundleEvent = bundleEvent
|
||||
self.suiteEvent = suiteEvent
|
||||
self.caseEvent = caseEvent
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Records
|
||||
|
||||
struct TestAttachment: Codable {
|
||||
let name: String?
|
||||
// TODO: Handle `userInfo: [AnyHashable : Any]?`
|
||||
let uniformTypeIdentifier: String
|
||||
let payload: Data?
|
||||
}
|
||||
|
||||
struct TestBundleEventRecord: Codable {
|
||||
let bundle: TestBundle
|
||||
let event: TestEvent
|
||||
}
|
||||
|
||||
struct TestCaseEventRecord: Codable {
|
||||
let testCase: TestCase
|
||||
let event: TestEvent
|
||||
}
|
||||
|
||||
struct TestCaseFailureRecord: Codable, CustomStringConvertible {
|
||||
let testCase: TestCase
|
||||
let issue: TestIssue
|
||||
let failureKind: TestFailureKind
|
||||
|
||||
var description: String {
|
||||
return "\(issue.sourceCodeContext.description)\(testCase) \(issue.compactDescription)"
|
||||
}
|
||||
}
|
||||
|
||||
struct TestSuiteEventRecord: Codable {
|
||||
let suite: TestSuiteRecord
|
||||
let event: TestEvent
|
||||
}
|
||||
|
||||
struct TestSuiteFailureRecord: Codable {
|
||||
let suite: TestSuiteRecord
|
||||
let issue: TestIssue
|
||||
let failureKind: TestFailureKind
|
||||
}
|
||||
|
||||
// MARK: Primitives
|
||||
|
||||
struct TestBundle: Codable {
|
||||
let bundleIdentifier: String?
|
||||
let bundlePath: String
|
||||
}
|
||||
|
||||
struct TestCase: Codable {
|
||||
let name: String
|
||||
}
|
||||
|
||||
struct TestErrorInfo: Codable {
|
||||
let description: String
|
||||
let type: String
|
||||
}
|
||||
|
||||
enum TestEvent: Codable {
|
||||
case start
|
||||
case finish
|
||||
}
|
||||
|
||||
enum TestFailureKind: Codable, Equatable {
|
||||
case unexpected
|
||||
case expected(failureReason: String?)
|
||||
|
||||
var isExpected: Bool {
|
||||
switch self {
|
||||
case .expected: return true
|
||||
case .unexpected: return false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct TestIssue: Codable {
|
||||
let type: TestIssueType
|
||||
let compactDescription: String
|
||||
let detailedDescription: String?
|
||||
let associatedError: TestErrorInfo?
|
||||
let sourceCodeContext: TestSourceCodeContext
|
||||
let attachments: [TestAttachment]
|
||||
}
|
||||
|
||||
enum TestIssueType: Codable {
|
||||
case assertionFailure
|
||||
case performanceRegression
|
||||
case system
|
||||
case thrownError
|
||||
case uncaughtException
|
||||
case unmatchedExpectedFailure
|
||||
case unknown
|
||||
}
|
||||
|
||||
struct TestLocation: Codable, CustomStringConvertible {
|
||||
let file: String
|
||||
let line: Int
|
||||
|
||||
var description: String {
|
||||
return "\(file):\(line) "
|
||||
}
|
||||
}
|
||||
|
||||
struct TestSourceCodeContext: Codable, CustomStringConvertible {
|
||||
let callStack: [TestSourceCodeFrame]
|
||||
let location: TestLocation?
|
||||
|
||||
var description: String {
|
||||
return location?.description ?? ""
|
||||
}
|
||||
}
|
||||
|
||||
struct TestSourceCodeFrame: Codable {
|
||||
let address: UInt64
|
||||
let symbolInfo: TestSourceCodeSymbolInfo?
|
||||
let symbolicationError: TestErrorInfo?
|
||||
}
|
||||
|
||||
struct TestSourceCodeSymbolInfo: Codable {
|
||||
let imageName: String
|
||||
let symbolName: String
|
||||
let location: TestLocation?
|
||||
}
|
||||
|
||||
struct TestSuiteRecord: Codable {
|
||||
let name: String
|
||||
}
|
||||
|
||||
// MARK: XCTest compatibility
|
||||
|
||||
extension TestIssue {
|
||||
init(description: String, inFile filePath: String?, atLine lineNumber: Int) {
|
||||
let location: TestLocation?
|
||||
if let filePath = filePath {
|
||||
location = .init(file: filePath, line: lineNumber)
|
||||
} else {
|
||||
location = nil
|
||||
}
|
||||
self.init(type: .assertionFailure, compactDescription: description, detailedDescription: description, associatedError: nil, sourceCodeContext: .init(callStack: [], location: location), attachments: [])
|
||||
}
|
||||
}
|
||||
|
||||
import XCTest
|
||||
|
||||
#if canImport(Darwin) // XCTAttachment is unavailable in swift-corelibs-xctest.
|
||||
extension TestAttachment {
|
||||
init(_ attachment: XCTAttachment) {
|
||||
self.init(
|
||||
name: attachment.name,
|
||||
uniformTypeIdentifier: attachment.uniformTypeIdentifier,
|
||||
payload: attachment.value(forKey: "payload") as? Data
|
||||
)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
extension TestBundle {
|
||||
init(_ testBundle: Bundle) {
|
||||
self.init(
|
||||
bundleIdentifier: testBundle.bundleIdentifier,
|
||||
bundlePath: testBundle.bundlePath
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
extension TestCase {
|
||||
init(_ testCase: XCTestCase) {
|
||||
self.init(name: testCase.name)
|
||||
}
|
||||
}
|
||||
|
||||
extension TestErrorInfo {
|
||||
init(_ error: any Swift.Error) {
|
||||
self.init(description: "\(error)", type: "\(Swift.type(of: error))")
|
||||
}
|
||||
}
|
||||
|
||||
#if canImport(Darwin) // XCTIssue is unavailable in swift-corelibs-xctest.
|
||||
extension TestIssue {
|
||||
init(_ issue: XCTIssue) {
|
||||
self.init(
|
||||
type: .init(issue.type),
|
||||
compactDescription: issue.compactDescription,
|
||||
detailedDescription: issue.detailedDescription,
|
||||
associatedError: issue.associatedError.map { .init($0) },
|
||||
sourceCodeContext: .init(issue.sourceCodeContext),
|
||||
attachments: issue.attachments.map { .init($0) }
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
extension TestIssueType {
|
||||
init(_ type: XCTIssue.IssueType) {
|
||||
switch type {
|
||||
case .assertionFailure: self = .assertionFailure
|
||||
case .thrownError: self = .thrownError
|
||||
case .uncaughtException: self = .uncaughtException
|
||||
case .performanceRegression: self = .performanceRegression
|
||||
case .system: self = .system
|
||||
case .unmatchedExpectedFailure: self = .unmatchedExpectedFailure
|
||||
@unknown default: self = .unknown
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#if canImport(Darwin) // XCTSourceCodeLocation/XCTSourceCodeContext/XCTSourceCodeFrame/XCTSourceCodeSymbolInfo is unavailable in swift-corelibs-xctest.
|
||||
extension TestLocation {
|
||||
init(_ location: XCTSourceCodeLocation) {
|
||||
self.init(
|
||||
file: location.fileURL.absoluteString,
|
||||
line: location.lineNumber
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
extension TestSourceCodeContext {
|
||||
init(_ context: XCTSourceCodeContext) {
|
||||
self.init(
|
||||
callStack: context.callStack.map { .init($0) },
|
||||
location: context.location.map { .init($0) }
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
extension TestSourceCodeFrame {
|
||||
init(_ frame: XCTSourceCodeFrame) {
|
||||
self.init(
|
||||
address: frame.address,
|
||||
symbolInfo: (try? frame.symbolInfo()).map { .init($0) },
|
||||
symbolicationError: frame.symbolicationError.map { .init($0) }
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
extension TestSourceCodeSymbolInfo {
|
||||
init(_ symbolInfo: XCTSourceCodeSymbolInfo) {
|
||||
self.init(
|
||||
imageName: symbolInfo.imageName,
|
||||
symbolName: symbolInfo.symbolName,
|
||||
location: symbolInfo.location.map { .init($0) }
|
||||
)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
extension TestSuiteRecord {
|
||||
init(_ testSuite: XCTestSuite) {
|
||||
self.init(name: testSuite.name)
|
||||
}
|
||||
}
|
||||
|
||||
import XCTest
|
||||
|
||||
#endif
|
||||
|
||||
@main
|
||||
@available(macOS 10.15, iOS 11, watchOS 4, tvOS 11, *)
|
||||
@available(*, deprecated, message: "Not actually deprecated. Marked as deprecated to allow inclusion of deprecated tests (which test deprecated functionality) without warnings")
|
||||
struct Runner {
|
||||
private static func testingLibrary() -> String {
|
||||
var iterator = CommandLine.arguments.makeIterator()
|
||||
while let argument = iterator.next() {
|
||||
if argument == "--testing-library", let libraryName = iterator.next() {
|
||||
return libraryName.lowercased()
|
||||
}
|
||||
}
|
||||
|
||||
// Fallback if not specified: run XCTest (legacy behavior)
|
||||
return "xctest"
|
||||
}
|
||||
|
||||
#if false
|
||||
@_silgen_name("$ss13_runAsyncMainyyyyYaKcF")
|
||||
private static func _runAsyncMain(_ asyncFun: @Sendable @escaping () async throws -> ())
|
||||
#endif
|
||||
|
||||
static func main() async {
|
||||
let testingLibrary = Self.testingLibrary()
|
||||
#if canImport(Testing)
|
||||
if testingLibrary == "swift-testing" {
|
||||
#if false
|
||||
_runAsyncMain {
|
||||
await Testing.__swiftPMEntryPoint() as Never
|
||||
}
|
||||
#else
|
||||
await Testing.__swiftPMEntryPoint() as Never
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#if false
|
||||
if testingLibrary == "xctest" {
|
||||
|
||||
XCTMain(__allDiscoveredTests()) as Never
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Card.swift.o
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CardView.swift.o
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoDesign.swift.o
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoKit.swift.o
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/CasinoTheme.swift.o
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipDenomination.swift.o
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipSelectorView.swift.o
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipStackView.swift.o
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/ChipView.swift.o
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Deck.swift.o
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/Exports.swift.o
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKit.build/resource_bundle_accessor.swift.o
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.build/runner.swift.o
|
||||
/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitTests.build/CasinoKitTests.swift.o
|
||||
Binary file not shown.
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.xcode.dsym.CasinoKitPackageTests</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Binary file not shown.
@ -0,0 +1,5 @@
|
||||
---
|
||||
triple: 'arm64-apple-darwin'
|
||||
binary-path: '/Users/mattbruce/Documents/Projects/iPhone/Baccarat/Baccarat/CasinoKit/.build/arm64-apple-macosx/debug/CasinoKitPackageTests.xctest/Contents/MacOS/CasinoKitPackageTests'
|
||||
relocations: []
|
||||
...
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user