Skip to content

Commit 6424cfe

Browse files
author
Anthony Weiss
committed
Add Carthage support
- Added dynamic framework targets for OS X and iOS - Shared and added schemes to repository - Add Carthage info to README - Change Product Name to be based on Project Name rather than Target Name in order to be able to use shared umbrella header. Resolves #36
1 parent 2851fa8 commit 6424cfe

File tree

6 files changed

+1080
-1177
lines changed

6 files changed

+1080
-1177
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ profile
1717
DerivedData
1818
.idea/
1919

20-
Pods
21-
TransitionKit.xcodeproj/xcshareddata/xcschemes
20+
Pods

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ TransitionKit
44
[![Build Status](https://travis-ci.org/blakewatters/TransitionKit.png?branch=master,development)](https://travis-ci.org/blakewatters/TransitionKit)
55
![Pod Version](https://cocoapod-badges.herokuapp.com/v/TransitionKit/badge.png)
66
![Pod Platform](https://cocoapod-badges.herokuapp.com/p/TransitionKit/badge.png)
7+
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
78

89
**A simple, elegantly designed block based API for implementing State Machines in Objective-C**
910

@@ -20,7 +21,9 @@ TransitionKit is a small Cocoa library that provides an API for implementing a s
2021
* Thorougly unit tested. You know it works and can make changes with confidence.
2122
* Lightweight. TransitionKit has no dependencies beyond the Foundation library and works on iOS and Mac OS X.
2223

23-
## Installation via CocoaPods
24+
## Installation
25+
26+
### Via CocoaPods
2427

2528
The recommended approach for installing TransitionKit is via the [CocoaPods](http://cocoapods.org/) package manager, as it provides flexible dependency management and dead simple installation. For best results, it is recommended that you install via CocoaPods **>= 0.16.0** using Git **>= 1.8.0** installed via Homebrew.
2629

@@ -54,6 +57,16 @@ Open your project in Xcode from the .xcworkspace file (not the usual project fil
5457
$ open MyProject.xcworkspace
5558
```
5659

60+
### Via Carthage
61+
62+
Instructions for using Carthage can be found [here](https://github.com/Carthage/Carthage).
63+
64+
Add the following to your Cartfile:
65+
66+
```
67+
github "blakewatters/TransitionKit"
68+
```
69+
5770
## Examples
5871

5972
#### Simple Example

TransitionKit-Info.plist

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>FMWK</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>2.3</string>
19+
<key>CFBundleSignature</key>
20+
<string>????</string>
21+
<key>CFBundleVersion</key>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
23+
<key>NSPrincipalClass</key>
24+
<string></string>
25+
</dict>
26+
</plist>

0 commit comments

Comments
 (0)