All Projects → tezpark → TezActionSheet

tezpark / TezActionSheet

Licence: MIT license
Custom singleton actionSheet with block completion.

Programming Languages

objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to TezActionSheet

AlertKit
🚨 SwiftUI alerts (and action sheets) done right
Stars: ✭ 60 (+233.33%)
Mutual labels:  actionsheet
LGApplications
个人小demo集合:①ActionSheet; ②PickerView; ③ScrollView嵌套; ④渐变文字Label; ⑤tableView实现单选;
Stars: ✭ 36 (+100%)
Mutual labels:  actionsheet
react-native-custom-actionsheet
📜 Cross platform custom ActionSheet
Stars: ✭ 47 (+161.11%)
Mutual labels:  custom-actionsheet
ImageActionSheet
iOS Native style action sheet like in Whatsapp with the option of showing icons. It is a complete implementation and does not use any private api of UIKit.
Stars: ✭ 20 (+11.11%)
Mutual labels:  actionsheet
Kotlin-Singleton-Example
Example of creating Singletons with Kotlin with some MVVM architecture
Stars: ✭ 47 (+161.11%)
Mutual labels:  singleton
SheetyColors
An action sheet styled color picker for iOS.
Stars: ✭ 101 (+461.11%)
Mutual labels:  actionsheet
CWActionSheet
模仿微信ActionSheet
Stars: ✭ 47 (+161.11%)
Mutual labels:  actionsheet
actionsheet-android
iPad-style ActionSheet for Android
Stars: ✭ 21 (+16.67%)
Mutual labels:  actionsheet
TezAlertView
Custom singleton alertView with block completion.
Stars: ✭ 17 (-5.56%)
Mutual labels:  singleton
patterns
Good practices to create code in Java, open to other languages. ⚡
Stars: ✭ 14 (-22.22%)
Mutual labels:  singleton
vue2-dialog
A mobile Vue plugin for VueDialog
Stars: ✭ 21 (+16.67%)
Mutual labels:  actionsheet
cache-all
Fast, efficient cache engines for both express routes & native nodeJs (redis, in-memory & file cache)
Stars: ✭ 22 (+22.22%)
Mutual labels:  singleton
react-native-general-actionsheet
ActionSheet api on iOS and Android same as ActionSheetIOS.
Stars: ✭ 23 (+27.78%)
Mutual labels:  actionsheet
BowieCode
Personal Code/Snippet Library for Unity 3D
Stars: ✭ 23 (+27.78%)
Mutual labels:  singleton
dotnet-design-patterns-samples
The samples of .NET design patterns
Stars: ✭ 25 (+38.89%)
Mutual labels:  singleton
AppFacadeMVC
AppFacade For PureMVC
Stars: ✭ 13 (-27.78%)
Mutual labels:  singleton
ActionSheet
Android中的ActionSheet(仿IOS ui界面)
Stars: ✭ 17 (-5.56%)
Mutual labels:  actionsheet
hookleton
globalize your React Hooks without fear using the Hookleton Pattern
Stars: ✭ 39 (+116.67%)
Mutual labels:  singleton
react-native-wxui
A UI package for React Native
Stars: ✭ 21 (+16.67%)
Mutual labels:  actionsheet
tsdi
Dependency Injection container (IoC) for TypeScript
Stars: ✭ 50 (+177.78%)
Mutual labels:  singleton

GitHub platform GitHub language GitHub license

TezActionSheet

Custom singleton actionSheet with block completion.

  • Simple custom actionSheet.
  • Using completion block and singleton.

ScreenShot

ios simulator screen shot 2015 5 31 9 22 47

Todo

  • Add
    • setting the button color function
  • Remove
    • 'NSString+TezSize' category class
    • 'UIImage+TezStretch' category class  * image files

Usage

[[TezActionSheet sharedInstance] showActionSheetWithSelectButtonTitles:@[@"Button 1", @"Button 2", @"Button3"]
                                                     cancelButtonTitle:@"Cancel"
                                                           selectBlock:^(NSInteger index) {
                                                               NSLog(@"selcted button index : %ld", (long)index);
                                                           }
                                                           cancelBlock:^{
                                                               NSLog(@"cancel");
                                                           }
                                                       enableAnimation:YES];

License

The MIT License (MIT)

Copyright (c) 2015 Taesun Park

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].