Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Pass data from menu to topview #99

Closed
rockia opened this Issue · 1 comment

2 participants

@rockia

Hello, thanks for the great Open Source library!! I have encountered a problem and hopefully you can give me some hints. (Sorry this is not actually a bug/issue about this git. Please remove if not appropriate).

I have the following 3 UIView objects, each associated a view object built with Storyboard

  1. initView is the ECSlidingViewController
  2. leftMenu is the leftView (UITableView)
  3. centerMenu is the topview (UITableView)

First the initView loads leftView and topView, I can pan to see leftMenu, if I select a row on the leftMenu, can I pass data to the centerMenu.

Basically it's like a two levels navigation. I googled lots of tutorials but most of them are just initiate a new UIView after selecting from the menu. Can you please give me a hand? Thanks!

@enriquez
Owner

It is up to you on how you want data passed between view controllers. Typically you will expose a property on the top view controller that can be set from the menu view controller.

@enriquez enriquez closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.