Paging UITableView

  • 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
  • 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" <r4eemesa...> 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
  • 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" <r4eemesa...> 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

  • Using storyboard, a static UITableView requires a
    UITableViewController.  How would one attach numerous static
    UITableViews to a scrollView for paging?

    On Feb 18, 10:35 pm, Roland King <r......> wrote:
    > 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" <r4eem......> 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
    >


previous month february 2012 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29        
Go to today