Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ChrisXu/CXCardView
Easy, simple and card-style overlay on screen to deliver message to users.
https://github.com/ChrisXu/CXCardView
Last synced: about 1 month ago
JSON representation
Easy, simple and card-style overlay on screen to deliver message to users.
- Host: GitHub
- URL: https://github.com/ChrisXu/CXCardView
- Owner: ChrisXu
- License: mit
- Created: 2014-05-04T08:50:39.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-09-25T22:17:10.000Z (about 2 years ago)
- Last Synced: 2024-05-20T20:44:43.966Z (7 months ago)
- Language: Objective-C
- Homepage:
- Size: 3.49 MB
- Stars: 366
- Watchers: 14
- Forks: 33
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mobile-ui - ChrisXu1221/CXCardView
README
CXCardView
==========
Version 1.0.0![Demo 1](demo1.gif)
![Demo 2](demo2.gif)
![Demo 3](demo3.gif)
## Installation
* CocoaPods add `pod 'CXCardView'`
## How to use
```Objective-C
+ (CXCardView *)showWithView:(UIView *)view draggable:(BOOL)draggable;
+ (CXCardView *)showLateWithView:(UIView *)view draggable:(BOOL)draggable;
+ (void)dismissCurrent;
``````Objective-C
- (id)initWithView:(UIView *)view;
- (void)show;
- (void)showLater;
- (void)dismiss;
```## Next
* Support custom animation## Support
* Xcode 5
* ARC## Contact
#### Chris Xu* [@GitHub](https://github.com/ChrisXu1221)
* [@Twitter](https://twitter.com/taterctl)
## License
Copyright (c) 2013 Chris Xu, Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)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.
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/ChrisXu1221/cxcardview/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/ChrisXu1221/cxcardview/trend.png)](https://bitdeli.com/free "Bitdeli Badge")