-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Installation
Luke Zhao edited this page Feb 12, 2017
·
1 revision
Drag the Sources
folder into your project. (Download)
github "lkzhao/Hero"
pod "Hero"
File > New > Project
Create a Package.swift
in root directory.
import PackageDescription
let package = Package(
name: "NameOfYourPackage",
dependencies: [
.Package(url: "https://github.com/lkzhao/Hero")
]
)
Run swift package fetch
Open the Xcode Project File. File > New > Target > Cocoa Touch Framework If you don't need Obj-C support remove the <target_name>.h files in the navigator.
Go in Finder and drag & drop the sources from Packages/Hero/Sources
into your project and add it to the Hero target.
Link your Project to the Hero dependency. Select your main target and add the CocoaTouchFramework to the Linked Frameworks and Libraries in the General Tab.