honcheng / PaperFold-for-iOS

Paper folding animation for iOS
Other
2.7k stars 398 forks source link

in didSelectRowAtIndexPath how do you know left or center table tapped? #4

Closed gordemota closed 12 years ago

honcheng commented 12 years ago

You can just compare the table e.g. You have leftTable & centerTable

-(void)tableView:(UITableView)tableView didSelectRowAtIndexPath:(NSIndexPath)indexPath { if (tableView=leftTable) { } else if (tableView==centerTable) { } }

Sent from my iPhone

On 29 Jul, 2012, at 3:32 AM, steve6125 reply@reply.github.com wrote:


Reply to this email directly or view it on GitHub: https://github.com/honcheng/PaperFold-for-iOS/issues/4

gordemota commented 12 years ago

thanks, by the way, from the example tapping the left cell table did not initiate call to didSelectRowAtIndexPath. only center table work even after setting the delegate and set row numbers

honcheng commented 12 years ago

Yeah. I did not set that up. The sample is different from the video, but it should not be difficult to replicate that.

On 29 Jul, 2012, at 8:00 AM, steve6125 reply@reply.github.com wrote:

thanks, by the way, from the example tapping the left cell table did not initiate call to didSelectRowAtIndexPath. only center table work even after setting the delegate and set row numbers


Reply to this email directly or view it on GitHub: https://github.com/honcheng/PaperFold-for-iOS/issues/4#issuecomment-7343302

gordemota commented 12 years ago

thanks