In Swabian dialect, "Schwätzle" translates to a friendly chat or conversation, while "Stüble" refers to a cozy room. A showcase of my journey in learning Swift UI and SwiftData (iOS 17 & xcode 15). This project demonstrates my skills in building a functional iOS application that interacts with a REST API, displays office room information, and incorporates various features like filtering, data display, and booking functionalities.
In this project, I have developed an iOS app that retrieves office room information from a secure REST endpoint. The app's core functionality revolves around displaying a list of office rooms, allowing users to filter by department and room type, and providing detailed information about different rooms, including booking capabilities for meeting rooms.
- The app presents a user-friendly list of office rooms, providing key details at a glance.
- Users can conveniently filter the rooms by department and type to easily find what they need.
- For rooms with additional facts, a dedicated page showcases the provided information.
- The app allows users to schedule meetings by booking available meeting rooms for specific time durations.
To run this application, you will need the following:
- Xcode 15-Beta
- iOS 17-Beta
- Internet connection to fetch room data from the API
To run this project successfully, you'll need to provide a specific URL and basic authentication information in the app.xcconfig
file.
-
Open the
Meeting/Configuration/Debug/app.xcconfig
file. -
Set the
OFFICE_URL
,BASIC_AUTH_USER
, andBASIC_AUTH_PW
variables as follows:OFFICE_URL = <URL> BASIC_AUTH_USER = <USER> BASIC_AUTH_PW = <PW>
Replace
<URL>
with the actual URL you need to connect to,<USER>
with your basic authentication username, and<PW>
with your corresponding password. -
Now, when you build and run the project, the app will use the provided URL and authentication information to communicate with the necessary resources.
For more details on the configuration settings file format and how it works, you can refer to the Xcode documentation.
- SwiftUI
- SwiftData / @Query
- Oberservation / @Observable / @Bindable
Currently, there is an issue with the CalendarView
/ DatePicker
in the detail view of a meeting room. Despite successful data binding and triggering of a new search for meetings on the selected date, there is an observed problem where the selected date does not get highlighted in the calendar interface. Several attempts to resolve this issue have been made, but unfortunately, without success. At this stage, it's worth noting that the project is in a beta setup, and this particular issue might be related to the environment.
Screen | Screen |
---|---|