-
Notifications
You must be signed in to change notification settings - Fork 636
Installation
This is a guide to help developers install QuickDialog. It is intended for new developers or those who have not worked with third party libraries in the past.
This is based on the 1.0 release of QuickDialog.
The easiest way to install QD is using CocoaPods, a dependency manager for Xcode projects. To install CocoaPods (a Ruby gem), run this in Terminal (/Applications/Utilities/Terminal.app):
$ sudo gem install cocoapods
$ pod setup
In the same folder as your Xcode project, create a file called Podfile
, with no extension. You can do this from the command line by typing the following:
$ nano Podfile
This opens nano
, a simple text editor. Add this to the file:
platform :ios, '7.0'
pod 'QuickDialog', '~>1.0'
then press ctrl+x
, then y
, then <enter>
. This will save your Podfile
.
The Podfile
tells CocoaPods what libraries to install, and what versions. To actually install them, run:
$ pod install
From this point forwards, be sure to use the file MyProject.xcworkspace
instead of MyProject.xcodeproj
, as the workspace file has the dependencies inside of it.
QuickDialog is now installed! In any file, just use #import "QuickDialog.h"
to import the headers.
Check out the other articles in the wiki (listed in the sidebar on the right). The Getting Started guide is especially useful for your first project with QuickDialog.