Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Commit

Permalink
updated supporting versions and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Arthur committed Oct 13, 2014
1 parent 18a6181 commit fa6ee04
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions ObjectiveDDP.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|
s.name = 'ObjectiveDDP'
s.platform = 'ios', '7.0'
s.version = '0.1.7'
s.platform = 'ios', '7.1'
s.version = '0.1.8'
s.license = 'MIT'
s.summary = 'Facilitates communication between iOS clients and meteor.js servers'
s.homepage = 'https://github.com/boundsj/ObjectiveDDP.git'
s.author = 'Jesse Bounds'
s.source = { :git => 'https://github.com/cerupcat/ObjectiveDDP.git', :tag => 'v0.1.6' }
s.source = { :git => 'https://github.com/boundsj/ObjectiveDDP.git', :tag => 'v0.1.8' }
s.source_files = 'ObjectiveDDP/*.{h,m,c}'
s.requires_arc = true
s.dependency 'SocketRocket', '0.3.1-beta2'
Expand Down
4 changes: 2 additions & 2 deletions ObjectiveDDP.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "ObjectiveDDP/ObjectiveDDP-Prefix.pch";
HEADER_SEARCH_PATHS = "${PODS_HEADERS_SEARCH_PATHS}";
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
IPHONEOS_DEPLOYMENT_TARGET = 7.1;
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"\\\"$(SDKROOT)/usr/lib/system\\\"",
Expand All @@ -531,7 +531,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "ObjectiveDDP/ObjectiveDDP-Prefix.pch";
HEADER_SEARCH_PATHS = "${PODS_HEADERS_SEARCH_PATHS}";
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
IPHONEOS_DEPLOYMENT_TARGET = 7.1;
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"\\\"$(SDKROOT)/usr/lib/system\\\"",
Expand Down
1 change: 1 addition & 0 deletions ObjectiveDDP/MeteorClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ typedef void(^MeteorClientMethodCallback)(NSDictionary *response, NSError *error

// In flux; use "pre1" for meteor versions up to v0.8.0.1
// use "pre2" for meteor versions v0.8.1.1 and above (until they change it again)
// use "1" for meteor versions v0.8.9 and above
- (id)initWithDDPVersion:(NSString *)ddpVersion;

#pragma mark - Methods
Expand Down
4 changes: 2 additions & 2 deletions ObjectiveDDP/MeteorClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ - (id)initWithDDPVersion:(NSString *)ddpVersion {
_ddpVersion = ddpVersion;
_maxRetryIncrement = MeteorClientMaxRetryIncrease;
_tries = MeteorClientRetryIncreaseBy;
if ([ddpVersion isEqualToString:@"pre2"]) {
_supportedVersions = @[@"pre2", @"pre1"];
if ([ddpVersion isEqualToString:@"1"]) {
_supportedVersions = @[@"1", @"pre2"];
} else {
_supportedVersions = @[@"pre2", @"pre1"];
}
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ compatible with meteor 0.8.2 and above. Please update your meteor server
as soon as possible.
```

Connect your iOS applications written in Objective-C to server applications that communicate with the [DDP protocol created by Meteor](https://github.com/meteor/meteor/blob/devel/packages/livedata/DDP.md) and, if required by your server, authenticate with it.
Connect your iOS applications written in Objective-C to server applications that communicate with the [DDP protocol created by Meteor](https://github.com/meteor/meteor/blob/devel/packages/ddp/DDP.md) and, if required by your server, authenticate with it.

What's Inside
-------------

ObjectiveDDP should run well with iOS projects using ARC and iOS 7.0 or above. __**Check out the [example application](https://github.com/boundsj/ObjectiveDDP/wiki/Example-Application) and the [project wiki](https://github.com/boundsj/ObjectiveDDP/wiki) for more information.**__ Here is a sneak peak:
ObjectiveDDP should run well with iOS projects using ARC and iOS 7.1 or above. __**Check out the [example application](https://github.com/boundsj/ObjectiveDDP/wiki/Example-Application) and the [project wiki](https://github.com/boundsj/ObjectiveDDP/wiki) for more information.**__ Here is a sneak peak:

##### Integrate it with your project using CocoaPods:

```
pod 'ObjectiveDDP', '~> 0.1.6'
pod 'ObjectiveDDP', '~> 0.1.8'
```
For more information about this, check out [Linking and Building](https://github.com/boundsj/ObjectiveDDP/wiki/Linking-and-using-ObjectiveDDP) in the wiki.

Expand Down Expand Up @@ -73,7 +73,7 @@ or with both
```
##### Logon using bcrypt authentication:
##### Logon using authentication:
```objective-c
[self.meteor logonWithUsername:self.username.text password:self.password.text responseCallback:^(NSDictionary *response, NSError *error) {
Expand Down Expand Up @@ -171,9 +171,9 @@ MeteorClientConnectionReadyNotification - When the server responds as accepting
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reportConnectionReady) name:MeteorClientConnectionReadyNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reportDisconnection) name:MeteorClientDidDisconnectNotification object:nil];
```


License
--------------
**[MIT]**
Expand Down

0 comments on commit fa6ee04

Please sign in to comment.