• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Design Dilemma ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Design Dilemma ...


  • Subject: Re: Design Dilemma ...
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Wed, 22 Jun 2005 10:32:06 +0200

At 15:22 Uhr -0400 21.06.2005, SA Dev wrote:
The approach I have in mind is to create an empty popup prototype at runtime and use tableView:willDisplayCell:forTableColumn:row: to swap out the available menu choices. The problem is, I think this won't work because the cell is reused for every row, I'd be changing the choices in *all* cells. So how do I do this?

That's not a problem. As the parameters indicate, willDisplayCell is called for each row. So each time a cell needs to be drawn for a row, you'll get the right menu items in its popup cell. Stop worrying and just try it. It'll Just Work(tm).
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Design Dilemma ...
      • From: SA Dev <email@hidden>
References: 
 >Design Dilemma ... (From: SA Dev <email@hidden>)

  • Prev by Date: Re: Updates from Download
  • Next by Date: Re: Updates from Download
  • Previous by thread: Design Dilemma ...
  • Next by thread: Re: Design Dilemma ...
  • Index(es):
    • Date
    • Thread