• 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: Multiple controls in a table cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple controls in a table cell


  • Subject: Re: Multiple controls in a table cell
  • From: email@hidden
  • Date: Wed, 7 May 2008 10:46:23 +0200


On 6 May 2008, at 02:17, j o a r wrote:


On May 5, 2008, at 4:46 PM, Hamish Allan wrote:

I don't remember where we got it, but if you Google
"SubviewTableViewController" or "SubviewTableViewCell" it should get you in
the right direction.

It's by Joar Wingfors:

http://joar.com/code/


On Leopard you can often use NSCollectionView or NSRuleEditor instead of that old hack... :-)

You can also create a custom cell subclass to solve this type of problem. This is a good piece of sample code to show how that works:

	<http://developer.apple.com/samplecode/PhotoSearch/>

j o a r

Joar,

I had independently experimented with a similar hack (adding row views as subviews of the Table) and was about to flesh it out until I came across your pre-baked example. Before I dive too deeply into using it, do you see any problem in using it over the custom cell subclass method? I need to support 10.4 and later so alas NSCollectionView is a no-go. I assume that you have real-world code running in real software that uses SubviewTableViewCell. Have you had any issues with it that make it risky?

Thanks

Matt Gough

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Multiple controls in a table cell
      • From: j o a r <email@hidden>
References: 
 >Multiple controls in a table cell (From: Randall Meadows <email@hidden>)
 >Re: Multiple controls in a table cell (From: Louis Sinclair <email@hidden>)
 >Re: Multiple controls in a table cell (From: "Hamish Allan" <email@hidden>)
 >Re: Multiple controls in a table cell (From: j o a r <email@hidden>)

  • Prev by Date: RE: packagemaker won't run foundation tool
  • Next by Date: Re: WebView does not expose bindings in IB 3
  • Previous by thread: Re: Multiple controls in a table cell
  • Next by thread: Re: Multiple controls in a table cell
  • Index(es):
    • Date
    • Thread