This is a journaling app that allows users to record their daily weather observations and experiences. Users can add, edit, and delete entries, including details such as city, temperature, and weather rating. The app provides a clean and intuitive user interface for managing and reviewing weather entries.
- Add new weather entries: Users can add new weather entries by providing the city name, temperature, and rating.
- Edit existing entries: Users can edit the details of an existing weather entry, including the city, temperature, and rating.
- Delete entries: Users can delete unwanted weather entries.
- Sorting: Entries are sorted chronologically based on the date of creation.
- Context Menu: Long-pressing an entry or using the context menu provides options to edit or delete the entry.
- Dark Mode Support: The app is designed to work seamlessly with both light and dark appearances.
Swift: The app is developed using the Swift programming language, which is the primary language for iOS app development. SwiftUI: The user interface is built using SwiftUI, Apple's modern declarative framework for building user interfaces across all Apple platforms. Core Data: Core Data is used for data persistence, allowing weather entries to be stored and managed efficiently. Xcode: Xcode is the integrated development environment (IDE) used for building, testing, and debugging the app.
To run the app on your local machine, follow these steps:
Ensure you have Xcode installed on your Mac. Clone this repository or download the source code files. Open the weather-journal.xcodeproj file in Xcode. Build and run the app using the iOS Simulator or a connected physical device.
Xcode 12 or later Swift 5.3 or later iOS 14 or later
![Screenshot 2023-07-20 at 16 41 50](https://private-user-images.githubusercontent.com/112573508/254920254-568dba81-315a-4022-a814-2a905dd9ed1f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTM5MzM1NzQsIm5iZiI6MTcxMzkzMzI3NCwicGF0aCI6Ii8xMTI1NzM1MDgvMjU0OTIwMjU0LTU2OGRiYTgxLTMxNWEtNDAyMi1hODE0LTJhOTA1ZGQ5ZWQxZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNDI0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3Jlc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MCJ9.xfPAVf5QShBEiPXzDaVK4GStRAiKVSFDIMcgEUrbA_I)
![Screenshot 2023-07-20 at 16 43 14](https://private-user-images.githubusercontent.com/112573508/254920575-bad35dae-7910-4344-acd4-bae87e996eca.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTM5MzM1NzQsIm5iZiI6MTcxMzkzMzI3NCwicGF0aCI6Ii8xMTI1NzM1MDgvMjU0OTIwNTc1LWJhZDM1ZGFlLTc5MTAtNDM0NC1hY2Q0LWJhZTg3ZTk5NmVjYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNDI0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDQyNFQwNDM0MzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04YWU3ZDZlMGFiZGFiNjZhYWRlMzAxNmM2ZjlmZWFhZWIwMGMyMmNjNjVmNzZhY2U4MTI5ZTdlMDNkZDFkYWFkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.FBfPkXc84yEnGzKZtaU6cOqpwTIVJANtlaXR7cCISl4)
![Screenshot 2023-07-20 at 16 44 38](https://private-user-images.githubusercontent.com/112573508/254920624-bbbad9e7-876b-4e87-ae5f-62cf71463eb3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHA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