takashisite / tspopover Goto Github PK
View Code? Open in Web Editor NEWUIPopover like UI for iPhone
License: Other
UIPopover like UI for iPhone
License: Other
Hello, i want use your TSPopover in my iOS paid app for App Store, i can use it for free to use?
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
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!
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
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:
but TSActionSheet require an event, here:
[actionSheet showWithTouch:event];
how i can do?
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...
I have a non-ARC project but i d'like to use TSPopover in my project,
so can you help me.
thanks!
Hello, i want know if i can use this image for the button in the TSActionSheet:
Doesn't really work in landscape mode
in my view i have a navigation bar, and if i press the back button to return on the previous view the TSActionSheet remain on the view and don't dismiss...
Hello, can you insert also a UITextView to insert only text instead of only UIButton? thank you again for all your work!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.