Skip to content

Commit a869071

Browse files
Merge pull request #5 from twocentstudios/swift
v2.0 Swift & SwiftUI rewrite
2 parents 5409d38 + 9801c4a commit a869071

File tree

247 files changed

+11275
-8249
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

247 files changed

+11275
-8249
lines changed

.gitignore

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,36 @@
1+
# Xcode
2+
*.xcuserstate
3+
*.xcuserdatad/
4+
DerivedData/
5+
*.xccheckout
6+
*.moved-aside
7+
*.pbxuser
8+
!default.pbxuser
9+
*.mode1v3
10+
!default.mode1v3
11+
*.mode2v3
12+
!default.mode2v3
13+
*.perspectivev3
14+
!default.perspectivev3
15+
116
# Exclude the build directory
217
build/*
3-
18+
Build/
19+
420
# Exclude temp nibs and swap files
521
*~.nib
622
*.swp
723

824
# Exclude OS X folder attributes
925
.DS_Store
1026

11-
# Exclude user-specific XCode 3 and 4 files
12-
*.mode1
13-
*.mode1v3
14-
*.mode2v3
15-
*.perspective
16-
*.perspectivev3
17-
*.pbxuser
18-
*.xcworkspace
19-
xcuserdata
27+
# Secrets
28+
**/Secrets.swift
2029

21-
# CocoaPods
30+
# Package Manager
31+
.swiftpm/
32+
Package.resolved
2233

23-
/Pods
24-
/Design/screenshots
25-
/vinylogue/TCSVinylogueSecret.h
34+
# Other
35+
.idea/
36+
Design/screenshots/

.swiftformat

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
--acronyms ID,URL,UUID
2+
--allman false
3+
--anonymousforeach convert
4+
--assetliterals visual-width
5+
--asynccapturing
6+
--beforemarks
7+
--binarygrouping 4,8
8+
--callsiteparen default
9+
--categorymark "MARK: %c"
10+
--classthreshold 0
11+
--closingparen balanced
12+
--closurevoid remove
13+
--commas always
14+
--complexattrs preserve
15+
--computedvarattrs preserve
16+
--condassignment after-property
17+
--conflictmarkers reject
18+
--dateformat system
19+
--decimalgrouping ignore
20+
--doccomments before-declarations
21+
--elseposition same-line
22+
--emptybraces no-space
23+
--enumnamespaces always
24+
--enumthreshold 0
25+
--exponentcase lowercase
26+
--exponentgrouping disabled
27+
--extensionacl on-extension
28+
--extensionlength 0
29+
--extensionmark "MARK: - %t + %c"
30+
--fractiongrouping disabled
31+
--fragment false
32+
--funcattributes preserve
33+
--generictypes
34+
--groupblanklines true
35+
--groupedextension "MARK: %c"
36+
--guardelse auto
37+
--header ignore
38+
--hexgrouping 4,8
39+
--hexliteralcase uppercase
40+
--ifdef indent
41+
--importgrouping alpha
42+
--indent 4
43+
--indentcase false
44+
--indentstrings false
45+
--inferredtypes always
46+
--initcodernil false
47+
--inlinedforeach ignore
48+
--languagemode 0
49+
--lifecycle
50+
--lineaftermarks true
51+
--linebreaks lf
52+
--markcategories true
53+
--markextensions always
54+
--marktypes always
55+
--maxwidth none
56+
--modifierorder
57+
--nevertrailing
58+
--nilinit remove
59+
--noncomplexattrs
60+
--nospaceoperators
61+
--nowrapoperators
62+
--octalgrouping 4,8
63+
--operatorfunc spaced
64+
--organizationmode visibility
65+
--organizetypes actor,class,enum,struct
66+
--patternlet hoist
67+
--preservedecls
68+
--preservedsymbols Package
69+
--propertytypes infer-locals-only
70+
--ranges spaced
71+
--self remove
72+
--selfrequired
73+
--semicolons inline
74+
--shortoptionals except-properties
75+
--smarttabs enabled
76+
--someany true
77+
--sortedpatterns
78+
--storedvarattrs preserve
79+
--stripunusedargs always
80+
--structthreshold 0
81+
--swiftversion 6.0
82+
--tabwidth unspecified
83+
--throwcapturing
84+
--timezone system
85+
--trailingclosures
86+
--trimwhitespace always
87+
--typeattributes preserve
88+
--typeblanklines remove
89+
--typedelimiter space-after
90+
--typemark "MARK: - %t"
91+
--typemarks
92+
--typeorder
93+
--visibilitymarks
94+
--visibilityorder
95+
--voidtype void
96+
--wraparguments preserve
97+
--wrapcollections preserve
98+
--wrapconditions preserve
99+
--wrapeffects preserve
100+
--wrapenumcases always
101+
--wrapparameters default
102+
--wrapreturntype preserve
103+
--wrapternary default
104+
--wraptypealiases preserve
105+
--xcodeindentation disabled
106+
--yodaswap always
107+
--disable blankLinesBetweenScopes,redundantLet,redundantNilInit,redundantRawValues,strongOutlets,unusedArguments

CLAUDE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
- ALWAYS run xcodegen after adding/removing/renaming files IGNORING THE OUTPUT.
2+
- ALWAYS run swiftformat on all changed files before building IGNORING THE OUTPUT. If the command fails, run it again and read the error.
3+
- DO NOT run swiftformat on any files in ./DerivedData
4+
- ALWAYS build with the xcodebuild binary from the currently selected Xcode's app package.
5+
- Always build with xcodebuild with the iOS simulator.
6+
- ALWAYS build with xcodebuild with `-quiet` flag when a feature is complete. If the command returns errors you may run xcodebuild again without the `-quiet` flag.
7+
- ALWAYS run unit tests with the `-quiet` flag when a feature is complete and ensure there are no failures.
8+
- NEVER run UI tests unless I specifically request it.
9+
- NEVER look in ./DerivedData UNLESS you are looking at package documentation or trying to determine the cause of a build error.
10+
- NEVER write UI tests until you have confirmed with me that the UI is 100% correct.
11+
- ALWAYS use the iPhone 16 Pro simulator on iOS 18.5 with UUID AE8D703E-E213-443C-8CBC-742F8807CCC3 (if it is unavailable, then alert me).
12+
- ALWAYS update the CLAUDE.MD file in each directory after refactoring, adding, or deleting files.

Gemfile

Lines changed: 0 additions & 3 deletions
This file was deleted.

Gemfile.lock

Lines changed: 0 additions & 110 deletions
This file was deleted.
-3.59 KB
Binary file not shown.

Images/application/Default@2x.png

-3.06 KB
Binary file not shown.
-94.2 KB
Binary file not shown.

Images/blueButton@2x.png

-355 Bytes
Binary file not shown.

Images/leftArrow@2x.png

-481 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)