FROM : j o a r
DATE : Fri Jun 27 18:05:17 2008
On Jun 27, 2008, at 8:55 AM, Sebastian Nowicki wrote:
> I've been trying to find some documentation as to how to do this,
> and as far as I can tell I'm supposed to subclass NSCell and somehow
> draw both labels. I'm completely new to creating views and such, and
> I'm unable to find any good sample code as how to do it. The layout
> I want looks something like this:
>
> +---------------+
> | | Foobar
> | (Image) |
> | | Some description that can be quite
> long, but should never
> | | exceed the height of the image...
> +--------------+
>
> I hope that doesn't come out too mangled, but you get the picture.
> I'm mostly worried about the two text fields, since the image could
> probably go in a separate column.
>
> How do I go about this?
This is a good piece of sample code to show how to create a complex
custom cell subclass:
<http://developer.apple.com/samplecode/PhotoSearch/>
j o a r
DATE : Fri Jun 27 18:05:17 2008
On Jun 27, 2008, at 8:55 AM, Sebastian Nowicki wrote:
> I've been trying to find some documentation as to how to do this,
> and as far as I can tell I'm supposed to subclass NSCell and somehow
> draw both labels. I'm completely new to creating views and such, and
> I'm unable to find any good sample code as how to do it. The layout
> I want looks something like this:
>
> +---------------+
> | | Foobar
> | (Image) |
> | | Some description that can be quite
> long, but should never
> | | exceed the height of the image...
> +--------------+
>
> I hope that doesn't come out too mangled, but you get the picture.
> I'm mostly worried about the two text fields, since the image could
> probably go in a separate column.
>
> How do I go about this?
This is a good piece of sample code to show how to create a complex
custom cell subclass:
<http://developer.apple.com/samplecode/PhotoSearch/>
j o a r
| Related mails | Author | Date |
|---|---|---|
| Sebastian Nowicki | Jun 27, 17:55 | |
| j o a r | Jun 27, 18:05 | |
| Sebastian Nowicki | Jun 27, 20:57 | |
| Sebastian Nowicki | Jun 28, 07:39 | |
| Sebastian Nowicki | Jun 28, 09:40 |






Cocoa mail archive

