- Fix
This commit is contained in:
1 parent
b0bcfad332
commit
de4cd554f0
104 files changed
+2211
-1744
No files matched your search
Generated
+14
-13
@@ -1,13 +1,14 @@
|
||||
Bolts
|
||||
============
|
||||
[](https://travis-ci.org/BoltsFramework/Bolts-iOS)
|
||||
[](https://codecov.io/github/BoltsFramework/Bolts-iOS?branch=master)
|
||||
[](https://github.com/Carthage/Carthage)
|
||||
[](http://cocoadocs.org/docsets/Bolts/)
|
||||
[](http://cocoadocs.org/docsets/Bolts/)
|
||||
[](https://github.com/BoltsFramework/Bolts-iOS/blob/master/LICENSE)
|
||||
[](https://travis-ci.org/BoltsFramework/Bolts-ObjC)
|
||||
[](https://codecov.io/github/BoltsFramework/Bolts-ObjC?branch=master)
|
||||
[](https://cocoapods.org/pods/Bolts)
|
||||
[](https://github.com/BoltsFramework/Bolts-ObjC/blob/master/LICENSE)
|
||||
[](https://www.versioneye.com/objective-c/bolts/references)
|
||||
|
||||
[](https://cocoapods.org/pods/Bolts)
|
||||
[](https://github.com/Carthage/Carthage)
|
||||
|
||||
Bolts is a collection of low-level libraries designed to make developing mobile
|
||||
apps easier. Bolts was designed by Parse and Facebook for our own internal use,
|
||||
and we have decided to open source these libraries to make them available to
|
||||
@@ -17,7 +18,7 @@ do they require having a Parse or Facebook developer account.
|
||||
Bolts includes:
|
||||
|
||||
* "Tasks", which make organization of complex asynchronous code more manageable. A task is kind of like a JavaScript Promise, but available for iOS and Android.
|
||||
* An implementation of the [App Links protocol](http://www.applinks.org), helping you link to content in other apps and handle incoming deep-links.
|
||||
* An implementation of the [App Links protocol](http://applinks.org/), helping you link to content in other apps and handle incoming deep-links.
|
||||
|
||||
For more information, see the [Bolts iOS API Reference](http://boltsframework.github.io/docs/ios/).
|
||||
|
||||
@@ -59,7 +60,7 @@ self.saveAsync(obj).continueWithBlock {
|
||||
(task: BFTask!) -> BFTask in
|
||||
if task.isCancelled() {
|
||||
// the save was cancelled.
|
||||
} else if task.error() {
|
||||
} else if task.error != nil {
|
||||
// the save failed.
|
||||
} else {
|
||||
// the object was saved successfully.
|
||||
@@ -237,7 +238,7 @@ findAsync(query).continueWithSuccessBlock {
|
||||
return self.findAsync(query)
|
||||
}.continueWithBlock {
|
||||
(task: BFTask!) -> AnyObject! in
|
||||
if task.error() {
|
||||
if task.error != nil {
|
||||
// This error handler WILL be called.
|
||||
// The error will be the NSError returned above.
|
||||
// Let's handle the error by returning a new value.
|
||||
@@ -503,7 +504,7 @@ We are likely to add some concept like this to Bolts at some point in the future
|
||||
|
||||
# App Links
|
||||
|
||||
[App Links](http://www.applinks.org) provide a cross-platform mechanism that allows a developer to define and publish a deep-linking scheme for their content, allowing other apps to link directly to an experience optimized for the device they are running on. Whether you are building an app that receives incoming links or one that may link out to other apps' content, Bolts provides tools to simplify implementation of the [App Links protocol](http://www.applinks.org/documentation).
|
||||
[App Links](http://applinks.org/) provide a cross-platform mechanism that allows a developer to define and publish a deep-linking scheme for their content, allowing other apps to link directly to an experience optimized for the device they are running on. Whether you are building an app that receives incoming links or one that may link out to other apps' content, Bolts provides tools to simplify implementation of the [App Links protocol](http://applinks.org/documentation).
|
||||
|
||||
## Handling an App Link
|
||||
|
||||
@@ -629,7 +630,7 @@ The following code assumes that the view controller has an `openedAppLinkURL` `N
|
||||
}
|
||||
```
|
||||
|
||||
In a navigaton-controller view hierarchy, the banner should be displayed above the navigation bar, and `BFAppLinkReturnToRefererController` provides an `initForDisplayAboveNavController` method to assist with this.
|
||||
In a navigation-controller view hierarchy, the banner should be displayed above the navigation bar, and `BFAppLinkReturnToRefererController` provides an `initForDisplayAboveNavController` method to assist with this.
|
||||
|
||||
## Analytics
|
||||
|
||||
@@ -675,8 +676,8 @@ App Links Measurement Events sends additional information from App Links Intents
|
||||
|
||||
# Installation
|
||||
|
||||
You can download the latest framework files from our [Releases page](https://github.com/BoltsFramework/Bolts-iOS/releases).
|
||||
You can download the latest framework files from our [Releases page](https://github.com/BoltsFramework/Bolts-ObjC/releases).
|
||||
|
||||
Bolts is also available through [CocoaPods](http://cocoapods.org). To install it simply add the following line to your Podfile:
|
||||
Bolts is also available through [CocoaPods](https://cocoapods.org/). To install it simply add the following line to your Podfile:
|
||||
|
||||
pod 'Bolts'
|
||||
Reference in new issue
Block a user