Skip to content

Commit 7b1e4d7

Browse files
Merge pull request #21 from ConsultingMD/nikola/update-readme
Update installation section in readme
2 parents 5fcb2d0 + 81b77c1 commit 7b1e4d7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ NavigationView {
5858
Text("Button").debugScan("ButtonText")
5959
```
6060

61-
**💡 Recommended targets:**
61+
** Recommended targets:**
6262
- Screen root views
6363
- Major container views
6464
- Complex custom components
@@ -75,15 +75,19 @@ Set `SWIFTUI_DEBUG_SCAN_VERBOSE=1` for detailed diagnostics:
7575

7676
## Installation
7777

78-
**Swift Package Manager:**
78+
### Option 1: Swift Package Manager (Recommended)
7979
```swift
8080
dependencies: [
8181
.package(url: "https://github.com/ConsultingMD/swift-ui-debug-scan", from: "0.1.0")
8282
]
8383
```
84-
8584
**Xcode:** `File > Add Packages` → Enter URL above
8685

86+
### Option 2: Direct File Integration (Zero Dependencies)
87+
1. Download [`DebugScan.swift`](Sources/SwiftUIDebugScan/DebugScan.swift)
88+
2. Drag the file into your project
89+
3. Skip the `import SwiftUIDebugScan` line - start using `.debugScan()` immediately
90+
8791
## Contributing
8892

8993
Contributions welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.

0 commit comments

Comments
 (0)