Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Use ViewControllers instead of Views for presentation and layout of Hero, Body, Actions. #16

Merged
merged 7 commits into from
May 24, 2016

Conversation

nlutsenko
Copy link
Member

Much better structure, and most importantly allows us to unblock:

  • Custom ViewController for Gif presentation
  • Full screen presentation using built-in UIViewController presentation techniques

Also this includes some cleanup around usage of ivars/properties and addition of missing nullability annotations.

contentInset:self.cardDisplayOptions.contentInset];
[self.contentView addSubview:self.heroView];
self.heroViewController = [[FBNCardHeroViewController alloc] initWithAssetsController:self.assetsController
configuration:self.configuration.heroConfiguration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes me realize how much I want UIContainerView as a public class...

@richardjrossiii
Copy link
Contributor

Crazy, But it works

@nlutsenko nlutsenko merged commit 33e3f27 into master May 24, 2016
@nlutsenko nlutsenko deleted the nlutsenko.ios.viewControllers branch May 24, 2016 02:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants