Your UI shouldn't be importing your data layer.
SolidLikeARock is a tiny Swift linter (built on SwiftSyntax) that enforces your architecture boundaries in CI, cross a layer you shouldn't and the build fails.
https://t.co/43AI8BjWc6
How Solid Like a Rock works under the hood:
→ Walks your Swift AST with SwiftSyntax
→ Matches your own SOLID & architecture rules
→ No compile, no execution — pure static analysis
→ Rules as structured data, not regex hacks
Your design, verifiable.
Why Swift Package Manager isn’t enough.
SPM is great at enforcing technical dependencies.
But architecture is more than dependencies.
Example:
✅ Presentation → Domain
❌ Presentation → Data
❌ FeatureA → FeatureB
These rules often reflect architectural decisions, not compiler constraints.
The code compiles.
The tests pass.
Your architecture still drifts.
That’s why I built SolidLikeARock.
It enforces architectural boundaries directly in CI.
#swiftlang
AI can generate code.
AI can write tests.
AI can even review pull requests.
But AI also learns from your existing codebase.
One architectural violation today becomes 100 violations tomorrow.
That’s why I built SolidLikeARock.
@nezbuilds i’m building Hydration tracker for iOS
Most hydration apps tell you to “drink 8 glasses a day.” That recommendation is based on a 1945 guideline that is often misinterpreted and has little scientific basis for individual hydration needs.
👇
https://t.co/C1SAV2aiGd