Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Getting blank content and transition not working as expected. #13

Closed
grahammccarthy opened this issue Apr 11, 2016 · 3 comments
Closed

Comments

@grahammccarthy
Copy link

Hello,
I have added the library and followed the directions for implementation (including using the example project). I am coming across a weird issue.

When I view the page that extends from SAInboxViewController, I see blank states where my data should be. And when I click on one of those blank states I get a Push transition, not the desired Google Inbox style transition.

Do you have ideas of what the problem might be that is causing this?I suspect it is because I use Interface builder for layout, and since the library has me not using my typical @IBOutlet weak var tableView: UITableView! line, I feel like this is the root of my problem.

The class extending from SAInboxViewController:
image

The class extending from SAInboxDetailViewController:
image

any assistance would be greatly appreciated.

thanks!

@marty-suzuki
Copy link
Owner

Thank you for your question!

SAInboxViewController and SAInboxDetailViewController already have UITableView property.
You have to use that tableView.

Please try it.

@grahammccarthy
Copy link
Author

I think the issue is that I've used Interface builder to design the cells, and when I use the tableView from SAInboxViewController it doesn't know how to render my cells. Is there a way to hook up your SAInboxViewController tableView to interfacebuilder?

Thanks!

@grahammccarthy
Copy link
Author

I tried a few things but couldn't get to work with interface. the only way I could get it to work was to pull out my cells into their own .xib files and reference them through code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants