https://github.com/shchoholiev/recipes-ios
Mobile app for surfing recipes. App sends requests to Web API from recipes repository to get data. Uses Swift Storyboard.
https://github.com/shchoholiev/recipes-ios
ios ios-app swift xcode
Last synced: 12 months ago
JSON representation
Mobile app for surfing recipes. App sends requests to Web API from recipes repository to get data. Uses Swift Storyboard.
- Host: GitHub
- URL: https://github.com/shchoholiev/recipes-ios
- Owner: Shchoholiev
- Created: 2022-12-06T21:44:50.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-05-04T15:19:35.000Z (about 1 year ago)
- Last Synced: 2025-05-04T16:28:09.956Z (about 1 year ago)
- Topics: ios, ios-app, swift, xcode
- Language: Swift
- Homepage:
- Size: 732 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# recipes-ios
Mobile app for browsing and searching recipes. The app retrieves data from a Web API and displays categories and recipes using Swift and Storyboards.
## Table of Contents
- [Features](#features)
- [Stack](#stack)
- [Installation](#installation)
- [Prerequisites](#prerequisites)
- [Setup Instructions](#setup-instructions)
- [Configuration](#configuration)
## Features
- Browse and search recipe categories
- Fetch and display recipes by category
- View detailed recipe information
- Pagination support for large recipe lists
- Tab‐based navigation across app sections
- Custom UITableViewCells with XIBs for categories and recipes
## Stack
- Swift 5
- UIKit
- Storyboards & XIBs
- URLSession for networking
- MVC architectural pattern
- Xcode 12+
## Installation
### Prerequisites
- macOS with Xcode 12 or later
- Swift 5.3 or later
- Internet connection to access the recipes API
### Setup Instructions
```bash
# Clone the repository
git clone https://github.com/Shchoholiev/recipes-ios.git
# Navigate into the project directory
cd recipes-ios/Recipes
# Open the Xcode project
open Recipes.xcodeproj
```
Select a simulator or device in Xcode, then build and run (⌘R).
## Configuration
If the API endpoint differs from the default, update the base URL in `ServiceBase.swift`:
```swift
// Change this base URL to point to your API endpoint if different
class ServiceBase {
let baseUrl: String
init(url: String) {
baseUrl = "https://sh-recipes-api.azurewebsites.net/api\(url)"
}
}
```