Releases: ably/ably-cocoa
v1.0.10
Important changes include:
- RTN23a idle timeout (#638).
- Move to DISCONNECTED on unexpected WebSocket close (#655).
- Deadlock: should dispatch in the user queue when removing an observer of an EventEmitter (#640).
- Presence map should use the
memberKey
as key rather than theclientId
(#641). - Presence map shouldn't be accessible (#631).
- Carthage support (#639).
This release is compatible with Xcode 7.3, Xcode 8 and Xcode 9.
Podfile
pod 'Ably', '1.0.10'
Cartfile
github "ably/ably-ios" == 1.0.10
Objective-C
#import <Ably/Ably.h>
Swift
import Ably
v1.1.0 - Push notification support - beta v1
See https://www.ably.io/documentation/realtime/push for details on how to use Ably's native push notifications.
Installation
You can install Ably for iOS through CocoaPods, Carthage or manually.
Installing through CocoaPods (recommended)
Add this line to your application's Podfile:
# For Xcode 7.3 and newer
pod 'Ably', :git => 'https://github.com/ably/ably-ios.git', :branch => 'push'
And then install the dependency:
$ pod install
Then you can:
// On Objective-C
#import <Ably/Ably.h>
// On Swift
import Ably
Installing through Carthage
Add this line to your application's Cartfile:
# For Xcode 7.3 and newer
github "ably/ably-ios" "push"
And then run carthage update
to build the framework and drag the built Ably.framework into your Xcode project.
Manual installation
- Clone the
push
branch:git clone -b push [email protected]:ably/ably-ios.git
- Drag the directory
ably-ios/ably-ios
into your project as a group. - Ably depends on SocketRocket 0.5.1; get it from the releases page and follow its manual installation instructions.
- Ably also depends on msgpack 0.1.8; get it from the releases page and link it into your project.
1.0.9
Important changes include:
- Some network conditions that wrongly resulted in a FAILED connection now result in a temporarily DISCONNECTED connection.
- Implement Presence.get when the channel is SUSPENDED or DISCONNECTED.
This release is compatible with Xcode 7.3 and Xcode 8.
Podfile
pod 'Ably', '1.0.9'
Cartfile
github "ably/ably-ios" == 1.0.9
Objective-C
#import <Ably/Ably.h>
Swift
import Ably
1.0.8
Important changes include:
- The library is now thread-safe! Check the README to see what this means exactly.
- The old connection is reused when a reauth happens. (#622)
This release is compatible with Xcode 7.3 and Xcode 8.
Podfile
pod 'Ably', '1.0.8'
Cartfile
github "ably/ably-ios" == 1.0.8
Objective-C
#import <Ably/Ably.h>
Swift
import Ably
1.0.7
1.0.6
v1.0.5
Important changes include:
- Thread-safety improvements.
- Fixed a couple for user-after-free bugs.
This release is compatible with Xcode 7.3 and Xcode 8.
Podfile
pod 'Ably', '1.0.5'
Cartfile
github "ably/ably-ios" == 1.0.5
Objective-C
#import <Ably/Ably.h>
Swift
import Ably
v0.8.15
Important changes include:
- Thread-safety improvements.
- Fixed a couple for user-after-free bugs.
This release is compatible with Xcode 7.3 and Xcode 8.
Podfile
pod 'Ably', '0.8.15'
Cartfile
github "ably/ably-ios" == 0.8.15
Objective-C
#import <Ably/Ably.h>
Swift
import Ably