Skip to content

Installation

Tomasz K. edited this page Oct 30, 2024 · 16 revisions

Swift Package Manager

Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the Swift compiler.

Once you have your Swift package set up, adding MijickPopups as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/Mijick/Popups.git", branch(“main”))
]

Cocoapods

Cocoapods is a dependency manager for Swift and Objective-C Cocoa projects that helps to scale them elegantly.

Installation steps:

  • Install CocoaPods 1.10.0 (or later)
  • [Generate CocoaPods][generate_cocoapods] for your project
    pod init
  • Add CocoaPods dependency into your Podfile
    pod 'MijickPopups'
  • Install dependency and generate .xcworkspace file
    pod install
  • Use new Xcode project file .xcworkspace
Clone this wiki locally