Skip to content

adityagi02/carousel-view-swiftUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUI Carousel View

A SwiftUI carousel view for displaying a series of images with interactive navigation dots. This repository provides a step-by-step guide and code example for creating a carousel view in SwiftUI.

Features

  • Interactive carousel view with auto-scrolling capability.
  • User-friendly navigation dots for manual image selection.
  • Easily customizable to fit your app's design.
  • Clear and detailed code with comments for learning and understanding.

ezgif com-video-to-gif

Screenshot 2023-09-20 at 12 21 34 PM

Getting Started

To get started with the SwiftUI Carousel View in your Xcode project, follow these steps:

  1. Clone this repository or download the ZIP file.

  2. Open your Xcode project.

  3. Drag and drop the CarouselView.swift file into your project.

  4. Add your image assets to your project's asset catalog.

  5. Just use it !!

Customization

You can customize the SwiftUI Carousel View by modifying the code in CarouselView.swift. Here are some customization options:

Adjust the auto-scrolling interval. Change the appearance of navigation dots. Apply different animations and effects to images. Feel free to explore and adapt the code to match your app's specific requirements and design.

Contributing Contributions are welcome! If you have any ideas, enhancements, or bug fixes, please submit a pull request. For major changes, please open an issue first to discuss the proposed changes.

About

A carousel view for SwiftUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages