Skip to content

Installation

Alina P edited this page Dec 11, 2024 · 4 revisions

Podążaj za białym królikiem.

Installation

Swift Package Manager

  1. Select File ⭢ Add Package Dependencies. Enter https://github.com/Mijick/Timer.git in the "Choose Package Repository" dialog.
  2. In the next page, specify the version resolving rule as "Up to Next Major" with 2.0.0 as its earliest version.
  3. After Xcode checking out the source and resolving the version, you can choose the MijickTimer framework and add it to your app target.
screenshot

CocoaPods

CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. You can install it with the following command:

$ sudo gem install cocoapods

Once installed, specify MijickPopups to a target in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '12.0'
use_frameworks!

target 'MyApp' do
  # your other pod
  # ...
  pod 'MijickTimer', '~> 2.0.0'
end

Then, run the following command:

$ pod install

After installation, use the newly generated Xcode project file with the .xcworkspace extension.