diff --git a/VK-ios-sdk.podspec b/VK-ios-sdk.podspec index 86a524a9..705058e8 100644 --- a/VK-ios-sdk.podspec +++ b/VK-ios-sdk.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "VK-ios-sdk" - s.version = "1.1.3" + s.version = "1.1.4" s.summary = "Library for working with VK." s.homepage = "https://vk.com/dev/ios_sdk" s.license = 'MIT' diff --git a/VKSdk.framework/Versions/A/Headers/VKSdk.h b/VKSdk.framework/Versions/A/Headers/VKSdk.h index 575cef7d..0bc8133a 100644 --- a/VKSdk.framework/Versions/A/Headers/VKSdk.h +++ b/VKSdk.framework/Versions/A/Headers/VKSdk.h @@ -126,7 +126,10 @@ Entry point for using VK sdk. Should be initialized at application start @property(nonatomic, weak) id delegate; /// Returns a last app_id used for initializing the SDK -@property(nonatomic, readonly) NSString *currentAppId; +@property(nonatomic, readonly, copy) NSString *currentAppId; + +/// API version for making requests +@property(nonatomic, readonly, copy) NSString *apiVersion; ///------------------------------- /// @name Initialization ///------------------------------- @@ -152,7 +155,17 @@ Initialize SDK with responder for global SDK events and custom token key */ + (void)initializeWithDelegate:(id )delegate andAppId:(NSString *)appId - andCustomToken:(VKAccessToken *)token; + andCustomToken:(VKAccessToken *)token DEPRECATED_ATTRIBUTE; + +/** +Initialize SDK with responder for global SDK events +@param delegate responder for global SDK events +@param appId your application id (if you haven't, you can create standalone application here https://vk.com/editapp?act=create ) +@param apiVersion if you want to use latest API version, pass required version here +*/ ++ (void)initializeWithDelegate:(id )delegate + andAppId:(NSString *)appId + apiVersion:(NSString *)version; ///------------------------------- /// @name Authentication in VK diff --git a/VKSdk.framework/Versions/A/Headers/VKUtil.h b/VKSdk.framework/Versions/A/Headers/VKUtil.h index 9148ea6f..42675682 100644 --- a/VKSdk.framework/Versions/A/Headers/VKUtil.h +++ b/VKSdk.framework/Versions/A/Headers/VKUtil.h @@ -46,4 +46,6 @@ Breaks key=value string to dictionary + (NSNumber *)parseNumberString:(id)number; + (UIColor *)colorWithRGB:(NSInteger)rgb; + ++ (NSString *)queryStringFromParams:(NSDictionary *)params; @end diff --git a/VKSdk.framework/Versions/A/VKSdk b/VKSdk.framework/Versions/A/VKSdk index 84134a04..33c771b5 100644 Binary files a/VKSdk.framework/Versions/A/VKSdk and b/VKSdk.framework/Versions/A/VKSdk differ diff --git a/VKSdkResources.bundle/BlueBtn.png b/VKSdkResources.bundle/BlueBtn.png index 5e74f895..4af673f8 100644 Binary files a/VKSdkResources.bundle/BlueBtn.png and b/VKSdkResources.bundle/BlueBtn.png differ diff --git a/VKSdkResources.bundle/BlueBtn@2x.png b/VKSdkResources.bundle/BlueBtn@2x.png index d382611d..04e83283 100644 Binary files a/VKSdkResources.bundle/BlueBtn@2x.png and b/VKSdkResources.bundle/BlueBtn@2x.png differ diff --git a/VKSdkResources.bundle/BlueBtn@3x.png b/VKSdkResources.bundle/BlueBtn@3x.png index 30915160..26aa5f66 100644 Binary files a/VKSdkResources.bundle/BlueBtn@3x.png and b/VKSdkResources.bundle/BlueBtn@3x.png differ diff --git a/VKSdkResources.bundle/BlueBtn_pressed.png b/VKSdkResources.bundle/BlueBtn_pressed.png index f930dc06..b287e688 100644 Binary files a/VKSdkResources.bundle/BlueBtn_pressed.png and b/VKSdkResources.bundle/BlueBtn_pressed.png differ diff --git a/VKSdkResources.bundle/BlueBtn_pressed@2x.png b/VKSdkResources.bundle/BlueBtn_pressed@2x.png index c7e593cf..4fdaf750 100644 Binary files a/VKSdkResources.bundle/BlueBtn_pressed@2x.png and b/VKSdkResources.bundle/BlueBtn_pressed@2x.png differ diff --git a/VKSdkResources.bundle/BlueBtn_pressed@3x.png b/VKSdkResources.bundle/BlueBtn_pressed@3x.png index b3589021..19525ce4 100644 Binary files a/VKSdkResources.bundle/BlueBtn_pressed@3x.png and b/VKSdkResources.bundle/BlueBtn_pressed@3x.png differ diff --git a/VKSdkResources.bundle/Disclosure.png b/VKSdkResources.bundle/Disclosure.png index 8382e6d4..e7f5e4de 100644 Binary files a/VKSdkResources.bundle/Disclosure.png and b/VKSdkResources.bundle/Disclosure.png differ diff --git a/VKSdkResources.bundle/Disclosure@2x.png b/VKSdkResources.bundle/Disclosure@2x.png index 15514c2a..b863a750 100644 Binary files a/VKSdkResources.bundle/Disclosure@2x.png and b/VKSdkResources.bundle/Disclosure@2x.png differ diff --git a/VKSdkResources.bundle/Disclosure@3x.png b/VKSdkResources.bundle/Disclosure@3x.png index e9d477db..a55a4062 100644 Binary files a/VKSdkResources.bundle/Disclosure@3x.png and b/VKSdkResources.bundle/Disclosure@3x.png differ diff --git a/VKSdkResources.bundle/Info.plist b/VKSdkResources.bundle/Info.plist index 09562e37..16c930cc 100644 Binary files a/VKSdkResources.bundle/Info.plist and b/VKSdkResources.bundle/Info.plist differ diff --git a/VKSdkResources.bundle/ic_deleteattach.png b/VKSdkResources.bundle/ic_deleteattach.png index 576e0273..f767176b 100644 Binary files a/VKSdkResources.bundle/ic_deleteattach.png and b/VKSdkResources.bundle/ic_deleteattach.png differ diff --git a/VKSdkResources.bundle/ic_deleteattach@2x.png b/VKSdkResources.bundle/ic_deleteattach@2x.png index a7ed2a38..57bad4ee 100644 Binary files a/VKSdkResources.bundle/ic_deleteattach@2x.png and b/VKSdkResources.bundle/ic_deleteattach@2x.png differ diff --git a/VKSdkResources.bundle/ic_deletephoto.png b/VKSdkResources.bundle/ic_deletephoto.png index bc533ac8..8826930b 100644 Binary files a/VKSdkResources.bundle/ic_deletephoto.png and b/VKSdkResources.bundle/ic_deletephoto.png differ diff --git a/VKSdkResources.bundle/ic_deletephoto@2x.png b/VKSdkResources.bundle/ic_deletephoto@2x.png index ff13cfe3..ac648885 100644 Binary files a/VKSdkResources.bundle/ic_deletephoto@2x.png and b/VKSdkResources.bundle/ic_deletephoto@2x.png differ diff --git a/VKSdkResources.bundle/ic_vk_activity_logo.png b/VKSdkResources.bundle/ic_vk_activity_logo.png index dad3f8b1..cbc18181 100644 Binary files a/VKSdkResources.bundle/ic_vk_activity_logo.png and b/VKSdkResources.bundle/ic_vk_activity_logo.png differ diff --git a/VKSdkResources.bundle/ic_vk_activity_logo@2x.png b/VKSdkResources.bundle/ic_vk_activity_logo@2x.png index fb56c8f8..e6a282fb 100644 Binary files a/VKSdkResources.bundle/ic_vk_activity_logo@2x.png and b/VKSdkResources.bundle/ic_vk_activity_logo@2x.png differ diff --git a/VKSdkResources.bundle/ic_vk_activity_logo@2x~ipad.png b/VKSdkResources.bundle/ic_vk_activity_logo@2x~ipad.png index c8fc56e9..ba3ce28a 100644 Binary files a/VKSdkResources.bundle/ic_vk_activity_logo@2x~ipad.png and b/VKSdkResources.bundle/ic_vk_activity_logo@2x~ipad.png differ diff --git a/VKSdkResources.bundle/ic_vk_activity_logo@3x.png b/VKSdkResources.bundle/ic_vk_activity_logo@3x.png index 0799c8bf..7badbae0 100644 Binary files a/VKSdkResources.bundle/ic_vk_activity_logo@3x.png and b/VKSdkResources.bundle/ic_vk_activity_logo@3x.png differ diff --git a/VKSdkResources.bundle/ic_vk_activity_logo~ipad.png b/VKSdkResources.bundle/ic_vk_activity_logo~ipad.png index 6f11074c..c7101b14 100644 Binary files a/VKSdkResources.bundle/ic_vk_activity_logo~ipad.png and b/VKSdkResources.bundle/ic_vk_activity_logo~ipad.png differ diff --git a/VKSdkResources.bundle/ic_vk_ios7_activity_logo.png b/VKSdkResources.bundle/ic_vk_ios7_activity_logo.png index f54787bd..40b7ae9f 100644 Binary files a/VKSdkResources.bundle/ic_vk_ios7_activity_logo.png and b/VKSdkResources.bundle/ic_vk_ios7_activity_logo.png differ diff --git a/VKSdkResources.bundle/ic_vk_ios7_activity_logo@2x.png b/VKSdkResources.bundle/ic_vk_ios7_activity_logo@2x.png index cc5b0297..4d70b28f 100644 Binary files a/VKSdkResources.bundle/ic_vk_ios7_activity_logo@2x.png and b/VKSdkResources.bundle/ic_vk_ios7_activity_logo@2x.png differ diff --git a/VKSdkResources.bundle/ic_vk_ios7_activity_logo@2x~ipad.png b/VKSdkResources.bundle/ic_vk_ios7_activity_logo@2x~ipad.png index 638c3fe7..2734de3c 100644 Binary files a/VKSdkResources.bundle/ic_vk_ios7_activity_logo@2x~ipad.png and b/VKSdkResources.bundle/ic_vk_ios7_activity_logo@2x~ipad.png differ diff --git a/VKSdkResources.bundle/ic_vk_ios7_activity_logo@3x.png b/VKSdkResources.bundle/ic_vk_ios7_activity_logo@3x.png index 855cca52..06600c7d 100644 Binary files a/VKSdkResources.bundle/ic_vk_ios7_activity_logo@3x.png and b/VKSdkResources.bundle/ic_vk_ios7_activity_logo@3x.png differ diff --git a/VKSdkResources.bundle/ic_vk_ios7_activity_logo~ipad.png b/VKSdkResources.bundle/ic_vk_ios7_activity_logo~ipad.png index ba471bf5..51d15294 100644 Binary files a/VKSdkResources.bundle/ic_vk_ios7_activity_logo~ipad.png and b/VKSdkResources.bundle/ic_vk_ios7_activity_logo~ipad.png differ diff --git a/VKSdkResources.bundle/ic_vk_logo_nb.png b/VKSdkResources.bundle/ic_vk_logo_nb.png index 2aca82c4..a540131c 100644 Binary files a/VKSdkResources.bundle/ic_vk_logo_nb.png and b/VKSdkResources.bundle/ic_vk_logo_nb.png differ diff --git a/VKSdkResources.bundle/ic_vk_logo_nb@2x.png b/VKSdkResources.bundle/ic_vk_logo_nb@2x.png index 76295c27..6dda58fb 100644 Binary files a/VKSdkResources.bundle/ic_vk_logo_nb@2x.png and b/VKSdkResources.bundle/ic_vk_logo_nb@2x.png differ diff --git a/VKSdkResources.bundle/ic_vk_logo_nb@3x.png b/VKSdkResources.bundle/ic_vk_logo_nb@3x.png index 29c8adf1..cbbadbd3 100644 Binary files a/VKSdkResources.bundle/ic_vk_logo_nb@3x.png and b/VKSdkResources.bundle/ic_vk_logo_nb@3x.png differ diff --git a/VKSdkResources.bundle/img_newpostattachlink.png b/VKSdkResources.bundle/img_newpostattachlink.png index 8915dd55..230cb58a 100644 Binary files a/VKSdkResources.bundle/img_newpostattachlink.png and b/VKSdkResources.bundle/img_newpostattachlink.png differ diff --git a/VKSdkResources.bundle/img_newpostattachlink@2x.png b/VKSdkResources.bundle/img_newpostattachlink@2x.png index c8c07441..a23ccf8d 100644 Binary files a/VKSdkResources.bundle/img_newpostattachlink@2x.png and b/VKSdkResources.bundle/img_newpostattachlink@2x.png differ diff --git a/VKSdkResources.bundle/vk_settings.png b/VKSdkResources.bundle/vk_settings.png index 738996e1..e4eb9f8a 100644 Binary files a/VKSdkResources.bundle/vk_settings.png and b/VKSdkResources.bundle/vk_settings.png differ diff --git a/VKSdkResources.bundle/vk_settings@2x.png b/VKSdkResources.bundle/vk_settings@2x.png index f8e24c3b..71a13400 100644 Binary files a/VKSdkResources.bundle/vk_settings@2x.png and b/VKSdkResources.bundle/vk_settings@2x.png differ diff --git a/sdk/Source/VKSdkVersion.h b/sdk/Source/VKSdkVersion.h index 079c77bb..6506282d 100644 --- a/sdk/Source/VKSdkVersion.h +++ b/sdk/Source/VKSdkVersion.h @@ -20,5 +20,5 @@ // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#define VK_SDK_VERSION @"1.1.3" +#define VK_SDK_VERSION @"1.1.4" #define VK_SDK_API_VERSION @"5.23"