Skip to content

Commit

Permalink
Updates release version to 1.2.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan Emrich committed Apr 30, 2019
1 parent 5be3d2f commit 64a8505
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion PromisesObjC.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PromisesObjC'
s.version = '1.2.7'
s.version = '1.2.8'
s.authors = 'Google Inc.'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.homepage = 'https://github.com/google/promises'
Expand Down
2 changes: 1 addition & 1 deletion PromisesSwift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PromisesSwift'
s.version = '1.2.7'
s.version = '1.2.8'
s.authors = 'Google Inc.'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.homepage = 'https://github.com/google/promises'
Expand Down
18 changes: 10 additions & 8 deletions g3doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ In your `Package.swift` file, add `Promises` dependency to corresponding targets
let package = Package(
// ...
dependencies: [
.package(url: "https://github.com/google/promises.git", from: "1.2.7"),
.package(url: "https://github.com/google/promises.git", from: "1.2.8"),
],
// ...
)
Expand Down Expand Up @@ -443,33 +443,35 @@ Or, the module, if `CLANG_ENABLE_MODULES = YES`:
To use `Promises` for both Swift and Objective-C, add the following to your `Podfile`:

```ruby
pod 'PromisesSwift', '~> 1.2.7'
pod 'PromisesSwift'
```

To use `Promises` for Objective-C only, add the following to your `Podfile`:

```ruby
pod 'PromisesObjC', '~> 1.2.7'
pod 'PromisesObjC'
```

Also, don't forget to `use_frameworks!` in your target. Then, run `pod install`.
Also, don't forget to add `use_frameworks!` to your target. Then, run
`pod install` if installing `Promises` for the first time or `pod update` to
update to the latest version.

For Swift, import the module:

```swift
import Promises
```

For Objective-C, import the umbrella header:
For Objective-C, import the module:

```objectivec
#import <FBLPromises/FBLPromises.h>
@import FBLPromises;
```

Or, the module:
Or, the umbrella header:

```objectivec
@import FBLPromises;
#import <FBLPromises/FBLPromises.h>
```

#### Carthage
Expand Down

0 comments on commit 64a8505

Please sign in to comment.