Skip to content
This repository has been archived by the owner on Nov 21, 2017. It is now read-only.

Commit

Permalink
Make addPlan: an optional method on MDMPerforming and update deprecat…
Browse files Browse the repository at this point in the history
…ion notice.

Summary: This minimizes the number of breaking changes going in to the next release.

Reviewers: O4 Material Motion Apple platform reviewers, O2 Material Motion, markwei

Reviewed By: O4 Material Motion Apple platform reviewers, O2 Material Motion, markwei

Tags: #material_motion

Differential Revision: http://codereview.cc/D1848
  • Loading branch information
jverkoey committed Nov 2, 2016
1 parent f41318d commit c0ce630
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/MDMPerforming.h
Expand Up @@ -33,6 +33,8 @@ NS_SWIFT_NAME(Performing)

#pragma mark Adding plans to a performer

@optional

/**
Provides the performer with a plan.
Expand Down Expand Up @@ -169,9 +171,9 @@ NS_SWIFT_NAME(ComposablePerforming)
// clang-format off

/** A class conforming to this protocol will be provided with plan instances. */
__deprecated_msg("Conform to Performing instead.")
__deprecated_msg("Conform to Performing instead. Deprecated in v4.0.0.")
NS_SWIFT_NAME(PlanPerforming)
@protocol MDMPlanPerforming<MDMPerforming>
@protocol MDMPlanPerforming <MDMPerforming>

#pragma mark Adding plans to a performer

Expand Down

0 comments on commit c0ce630

Please sign in to comment.