Skip to content

Class to make a easily customisable Action Sheet for iOS

Notifications You must be signed in to change notification settings

thisisablock/RDActionSheet

 
 

Repository files navigation

RDActionSheet

Red Davis

Tweet me @reddavis

Email me at red@riothq.com

Hire me at http://riothq.com

Overview

This class makes it easy to create a custom UIActionSheet.

Example

Delegate code example: https://gist.github.com/2159293

Block code example: https://gist.github.com/2215684

Video: http://taylorswift.ly/FEF3

Getting Started

Copy "RDActionSheet.m" and "RDActionSheet.h" into your project.

Add QuartzCore to your project.

Create the following images and place them in the project (look at the images in this project for an example).

Sheet

  • SheetBackground.png

Buttons

  • SheetButtonDestroy.png
  • SheetButtonDestroyTouch.png
  • SheetButtonDismiss.png
  • SheetButtonDismissTouch.png
  • SheetButtonPrimary.png
  • SheetButtonPrimaryTouch.png
  • SheetButtonGeneric.png
  • SheetButtonGenericTouch.png

License

Copyright (c) Forever and ever Red Davis

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.

About

Class to make a easily customisable Action Sheet for iOS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 100.0%