From 72b6efc9c5733a2c69b8a5aa8596aaed41897689 Mon Sep 17 00:00:00 2001 From: Rudd Fawcett Date: Fri, 26 Dec 2014 02:13:13 -0500 Subject: [PATCH] Bumped version and updated podspec --- README.md | 14 +++++++------- RFKeyboardToolbar.podspec | 5 +++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9212f4f..7977082 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ This is a flexible UIView and UIButton subclass to add customized buttons and to ```ruby platform :ios, '7.0' -pod "RFKeyboardToolbar", "~> 1.2" +pod "RFKeyboardToolbar", "~> 1.3" ``` ### Installation without CocoaPods @@ -33,17 +33,17 @@ I've commented on the initialization below, to help you get a better understandi ```obj-c // Create a new RFToolbarButton RFToolbarButton *exampleButton = [RFToolbarButton buttonWithTitle:@"Example"]; - + // Add a button target to the exampleButton [exampleButton addEventHandler:^{ // Add any action [_textView insertText:@"You pressed a button!"]; } forControlEvents:UIControlEventTouchUpInside]; - + // Create an RFKeyboardToolbar, adding all of your buttons, and set it as your inputAcessoryView -_textView.inputAccessoryView = [RFKeyboardToolbar toolbarViewWithButtons:@[exampleButton]]; +_textView.inputAccessoryView = [RFKeyboardToolbar toolbarWithButtons:@[exampleButton]]; -// Add the UITextView/UITextField +// Add the UITextView/UITextField [self.view addSubview:_textView]; ``` @@ -55,7 +55,7 @@ Hope you enjoy it! Please Fork and send Pull Requests! ![RFKeyboardToolbarDemo](http://i.imgur.com/LvD0GqC.png) ##Contributors -- [Rudd Fawcett (@ruddfawcett)] (https://github.com/ruddfawcett) - Creator (Version 1.0) +- [Rudd Fawcett (@ruddfawcett)] (https://github.com/ruddfawcett) - Creator - [Brandon Butler (@Hackmodford)] (https://github.com/Hackmodford) - Heavy Contributor (Version 1.1) - [Jesús A. Álvarez (@zydeco)] (https://github.com/zydeco) - Contributor @@ -63,7 +63,7 @@ Hope you enjoy it! Please Fork and send Pull Requests! The MIT License (MIT) -Copyright (c) 2013 Rudd Fawcett +Copyright (c) 2015 Rudd Fawcett Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/RFKeyboardToolbar.podspec b/RFKeyboardToolbar.podspec index 8c59104..33ee8a0 100644 --- a/RFKeyboardToolbar.podspec +++ b/RFKeyboardToolbar.podspec @@ -1,13 +1,14 @@ Pod::Spec.new do |s| s.name = 'RFKeyboardToolbar' - s.version = '1.2' + s.version = '1.3' s.summary = 'A flexible UIView and UIButton subclass to add customized buttons and toolbars to your UITextFields/UITextViews.' s.homepage = 'https://github.com/ruddfawcett/RFKeyboardToolbar' s.license = 'MIT' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'Rudd Fawcett' => 'rudd.fawcett@gmail.com' } + s.social_media_url = 'https://twitter.com/ruddfawcett' s.platform = :ios, '7.0' - s.source = { :git => 'https://github.com/ruddfawcett/RFKeyboardToolbar.git', :tag => 'v1.2' } + s.source = { :git => 'https://github.com/ruddfawcett/RFKeyboardToolbar.git', :tag => 'v1.3' } s.source_files = 'RFKeyboardToolbar/*' s.requires_arc = true end