On Mar 23, 2013, at 1:47 PM, [email protected] wrote: > On 2013/03/23, at 11:02, Koen van der Drift <[email protected]> wrote: > >> I'd like to make a view layout similar to the Apple Stocks app, where the >> top view remains the same and the bottom view can be swiped to display >> different info views related to the top view. >> >> How should I design the view-controllers for this? One for the top view and >> then some additional ones for the bottom views? >> >> Or is there another way to do this? >> >> - Koen. >> _______________________________________________ >> >> Cocoa-dev mailing list ([email protected]) >> > From: [email protected] > To: Koen van der Drift <[email protected]> > Cc: "[email protected] Dev" <[email protected]> > Subject: Re: UIViewController question > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > Master-Detail pattern. > Select an item in the table view. > Detail view loads detail. > In this case detail view has 3 swipeable pages that loop. > > Sounds like you could do it with one or two or more. Up to you. > Really just swapping out data, views themselves aren't necessarily different > as data changes. Additional view controllers might not be necessary. > > > Sent from my iPhone >
Why not make the detail view one big multipage-wide view embedded in a UIScrollView with paging enabled? Cheers, Rick Aurbach Aurbach & Associates, Inc. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
