Re: Creating subviews programmatically ?
Re: Creating subviews programmatically ?
- Subject: Re: Creating subviews programmatically ?
- From: Ricky Sharp <email@hidden>
- Date: Mon, 26 Nov 2007 19:55:16 -0600
On Nov 26, 2007, at 7:16 PM, Scott Anguish wrote:
You may think of it as a single control with cells, but you really
don't get any advantage from abstracting the days out as cells.
You'd not re-use a day cell on its own, for example in a table or
matrix. So you're adding complexity. As a result, I don't know that
it'd be worth the extra effort.
Having separate views will make it tedious to adopt accessibility.
Especially if individual days can be interacted with. To the
accessibility framework, users will end up with 28 to 31 view
objects. Tabbing amongst them would be very tedious. If they support
full keyboard access, Tab (and Shift-Tab) would be required to
navigate amongst them. But tabbing 30 times over to go from the 1st
to the 31st would be a mess.
Compare this to a single control with multiple cells. The concept of
focus would be applied to a single cell. You can then tap into
move[Up|Down|Left|Right]: to move the selection more naturally and get
to an appropriate destination quicker.
You also gain a huge benefit in that multiple cells could be selected
at once (e.g. maybe you'd want to select an entire week, or all
Wednesdays).
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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