Re: Duplicating display UITable scrolling, etc. in two apps
Re: Duplicating display UITable scrolling, etc. in two apps
- Subject: Re: Duplicating display UITable scrolling, etc. in two apps
- From: David Duncan <email@hidden>
- Date: Sat, 05 Jan 2013 07:26:25 -0800
On Jan 2, 2013, at 8:08 AM, Eric E. Dolecki <email@hidden> wrote:
> I have been asked to provide the following functionality between two iOS
> applications:
>
> App A: UITableView displayed, an interact with it normally.
> App B: Display a UITableView with the same information in it, and match the
> scrolling, selection, etc. in App A.
>
> I have the two apps rigged up using GameKit and that is working fine. Is
> there a way to somehow get these things to jive? This would include
> flicking, rubber-banding, etc. which is where I am getting confused on how
> to match the visual behavior. It can be delayed a bit, but looking to match
> the visuals of the two tables.
You should be able to just implement -scrollViewDidScroll: in your delegate and pass the contentOffset from App A to App B. Remember than a table view is also a scroll view, and that UITableViewDelegate adopts the UIScrollViewDelegate protocol.
--
David Duncan
_______________________________________________
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