material-motion-archive / runtime-objc

Archived February 16, 2017 :: Material Motion Runtime for Apple devices
Apache License 2.0
20 stars 3 forks source link

Create a TransitionController type #12

Closed jverkoey closed 8 years ago

jverkoey commented 8 years ago

Spec: https://material-motion.gitbooks.io/material-motion-starmap/content/specifications/transition_controller.html

jverkoey commented 8 years ago

This controller publicly conforms to UIViewControllerTransitioningDelegate.

Example use:

viewController.mdm_transitionController.directorClass = [PhotoDirector class];

Class prototype:

MDMTransitionController : NSObject <UIViewControllerTransitioningDelegate>

When mdm_transitionController is accessed, an instance of MDMTransitionController should lazily be created and then assigned to the view controller's transitioningDelegate (if one is not already set). This will allow us to hook in to the iOS view controller transitioning APIs.

jverkoey commented 8 years ago

Moved to https://github.com/material-motion/material-motion-transitions-objc/issues/3.