Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-25-2011, 04:28 AM   #1 (permalink)
Registered Member
 
Join Date: Sep 2010
Location: New Zealand
Posts: 49
jvpython is on a distinguished road
Send a message via Skype™ to jvpython
Default Custom cell selection

Hello,
I have custom uitableviewcells in a tableview. When a cell is selected I have implemented the touchesBegan etc method to get the location of the touch. But when these methods are overridden then the didSelectRowAtIndexPath method doesnt work. Why is that? Is there a way to have boht of them at the same time.

Thank you
jvpython is offline   Reply With Quote
Old 02-25-2011, 04:59 AM   #2 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 34
Deepthi is on a distinguished road
Default Go through the sample application once

I am attaching sample application over here .. in that both the things (touchesBegan, didSelectRowAtIndexPath) are working fine .. go through it once ..


Quote:
Originally Posted by jvpython View Post
Hello,
I have custom uitableviewcells in a tableview. When a cell is selected I have implemented the touchesBegan etc method to get the location of the touch. But when these methods are overridden then the didSelectRowAtIndexPath method doesnt work. Why is that? Is there a way to have boht of them at the same time.

Thank you
Attached Files
File Type: zip Formulaic.zip (79.1 KB, 20 views)
Deepthi is offline   Reply With Quote
Old 02-25-2011, 05:04 AM   #3 (permalink)
Registered Member
 
Join Date: Sep 2010
Location: New Zealand
Posts: 49
jvpython is on a distinguished road
Send a message via Skype™ to jvpython
Default

Thankyou for the code Ill have a look as soon as possible.
jvpython is offline   Reply With Quote
Old 02-25-2011, 05:18 AM   #4 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 34
Deepthi is on a distinguished road
Default

u r welcome .. I just forwarded the touch event on customtableviewcell to its super view and hadled it there ... and it started working ..
Deepthi is offline   Reply With Quote
Old 02-28-2011, 03:49 AM   #5 (permalink)
Registered Member
 
Join Date: Sep 2010
Location: New Zealand
Posts: 49
jvpython is on a distinguished road
Send a message via Skype™ to jvpython
Default

Hello, sorry for the late reply. Id like to thank you. that code was really somple to use and worked perfectly
jvpython is offline   Reply With Quote
Old 02-28-2011, 08:49 AM   #6 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 34
Deepthi is on a distinguished road
Default

ooo that's g8 ..
Deepthi is offline   Reply With Quote
Reply

Bookmarks

Tags
uitableview, uitableviewcell

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 369
19 members and 350 guests
Absentia, akphyo, apatsufas, BinHex, cpsclicker, dre, Error404, Gaz, gmarro, jeroenkeij, Kirkout, MarkC, mottdog, Music Man, PavelMik, teebee74, whitey99, Wikiboo
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,666
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, cpsclicker
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:16 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0