Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
4bd99d88ef
commit
42c95af9b8
BIN
Baccarat/Assets.xcassets/AppIcon.appiconset/AppIcon-1024.png
Normal file
BIN
Baccarat/Assets.xcassets/AppIcon.appiconset/AppIcon-1024.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
@ -1,6 +1,7 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "AppIcon-1024.png",
|
||||
"idiom" : "universal",
|
||||
"platform" : "ios",
|
||||
"size" : "1024x1024"
|
||||
|
||||
@ -4,14 +4,17 @@
|
||||
//
|
||||
// Created by Matt Bruce on 12/16/25.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
@main
|
||||
struct BaccaratApp: App {
|
||||
var body: some Scene {
|
||||
WindowGroup {
|
||||
ContentView()
|
||||
// #if DEBUG
|
||||
// IconGeneratorView()
|
||||
// #else
|
||||
ContentView() // your real app root
|
||||
// #endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
26
Baccarat/Info.plist
Normal file
26
Baccarat/Info.plist
Normal file
@ -0,0 +1,26 @@
|
||||
<?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>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>$(PRODUCT_NAME)</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UILaunchStoryboardName</key>
|
||||
<string>LaunchScreen</string>
|
||||
</dict>
|
||||
</plist>
|
||||
49
Baccarat/LaunchScreen 2.storyboard
Normal file
49
Baccarat/LaunchScreen 2.storyboard
Normal file
@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useSafeAreas="YES" launchScreen="YES" colorMatched="YES" initialViewController="" systemVersion="20F66" device="generic" sceneMemberID="launchScreen">
|
||||
<scenes>
|
||||
<!--View Controller-->
|
||||
<scene sceneID="launchScreenScene">
|
||||
<objects>
|
||||
<viewController id="vc" sceneMemberID="viewController">
|
||||
<view key="view" contentMode="scaleToFill" id="view">
|
||||
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
|
||||
<color key="backgroundColor" red="0.043137255" green="0.239215686" blue="0.180392157" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" translatesAutoresizingMaskIntoConstraints="NO" id="launchImageView" accessibilityIdentifier="LaunchLogoImageView" accessibilityLabel="LaunchLogoImageView">
|
||||
<rect key="frame" x="200" y="170" width="200" height="200"/>
|
||||
<color key="tintColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<image key="image" name="LaunchLogo"/>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Baccarat" textAlignment="center" lineBreakMode="tailTruncation" minimumFontSize="10" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="titleLabel">
|
||||
<rect key="frame" x="200" y="386" width="200" height="29"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="24" weight="bold"/>
|
||||
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<!-- ImageView: centerX and centerY in safe area -->
|
||||
<constraint firstItem="launchImageView" firstAttribute="centerX" secondItem="view" secondAttribute="centerX" id="img_centerX"/>
|
||||
<constraint firstItem="launchImageView" firstAttribute="centerY" secondItem="view" secondAttribute="centerY" id="img_centerY"/>
|
||||
<!-- ImageView: width <= 200 -->
|
||||
<constraint firstItem="launchImageView" firstAttribute="width" relation="lessThanOrEqual" constant="200" id="img_width_max"/>
|
||||
<!-- ImageView: height <= 200 -->
|
||||
<constraint firstItem="launchImageView" firstAttribute="height" relation="lessThanOrEqual" constant="200" id="img_height_max"/>
|
||||
<!-- ImageView: aspect ratio 1:1 -->
|
||||
<constraint firstItem="launchImageView" firstAttribute="width" secondItem="launchImageView" secondAttribute="height" multiplier="1" id="img_aspect"/>
|
||||
<!-- Title label: top spacing 16 to imageView bottom -->
|
||||
<constraint firstItem="titleLabel" firstAttribute="top" secondItem="launchImageView" secondAttribute="bottom" constant="16" id="label_top"/>
|
||||
<!-- Title label: centerX to imageView centerX -->
|
||||
<constraint firstItem="titleLabel" firstAttribute="centerX" secondItem="launchImageView" secondAttribute="centerX" id="label_centerX"/>
|
||||
<!-- Title label: leading >= 20 to view leading -->
|
||||
<constraint firstItem="titleLabel" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="view" secondAttribute="leading" constant="20" id="label_leading"/>
|
||||
<!-- Title label: trailing >= 20 to view trailing -->
|
||||
<constraint firstItem="titleLabel" firstAttribute="trailing" relation="lessThanOrEqual" secondItem="view" secondAttribute="trailing" constant="-20" id="label_trailing"/>
|
||||
</constraints>
|
||||
<viewLayoutGuide key="safeArea" id="safeArea"/>
|
||||
</view>
|
||||
</viewController>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="0" y="0"/>
|
||||
</scene>
|
||||
</scenes>
|
||||
</document>
|
||||
Loading…
Reference in New Issue
Block a user