Re: UI like Transmission BT
Re: UI like Transmission BT
- Subject: Re: UI like Transmission BT
- From: Thomas Davie <email@hidden>
- Date: Thu, 28 Jul 2011 10:15:01 +0100
On 28 Jul 2011, at 09:16, Wilker wrote:
> Hi Guys,
>
> Which components of XCode 4 I should use in order to make an UI like the
> Transmission BT (http://www.transmissionbt.com/)
>
> I mean the part of downloads, one below the other, its like each download is
> a view, but I don't know how to put them one below the order, and how to
> make background color cycle. I was looking on Collection View, but after
> reading doc it don't really seems to feet for me, I just need something
> simpler, one below the other, scroll when its bigger than screen.
You have three options:
1) Restrict yourself to 10.7 and use NSTableView with NSViews instead of NSCells.
2) Code an NSCell for that – this can be pretty damn horrible as NSCells can't keep their own state internally, because they will get reused for other rows.
3) Write your own view for putting a bunch of other views one above each other.
1 is trivially easy, 3 is pretty easy, 2 is a nightmare waiting to happen and the reason that 1 exists.
Bob_______________________________________________
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