Skip to content

Commit

Permalink
3.0.10 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Cobbe committed Apr 4, 2017
1 parent ea24e83 commit aba2cc3
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 18 deletions.
2 changes: 1 addition & 1 deletion ObjectiveDropboxOfficial.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'ObjectiveDropboxOfficial'
s.version = '3.0.9'
s.version = '3.0.10'
s.summary = 'Dropbox Objective C SDK for APIv2'
s.homepage = 'https://dropbox.com/developers/'
s.license = 'MIT'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ brew install carthage

```
# ObjectiveDropboxOfficial
github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 3.0.9
github "https://github.com/dropbox/dropbox-sdk-obj-c" ~> 3.0.10
```

Then, run the following command to checkout and build the Dropbox Objective-C SDK repository:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.0.9</string>
<string>3.0.10</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
///
/// @return Structured data parsed from the supplied url.
///
- (DBOpenWithInfo * _Nullable)openWithInfoFromURL:(NSURL * _Nonnull)url;
+ (DBOpenWithInfo * _Nullable)openWithInfoFromURL:(NSURL * _Nonnull)url;

///
/// Determines whether an official Dropbox app is installed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ - (BOOL)isRequiredDropboxAppInstalled {
return [self db_canOpenScheme:kDropboxScheme] || [self db_canOpenScheme:kDropboxEMMScheme];
}

- (id)getQueryItemValueFromName:(NSString *)name queryItems:(NSArray<NSURLQueryItem *> *)queryItems {
+ (id)getQueryItemValueFromName:(NSString *)name queryItems:(NSArray<NSURLQueryItem *> *)queryItems {
__block NSObject *result = nil;
[queryItems enumerateObjectsUsingBlock:^(NSURLQueryItem *obj, NSUInteger idx, BOOL *stop) {
#pragma unused(idx)
Expand Down Expand Up @@ -128,7 +128,7 @@ + (NSDateFormatter *)dateFormatter {
return dateFormatter;
}

- (DBOpenWithInfo *)openWithInfoFromURL:(NSURL *)url {
+ (DBOpenWithInfo *)openWithInfoFromURL:(NSURL *)url {
DBOpenWithInfo *openWithInfo = nil;
if (url) {
NSURLComponents *urlComponents = [[NSURLComponents alloc] initWithURL:url resolvingAgainstBaseURL:YES];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.0.9</string>
<string>3.0.10</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#import "DBSDKConstants.h"

NSString *const kV2SDKVersion = @"3.0.9";
NSString *const kV2SDKVersion = @"3.0.10";
NSString *const kV2SDKDefaultUserAgentPrefix = @"OfficialDropboxObjCSDKv2";
NSString *const kForegroundSessionId = @"com.dropbox.dropbox_sdk_obj_c_foreground";
NSString *const kBackgroundSessionId = @"com.dropbox.dropbox_sdk_obj_c_background";
11 changes: 1 addition & 10 deletions TestObjectiveDropbox/TestObjectiveDropbox_iOS/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,7 @@ - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
[urlData setObject:unEscapedValue forKey:[kv objectAtIndex:0]];
}

DBOpenWithInfo *openWithInfo = [[DBOpenWithInfo alloc] initWithUserId:urlData[@"uid"]
rev:urlData[@"rev"]
path:urlData[@"path"]
modifiedTime:urlData[@"modifiedTime"]
readOnly:[urlData[@"readOnly"] boolValue]
verb:urlData[@"verb"]
sessionId:urlData[@"sessionId"]
fileId:nil
fileData:nil
sourceApp:urlData[@"sourceApp"]];
DBOpenWithInfo *openWithInfo = [DBOfficialAppConnector openWithInfoFromURL:url];
[mainController setOpenWithInfoNSURL:openWithInfo];
}
[mainController checkButtons];
Expand Down

0 comments on commit aba2cc3

Please sign in to comment.