From 86566506bb706ffeaec6e3a6e815322470a8f49f Mon Sep 17 00:00:00 2001 From: Alex Robinson Date: Fri, 16 Feb 2018 15:54:48 +0000 Subject: [PATCH] Bug fixes, Documentation fixes. (#7) --- DigiMeSDK/Core/DMEClient.h | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DigiMeSDK/Core/DMEClient.h b/DigiMeSDK/Core/DMEClient.h index 365404a43..292e5d8c5 100644 --- a/DigiMeSDK/Core/DMEClient.h +++ b/DigiMeSDK/Core/DMEClient.h @@ -42,7 +42,7 @@ /** DigiMe client delegate. This should only be set if you do not with to use DMEClientCallbacks. */ -@property (nonatomic, strong) id delegate; +@property (nonatomic, weak) id delegate; /** diff --git a/README.md b/README.md index 21ac49eb7..856ef1224 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' target 'TargetName' do -pod 'DigiMeSDK', '~> 2.0.0' +pod 'DigiMeSDK' end ``` @@ -143,7 +143,7 @@ Before you start interacting with it in your app, however - you will need to con Set the private key hex - [See above for details](#contract-private-key): ```objective-c -[DMEClient shared].privateKeyHex = privateKeyHex; +[DMEClient sharedClient].privateKeyHex = privateKeyHex; ``` @@ -625,7 +625,7 @@ to In the new delegate method `authorizeSucceeded:` you can request the fileList: ```objective-c -[[DMEClient SharedClient] getFileList]; +[[DMEClient sharedClient] getFileList]; ``` Int the new delegate method `clientRetrievedFileList:` you can iterate through `files.fileIds` and request content for each file, for example: