To run the example project, clone the repo, and run pod install
from the Example directory first.
-
Add
pod 'CarouselView_SwiftUI'
in Podfile -
Execute
pod install or pod update
-
Import
import CarouselView_SwiftUI
Starting from Xcode 11, the Swift Package Manager is integrated, which is very convenient to use. CarouselView_SwiftUI also supports integration via Swift Package Manager.
Select File > Swift Packages > Add Pacakage Dependency
in Xcode's menu bar, and enter in the search bar
https://github.com/jackiehu/CarouselView_SwiftUI
, you can complete the integration
CarouselView_SwiftUI also supports manual Install, just drag the CarouselView_SwiftUI folder in the Sources folder into the project that needs to be installed
jackiehu, [email protected]
CarouselView_SwiftUI is available under the MIT license. See the LICENSE file for more info.