A simple calculator app built with Swift for iOS. This project demonstrates basic arithmetic operations and UI implementation using UIKit.
- Perform basic arithmetic operations (+, -, *, /)
- User-friendly interface
- Responsive UI with Auto Layout
- Supports decimal numbers and sign change
- Prevents division by zero with an alert message
- Swift
- UIKit
- Design Pattern Architecture: MVC
- Auto Layout
- Stack View (Horizontal & Vertical)
- Buttons & Labels (Storyboard-based UI)
- Xcode 16.1 or later
- iOS 17.0 minimum deployment
- Swift 5+
- Number Input: Adds pressed digits to the display.
- Operations: Supports addition, subtraction, multiplication, and division.
- Equal Button: Computes the result of the current operation.
- Clear Button: Resets the calculator.
- Percentage Button: Converts the current number into a percentage.
- Sign Change Button: Toggles between positive and negative values.
- Decimal Support: Allows floating-point calculations.
- Clone the repository:
git clone https://github.com/icommunitycomtr/calculator-example-app.git
- Open the project in Xcode:
cd calculator-example-app open CalculatorExampleApp.xcodeproj - Build and run the app on a simulator or a real device.

