NCCU_what_to_eat is an iOS app designed to assist users in choosing a restaurant near National Chengchi University (NCCU). The app features a visually engaging spinning wheel that selects a restaurant based on user preferences.
- Spinning Wheel: An interactive wheel that randomly selects a restaurant from a list.
- Dynamic Updates: Add and remove restaurants, and the wheel updates accordingly.
- Table View: Displays a list of available restaurants.
- Add Button: Allows users to add new restaurant entries.
- Deletion: Swipe-to-delete functionality in the table view.
To get started with NCCU_what_to_eat, follow these steps:
-
Clone the repository:
git clone https://github.com/s1031432/NCCU_what_to_eat.git
-
Navigate to the project directory:
cd NCCU_what_to_eat
-
Open the project in Xcode:
open NCCU_what_to_eat.xcodeproj
-
Build and run the project in Xcode.
- Launch the App: Open the app on your iOS device or simulator.
- Interact with the Spinning Wheel: Tap the "抽" button to spin the wheel and get a restaurant suggestion.
- Add Restaurants: Tap the "新增" button to open a dialog where you can enter a new restaurant name. Confirm to add it to the list.
- Delete Restaurants: Swipe left on a restaurant entry in the table view to reveal the delete option.
- Ensure you have the latest version of Xcode installed.
- The app's appearance and functionality are optimized for devices with a standard screen size.
- UIKit: For the user interface components.
- QuartzCore: For animations and drawing the spinning wheel.
This project is licensed under the MIT License - see the LICENSE file for details.