Code Monkey home page Code Monkey logo

tspopover's Issues

License Question

Hello, i want use your TSPopover in my iOS paid app for App Store, i can use it for free to use?

it does not appear

In my app, I use this target like the demo's codes. But it does not appear.
Please give me some ideas

I sure that the func showPopover has worked .

ios 5.1

change color background TSActionSheet

Hello, i'm me again :), i want know how i can change the color of the TSActionSheet background, and also if i can use the stretchableImage also here...thanks!

TSActionSheet for UITableViewCell

Hi,

I want to use TSActionSheet for long press on table cell. I can handle long press;

//viewDidLoad
UILongPressGestureRecognizer *lpgr = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleLongPress:)];

lpgr.minimumPressDuration = 2.0; //seconds
lpgr.delegate = self;

[myTableView addGestureRecognizer:lpgr];
//////////////

-(void)handleLongPress:(UILongPressGestureRecognizer *)gestureRecognizer
{
if (gestureRecognizer.state != UIGestureRecognizerStateBegan)
return;

CGPoint p = [gestureRecognizer locationInView:myTableView];

NSIndexPath * indexPath = [myTableView indexPathForRowAtPoint:p];
if (indexPath == nil)
NSLog(@"long press on table view but not on a row");
else{
NSLog(@"long press on table view at row %d", indexPath.row);
//!! I want to use TSActionSheet on this line with 'islemlerClicked' function
}
}

//////////////////////

-(void)islemlerClicked : (id)sender forEvent:(UIEvent*)event{

TSActionSheet *actionSheet = [[TSActionSheet alloc] initWithTitle:@"İŞLEMLER"];

///.....
[actionSheet addButtonWithTitle:@"Yardım" block:^{
NSLog(@"Yardım button");

}];
actionSheet.cornerRadius = 5;

[actionSheet showWithTouch:event];

}

Thanks,
Elif

open TSActionSheet when select row in table view

Hello, great project, really really really great project!!! i have a question, i want display the TSActionSheet when i click on a row in a table view, so i want display it in this method:

  • (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    }

but TSActionSheet require an event, here:

[actionSheet showWithTouch:event];

how i can do?

button color iOS 4.2

i want also use this amazing project on iOS 4.2 but with the TSActionSheet i can't see the gradient for the cancel button and for the other button...i want also know if this project is compatible with iOS 4.2.1...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.