Re: Paging UITableView
Re: Paging UITableView
- Subject: Re: Paging UITableView
- From: Roland King <email@hidden>
- Date: Sun, 19 Feb 2012 13:35:23 +0800
Indeed in the documentation about nesting UIScrollViews it says ...
Cross-directional scrolling is the term used when a scroll view that is a subview of another scroll view scrolls at a 90 degree angle as shown in the right image in Figure 6-1.
An example of cross directional scrolling can be found in the Stocks application. The top view is a table view, but the bottom view is a horizontal scroll view configured using paging mode. While two of its three subviews are custom views, the third view (that contains the news articles) is a UITableView (a subclass of UIScrollView) that is a subview of the horizontal scroll view. After you scroll horizontally to the news view, you can then scroll its contents vertically.
On Feb 19, 2012, at 1:09 PM, Luke Hiesterman wrote:
> Who/what told you that table views can't be in scroll views? It wouldn't play nicely with swipe to delete, but iOS generally supports nested scroll views (and a table view is just a special scroll view).
>
> Luke
>
> On Feb 18, 2012, at 8:58 PM, "R" <email@hidden> wrote:
>
>> I understand that one is not suppose to embed a UITableView in a
>> UIScrollView. I would like the ability to "Page" (horizontal scroll)
>> multiple UITableViews. Is there a way to do this without using
>> UIScrollView?
>>
>> R
>> _______________________________________________
>>
>> 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
>
> _______________________________________________
>
> 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
_______________________________________________
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