Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Custom accessory view question

 
   Soft32 Home -> Mac -> Programmer Help RSS
Next:  individualDOTnet > WOW  
Author Message
LPT

External


Since: Sep 09, 2009
Posts: 4



(Msg. 1) Posted: Wed Sep 09, 2009 1:08 pm
Post subject: Custom accessory view question
Archived from groups: comp>sys>mac>programmer>help (more info?)

I'm using a custom view for my accessoryview in a UITableViewCell. I've
implemented the -(void)tableView:(UITableView *)tableView
accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath, but
when I click the accessoryview, this message is not sent. Instead the -
(void)tableView:(UITableView *)tableView
didSelectRowAtIndexPath:(NSIndexPath *)indexPath is called. All my other
tableview delegate methods are invoked as expected, so I must be missing
something. Can someone give me a hand?
TIA
Back to top
Login to vote
LPT

External


Since: Sep 09, 2009
Posts: 4



(Msg. 2) Posted: Wed Sep 09, 2009 4:26 pm
Post subject: Re: Custom accessory view question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <li7ln6-aa7.ln1 RemoveThis @Hedley.internal.thethurmans.com>,
LPT <no RemoveThis @ahha.net> wrote:

> I'm using a custom view for my accessoryview in a UITableViewCell. I've
> implemented the -(void)tableView:(UITableView *)tableView
> accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath, but
> when I click the accessoryview, this message is not sent. Instead the -
> (void)tableView:(UITableView *)tableView
> didSelectRowAtIndexPath:(NSIndexPath *)indexPath is called. All my other
> tableview delegate methods are invoked as expected, so I must be missing
> something. Can someone give me a hand?
> TIA

Nevermind, I figured it out. Apple sample has the example I needed.
https://developer.apple.com/iphone/library/samplecode/Accessory/index.htm
l
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Cocoa & custom view - Hi, In "myView" which is a custom view, drawRect is drawing a few objects at 100 pixels from the left edge o...

the scrolling map, resizing a custom view - I sure could use some more explanation of how to scroll around with a custom view and NSScrollView. Here's what I've....

interface builder, custom view layout, tags - Hi there, this is Xcode 1.5. I am new to IB, but I still remember the NeXT IB and how it worked. I have two questions:...

IOPCIDevice - Custom name? - Hi! I've just built a simple .kext driver for a PCI card. It uses DeviceID/VendorID matching, no Name matching. I can...

custom NSFormatter - I have created a NSFormatter object that will format a double vaue into an hour minute second display. So far I have....

custom control - In my Carbon app, I have a window with a bunch of buttons and other controls, and an area which I want to be a user pan...
       Soft32 Home -> Mac -> Programmer Help All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
  Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]