CADVoteCountView 0.0.1

CADVoteCountView 0.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



  • By
  • Joan Romano

CADVoteCountView is a circular or linear shaped view where you animate the angle changes, used at Topic app to set the vote count of a post.

Usage

Install

We strongly encourage you to use Cocoapods. It's simple, just add the dependency to your Podfile:

platform :ios, '7.0'

pod 'CADVoteCountView'

And then running pod install will install the dependencies.

Finally, import the header file wherever you want to use it:

#import "CADVoteCountView.h"

And you are done!

Demo

To check the demo, first install the dependencies with Cocoapods. After that, build and run the Example project in Xcode.

Initialization

You should always instantiate the view programmatically (loading from nib not supported yet). In order to do so, usage of voteCountViewWithType: creation method is mandatory.

Refer to the header file CADVoteCountView.h for more documentation.

MIT License

Copyright (c) 2014 Joan Romano

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.