I'm looking for an example of how to create an animated row menu like the Facebook & twitter apps for iphone have. I see the TTTableViewController
has the showMenu:forCell:
method, but I have not been able to find any examples of how to use it. Specifically in the context of a URL Navigator selector, but any example would be great.
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- back button text does not change
- iOS (objective-c) compression_decode_buffer() retu
- Android ContextMenu for View (Not Activity)
相关文章
- 现在使用swift开发ios应用好还是swift?
- 关于Asp.net Mvc Core重写Initialize方法的问题
- Spring: controller inheritance using @Controller a
- TCC __TCCAccessRequest_block_invoke
- xcode 4 garbage collection removed?
- Unable to process app at this time due to a genera
- How can I add media attachments to my push notific
- didBeginContact:(SKPhysicsContact *)contact not in
Were you able to find an example on this.
I, too, was stuck with the same problem as you did. I couldn't find an example of using TTTableViewController showMenu:forCell: method a week ago. After messing with the code, I came up with this...
Create a subclass of TTTableViewCell and add a UIButton (as a trigger to launch the menu view) to the view.
Next, create a subclass of TTTableViewController and add custom TTTableViewCells to the data source.
In the action handler, that's where showMenu:forCell: is called. The trick is to determine which cell the button belongs to and consequently replace that cell with the menu view. This is what I did.
It's not exactly using a URL Navigator selector, but it's functional.