DENKLEM (from Latin "aequare" = "to equalize") is a comprehensive native iOS application for calculating mediation fees according to Turkish law. Written from scratch with SwiftUI, the app performs calculations based on the 2025 and 2026 mediation fee tariffs.
The name "DENKLEM" reflects the concept of creating equality and balance between parties, which aligns perfectly with the essence of mediation: establishing balance and fair resolution between disputing parties.
๐ First Version Available on the App Store! Download now: DENKLEM on App Store
This entire project was developed with the support of Claude by Anthropic โ from architecture decisions to code implementation, testing strategies, and accessibility improvements.
- Faster: 60% faster calculations compared to the React Native version
- Low Memory Usage: Average memory consumption below 50MB
- Smooth Animations: Consistent 60fps performance
- Instant Launch: App startup time under 2 seconds
- Liquid Glass Design: Modern glass effects for iOS 26.0+
- Native Components: Fully SwiftUI and native iOS APIs
- Future-Ready: Optimized for iOS 26.0+
- Offline-First: Works completely offline
- Trilingual Support: Turkish, English, and Swedish (instant language switching)
- Light/Dark Mode: Automatic theme support
- Liquid Glass UI: Optional modern visual effects
- Animated Background: Optional animated sky background
- Accessibility: Full VoiceOver support
- 2025 & 2026 Official Tariffs: Based on current Turkish mediation fee tariff
- Smart Calculation Engine: Handles both monetary and non-monetary disputes
- Dual Scenario Support: Different calculations for agreement vs. non-agreement cases
- Per-Screen Tariff Selection: Each calculation screen has its own year picker (2026 selected by default)
- Intuitive Step-by-Step Flow: Guided process from start to finish
- Cable Connector System: Visual cable guides showing calculation flow paths
- Native iOS Navigation: Swipe gestures and native transitions
- Persistent Tab Bar: Quick access to home, calculations, legislation, and settings
- Trilingual: Complete Turkish, English, and Swedish localization
- Modern Native Design: Professional and user-friendly interface
- Time Calculation: Calculate mediation process durations
- Freelance Receipt (SMM): Receipt calculations with tax deductions
- Attorney Fee Calculation: Power of attorney fee calculations in mediation process
- Reinstatement Disputes: Calculations for reinstatement cases
- Serial Disputes: Special calculations for serial dispute cases
- Tenancy Disputes: Special calculations for eviction and rent determination disputes (attorney + mediation fees)
- Comprehensive Results: Detailed explanations with tax implications
- iOS 26.0+ Minimum: Optimized for latest iOS features
- Native SwiftUI: Fully developed with Swift and SwiftUI
- Offline Capability: No internet required for calculations
- Real-Time Updates: Instant calculation results
- Responsive Design: Optimized for all iPhone screen sizes
- Liquid Glass Theme: Modern glass effect styles for iOS 26.0+
- Theme Support: Automatic Light and Dark mode switching
- Consistent Components: Standard UI components throughout the app
- Customizable Colors: Theme-based color system
Application entry point:
- Mini Quiz: Quick legal knowledge survey
- Entry Button: Direct navigation to calculations screen
- Logo: App branding
Central hub for all calculation types with categorized buttons:
- General Calculation:
- ๐งฎ Mediation Fee: General mediation fee calculation
- Special Calculations:
- ๐ Tenancy Disputes: Eviction and rent determination
- ๐จโโ๏ธ Reinstatement: Reinstatement dispute cases
- ๐ข Attorney Fee: Power of attorney fee in mediation
- ๐ Serial Disputes: Serial dispute cases
- Other Calculations:
- ๐ SMM Calculation: Freelance receipt calculator
- โฐ Time Calculation: Mediation process durations
Single-screen mediation fee calculation with cable connector visual guides:
- Year Selection: Dropdown picker for 2025/2026 tariff (2026 default)
- Agreement Status: Toggle buttons (monetary disputes only)
- Dispute Type: Dropdown menu with 10 dispute types
- Cable Connectors: Visual circuit-board cables guiding users through the calculation flow
- Input Fields: Agreement amount (agreed) or party count (not agreed)
- Inline Result Card: Calculation results displayed directly on screen
- Detailed View: Tap result card to open full result sheet
Comprehensive result display (as Sheet):
- Main Fee: Calculated mediation fee
- Tax Information: Withholding tax calculations when applicable
- SMM Details: Complete SMM breakdown for professional invoicing
- TimeCalculationScreen: Calculate mediation process durations
- SmmCalculationScreen: Detailed freelance receipt calculations
- LegislationScreen: Access current mediation legislation
- SettingsScreen: Language, theme, animated background, and about information
Tab bar accessible from any screen:
- ๐ Home: Return to start screen
- ๐งฎ Calculations: Access all calculation types (general, special, and other calculators)
- ๐ Legislation: View legal legislation
- โ๏ธ Settings: Language selection (Turkish โ English โ Swedish), theme preferences (Light/Dark), animated background toggle, and about information
Below are screenshots hosted in the separate screenshots repository: Denklem Screenshots Repository
Start Screen |
Calculations Screen |
Dispute Type 1 |
Dispute Type 2 |
Result Screen |
Result Screen Light |
Attorney Fee |
Legislation |
Settings |
Images hosted in the
Denklem-SwiftUI-screenshotsrepository. Links point to raw images on GitHub.
- Calculations โ Mediation Fee โ Select year โ "Monetary" โ "Agreement" โ Select dispute type
- Follow cable connector guides โ Enter agreement amount
- View inline result card โ Tap for detailed breakdown
- Calculations โ Mediation Fee โ Select year โ "Monetary" โ "No Agreement" โ Select dispute type
- Follow cable connector guides โ Enter number of parties
- View inline result card โ Tap for detailed breakdown with SMM
- Calculations โ Mediation Fee โ Select year โ "Non-Monetary" โ Select dispute type
- Follow cable connector guides โ Enter number of parties
- View inline result card โ Tap for detailed breakdown
- Tab Bar Navigation: Always accessible home, calculations, legislation, and settings
- Cable Connector Guides: Visual flow indicators on calculation screens
- Native iOS Controls: Natural iOS transitions and gestures
- SwiftUI: Modern declarative UI framework
- Combine: Reactive programming
- iOS 26.0+: Minimum supported version
- MVVM Pattern: Model-View-ViewModel architecture
- Clean Architecture: Layered architecture structure
- Protocol-Oriented: Protocol-based design
- Liquid Glass Theme: Modern glass effect design (iOS 26+)
- Custom Components: Custom UI components
- Theme Manager: Dynamic theme management
- Localization Manager: Multi-language support
- Local Storage: Lightweight data storage with UserDefaults
- Pure Swift Calculations: Calculation engines without dependencies
- Validation Engine: Input validation system
- Current Version: 2.5.6
- Supported Years: 2025 and 2026 mediation tariffs
- Platform: iOS 26.0+ / iPadOS 26.0+
- Languages: Turkish (TR), English (EN), and Swedish (SV)
- Last Update: March 2026
- Based on: 2025 and 2026 official mediation fee tariffs
- macOS 26.0+ (a Mac with Apple M1 chip or later)
- Xcode 26.0+
- iOS 26.0+ / iPadOS 26.0+
- Git
# Clone the repository
git clone https://github.com/ozcotech/Denklem-SwiftUI.git
cd Denklem-SwiftUI
# Open with Xcode
open Denklem.xcodeproj
# Or from Xcode:
# File โ Open โ Select Denklem.xcodeproj- Open project in Xcode
- Select
Denklemas target - Choose simulator or physical device (iOS 26.0+)
- Run with Command + R
# Run test suite
Command + U (in Xcode)
# Or from terminal:
xcodebuild test -scheme Denklem -destination 'platform=iOS Simulator,name=iPhone 16 Pro'Denklem/
โโโ App/
โ โโโ DenklemApp.swift # Application entry point
โ
โโโ Models/
โ โโโ Domain/ # Business logic models
โ โโโ Data/ # Tariff data structures
โ โโโ Calculation/ # Calculation engines
โ
โโโ Views/
โ โโโ Screens/ # Screen views and ViewModels
โ โ โโโ StartScreen/
โ โ โโโ Calculations/
โ โ โโโ MediationFee/ # Unified mediation fee calculation
โ โ โโโ AttorneyFee/
โ โ โโโ Reinstatement/
โ โ โโโ SerialDisputes/
โ โ โโโ TenancySpecial/
โ โ โโโ TimeCalculation/
โ โ โโโ SMMCalculation/
โ โ โโโ Survey/
โ โ โโโ Settings/
โ โ โโโ Legislation/
โ โโโ Components/ # Reusable components
โ โโโ Modifiers/ # SwiftUI view modifiers
โ
โโโ Theme/ # Theme system
โ โโโ ThemeProtocol.swift
โ โโโ LightTheme.swift
โ โโโ DarkTheme.swift
โ โโโ LiquidGlass/ # Liquid Glass styles
โ
โโโ Localization/ # Multi-language support
โ โโโ LocalizationKeys.swift
โ โโโ LocalizationHelper.swift
โ
โโโ Localizable.xcstrings # String catalog (project root)
โ
โโโ Constants/ # Constants
โ โโโ AppConstants.swift
โ โโโ AttorneyFeeConstants.swift
โ โโโ DisputeConstants.swift
โ โโโ ReinstatementConstants.swift
โ โโโ SerialDisputesConstants.swift
โ โโโ TariffConstants.swift
โ โโโ TenancyCalculationConstants.swift
โ โโโ ValidationConstants.swift
โ
โโโ Managers/ # Managers
โ โโโ ThemeManager.swift
โ โโโ LocaleManager.swift
โ
โโโ Extensions/ # Extensions
โ โโโ Foundation/
โ โโโ SwiftUI/
โ โโโ UIKit/
โ
โโโ Resources/ # Resources
โโโ Assets.xcassets/
// Using Liquid Glass
GlassEffectContainer(spacing: theme.spacingM) {
// Content
}
.liquidGlassEffect()
.interactive() // Touch illumination// Using theme
@Environment(\.theme) var theme
Text("Title")
.font(theme.title)
.foregroundStyle(theme.textPrimary)
.padding(theme.spacingM)// Multi-language support
Text(LocalizationKeys.Home.welcome.localized)
// Dynamic language switching
LocaleManager.shared.setLanguage(.english)This project is currently managed by a single developer. Please contact for suggestions and feedback.
รzkan Cรถmert
- ๐ Denklem: https://denklem.org
This project is licensed under the MIT License.
- Apple - For SwiftUI framework and development tools
- iOS development community - For open source contributions
- GitHub - For hosting and collaboration platform
- ๐ Toggle Button Design: New toggle button pairs for mediation and attorney fee screens (replaces segmented pickers)
- ๐ Cable Connector System: Visual circuit-board cables showing calculation flow paths
- ๐ Inline Results: Calculation results now displayed directly on screen with tap-to-expand detail view
- โฟ VoiceOver Accessibility: Full VoiceOver support across all screens and shared components
- ๐ธ๐ช Swedish Localization: Added Swedish language support
- ๐ค Text Export: Share calculation results with detailed mediation fee breakdown as text file
- ๐ Tenancy Disputes (Kira Tahliye/Tespit): Special calculation module for eviction and rent determination disputes
- Attorney fee calculation with Sulh Hukuk minimum enforcement
- Mediation fee calculation with Art. 7/7 minimum enforcement
- Unified screen with segmented picker (Attorney | Mediation)
- ๐ Unified Mediation Fee Screen: Merged DisputeTypeView + InputView into single MediationFeeView
- Dropdown menu for dispute type selection (replaces 10-button grid)
- Year picker, agreement selector, and input fields in one screen
- Streamlined 2-step flow (DisputeCategoryView โ MediationFeeView)
- ๐ Survey Feature: 2-question legal mini quiz with thank you card
- โก Performance: Cached Bundle.localizedBundle, removed dead code, shared theme defaults
- ๐ข Attorney Fee Calculation: New power of attorney fee calculator added for mediation process
- ๐ Serial Dispute Calculation: New serial dispute calculator module added
- ๐จโโ๏ธ Reinstatement Disputes: New calculation module for reinstatement cases
- ๐ฑ Tab Bar Navigation Overhaul:
- Previous tabs: Home, Legislation, About, Language button
- New tabs: Home, Calculations, Legislation, Settings
- Direct entry button on home screen for faster calculations
- Language and theme preferences moved to Settings
- About section integrated into Settings
- ๐งฎ Calculations Screen Enhancement:
- General mediation fee calculations
- Special calculations category (Attorney Fee, Serial Disputes, Reinstatement)
- Other calculations category (Time Calculator, SMM Calculator)
- โก Improved User Experience: Direct access from home screen to dispute type selection for faster workflow
- โจ Completely rewritten with SwiftUI
- ๐ฏ iOS 26.0+ minimum requirement
- ๐ 2025 and 2026 tariff support
- ๐จ Liquid Glass modern design system
- ๐ Turkish and English language support
- โก Native performance optimizations
- ๐ Light/Dark mode automatic theme
- ๐ฑ Tab bar navigation system
- ๐งฎ Enhanced calculation engines
- ๐ฑ First version with React Native
- ๐ 2025 tariff support
- ๐น๐ท Turkish only
- ๐ Basic calculation features
Made with โค๏ธ in Tรผrkiye
Developed to simplify mediation processes








