Skip to content

pradyutf/BookApp1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

SwiftUI Book Sharing App

This is a simple SwiftUI app that allows users to share books. Users can view a list of available books, post new books, and view detailed information about each book. The app also supports borrowing books with a specified borrowing period.

Video Demo

https://youtu.be/YpAL2MjHZKM

Features

  • Home View: Display a list of available books with details like name, author, genre, and availability status.

  • Post Book View: Post new books to the library by providing information such as book name, author, genre, and borrowing period.

  • Book Details View: View detailed information about a specific book, including the book cover, name, author, genre, and borrowing details.

  • Borrowing Popup View: Allows users to borrow a book with a specified borrowing period.

  • Profile View: Placeholder for the user's profile information.

Folder Structure

The project follows a structured organization to improve code readability and maintainability.

  • Views: Contains separate Swift files for each view in the app.

    • HomeView.swift
    • PostBookView.swift
    • BookDetailsView.swift
    • BorrowingPopupView.swift
    • ProfileView.swift
  • Model: Contains the Book struct definition.

  • Helpers: Placeholder for any helper functions or extensions (if needed).

Usage

  1. Clone the repository to your local machine.
  2. Open the project in Xcode.
  3. Run the app on a simulator or a physical device.

Feel free to explore and customize the app as needed for your own use case!

Requirements

  • Xcode
  • SwiftUI

Contribution

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages