# dimaswijanarko/kalenderpuasa-ios architecture

> Architecture diagram of the GitHub repository dimaswijanarko/kalenderpuasa-ios, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dimaswijanarko/kalenderpuasa-ios
- Repository: https://github.com/dimaswijanarko/kalenderpuasa-ios

## Overview

Kalender Puasa is an Objective-C Apple app for viewing annual Islamic fasting dates. Its user-facing workflow is to browse the calendar and fasting categories, with month selection; the README also documents next-day reminders and integration with Apple Calendar. The source excerpts expose headers rather than implementations, so the graph preserves these documented capabilities but does not infer internal call order. The README identifies Kemenag’s Indonesian Hijri calendar as the schedule’s basis.

Main entry points: [`Kalender Puasa/Model/Constant.m`](https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/Model/Constant.m) (Schedule data), [`Kalender Puasa/ViewControllers/ViewController.m`](https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/ViewControllers/ViewController.m) (Calendar view), [`Kalender Puasa/AppDelegate.m`](https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/AppDelegate.m) (App lifecycle), [`Kalender Puasa/ViewControllers/FastingViewController.m`](https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/ViewControllers/FastingViewController.m) (Fasting categories)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_calendar["Calendar browsing"]
  node_calendar_view["Calendar view<br/>[ViewController.m]"]
  node_month_picker["Month picker"]
  node_info_view["App information"]
end

subgraph group_schedule["Fasting schedule"]
  node_fasting_view["Fasting categories"]
  node_schedule_data["Schedule data<br/>[Constant.m]"]
end

subgraph group_integrations["Device integrations"]
  node_app_lifecycle["App lifecycle<br/>[AppDelegate.m]"]
  node_reminders["Next-day reminders<br/>[AppDelegate.m]"]
  node_calendar_sync["Calendar integration<br/>[AppDelegate.m]"]
end

node_user(("App user"))
node_apple_notifications["Apple notifications"]
node_apple_calendar["Apple Calendar"]
node_kemenag["Kemenag calendar data"]

node_user -->|"browses"| node_calendar_view
node_calendar_view -.->|"selects month"| node_month_picker
node_user -->|"views categories"| node_fasting_view
node_schedule_data -.->|"supplies schedule"| node_calendar_view
node_schedule_data -.->|"supplies dates"| node_fasting_view
node_kemenag -->|"informs dates"| node_schedule_data
node_app_lifecycle -.->|"prepares"| node_reminders
node_reminders -->|"schedules reminders"| node_apple_notifications
node_app_lifecycle -.->|"prepares"| node_calendar_sync
node_calendar_sync -->|"integrates events"| node_apple_calendar
node_user -.->|"views information"| node_info_view

click node_calendar_view "https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/ViewControllers/ViewController.m"
click node_month_picker "https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/ViewControllers/MonthPickerViewController.m"
click node_fasting_view "https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/ViewControllers/FastingViewController.m"
click node_schedule_data "https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/Model/Constant.m"
click node_app_lifecycle "https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/AppDelegate.m"
click node_reminders "https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/AppDelegate.m"
click node_calendar_sync "https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/AppDelegate.m"
click node_info_view "https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/ViewControllers/InfoViewController.m"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_calendar_view,node_month_picker,node_info_view,node_user toneBlue
class node_fasting_view,node_schedule_data toneAmber
class node_app_lifecycle,node_reminders,node_calendar_sync toneMint
class node_apple_notifications,node_apple_calendar,node_kemenag toneIndigo
```

## Components

### Calendar browsing

- [Calendar view](https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/ViewControllers/ViewController.m): `Kalender Puasa/ViewControllers/ViewController.m`
- [Month picker](https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/ViewControllers/MonthPickerViewController.m): `Kalender Puasa/ViewControllers/MonthPickerViewController.m`
- [App information](https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/ViewControllers/InfoViewController.m): `Kalender Puasa/ViewControllers/InfoViewController.m`

### Fasting schedule

- [Fasting categories](https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/ViewControllers/FastingViewController.m): `Kalender Puasa/ViewControllers/FastingViewController.m`
- [Schedule data](https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/Model/Constant.m): `Kalender Puasa/Model/Constant.m`

### Device integrations

- [App lifecycle](https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/AppDelegate.m): `Kalender Puasa/AppDelegate.m`
- [Next-day reminders](https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/AppDelegate.m): `Kalender Puasa/AppDelegate.m`
- [Calendar integration](https://github.com/dimaswijanarko/kalenderpuasa-ios/blob/master/Kalender%20Puasa/AppDelegate.m): `Kalender Puasa/AppDelegate.m`

### Other components

- **App user**
- **Apple notifications**
- **Apple Calendar**
- **Kemenag calendar data**

## Connections

- App user → Calendar view: browses (evidence: `README.md`)
- Calendar view → Month picker: selects month
- App user → Fasting categories: views categories (evidence: `README.md`)
- Schedule data → Calendar view: supplies schedule
- Schedule data → Fasting categories: supplies dates
- Kemenag calendar data → Schedule data: informs dates (evidence: `README.md`)
- App lifecycle → Next-day reminders: prepares
- Next-day reminders → Apple notifications: schedules reminders (evidence: `README.md`)
- App lifecycle → Calendar integration: prepares
- Calendar integration → Apple Calendar: integrates events (evidence: `README.md`)
- App user → App information: views information
