From bcb5062f8cd444ae5b9adb898e28d37c03ebffcd Mon Sep 17 00:00:00 2001 From: David Date: Mon, 6 Jul 2015 09:00:24 -0700 Subject: [PATCH] Update README --- DLRadioButton.podspec.json | 4 ++-- .../DLRadioButtonExample-Info.plist | 2 +- LICENSE | 19 +++++++++++++++++++ README.md | 12 ++++-------- 4 files changed, 26 insertions(+), 11 deletions(-) create mode 100644 LICENSE diff --git a/DLRadioButton.podspec.json b/DLRadioButton.podspec.json index 18eaf72..ba4e7af 100644 --- a/DLRadioButton.podspec.json +++ b/DLRadioButton.podspec.json @@ -1,6 +1,6 @@ { "name": "DLRadioButton", - "version": "1.3.0", + "version": "1.3.1", "summary": "A highly customizable Radio Button for iOS", "description": "A highly customizable Radio Button for iOS.\n\n* Buttons are drew by UIBezierPath, customize it however you want.\n* You can also use pictures to indicate buttons' selection state.\n", "homepage": "https://github.com/DavydLiu/DLRadioButton", @@ -17,7 +17,7 @@ }, "source": { "git": "https://github.com/DavydLiu/DLRadioButton.git", - "tag": "1.3.0" + "tag": "1.3.1" }, "source_files": "DLRadioButton/**/*.{h,m}", "exclude_files": "Classes/Exclude", diff --git a/DLRadioButtonExample/DLRadioButtonExample/DLRadioButtonExample-Info.plist b/DLRadioButtonExample/DLRadioButtonExample/DLRadioButtonExample-Info.plist index e7cb884..4f98614 100644 --- a/DLRadioButtonExample/DLRadioButtonExample/DLRadioButtonExample-Info.plist +++ b/DLRadioButtonExample/DLRadioButtonExample/DLRadioButtonExample-Info.plist @@ -9,7 +9,7 @@ CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier - com.liuxingruo.${PRODUCT_NAME} + com.liuxingruo.$(PRODUCT_NAME) CFBundleInfoDictionaryVersion 6.0 CFBundleName diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8c2b4c3 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2014 Xingruo Liu + +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 the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER 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. diff --git a/README.md b/README.md index b5e32af..2c57c2d 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,9 @@ ## Usage +####To install: +* Put `DLRadioButton.h` and `DLRadiobutton.m` in your project, or add `Pod DLRadioButton` to your Podfile. + ####To add radio buttons in interface builder: 1. Put some UIButtons onto a View and change the UIButtons' type to "custom". @@ -38,14 +41,7 @@ ## Requirements -ARC - -## - -DLRadioButton is available through [CocoaPods](http://cocoapods.org). To install -it, simply add the following line to your Podfile: - - pod "DLRadioButton" +ARC, iOS 6.0 ## Author