Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Commit 86f068b

Browse files
author
Jeff Verkoeyen
committed
Merge branch 'release-candidate' into stable
2 parents f5349b4 + b7b1745 commit 86f068b

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# 1.1.2
2+
3+
Added support for Xcode 7 builds.
4+
5+
## Source changes
6+
7+
* [Resolve Xcode 7 build error. (#11)](https://github.com/material-motion/motion-animator-objc/commit/3e45cbebb8fadca6a75919550b360af944d6af41) (featherless)
8+
19
# 1.1.1
210

311
Bug fix release due to compiler warnings.

MotionAnimator.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "MotionAnimator"
33
s.summary = "A Motion Animator creates performant, interruptible animations from motion specs."
4-
s.version = "1.1.1"
4+
s.version = "1.1.2"
55
s.authors = "The Material Motion Authors"
66
s.license = "Apache 2.0"
77
s.homepage = "https://github.com/material-motion/motion-animator-objc"

Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PODS:
22
- CatalogByConvention (2.1.1)
3-
- MotionAnimator (1.1.1):
3+
- MotionAnimator (1.1.2):
44
- MotionInterchange
55
- MotionInterchange (1.0.1)
66

@@ -14,7 +14,7 @@ EXTERNAL SOURCES:
1414

1515
SPEC CHECKSUMS:
1616
CatalogByConvention: c3a5319de04250a7cd4649127fcfca5fe3322a43
17-
MotionAnimator: d76dcc4aa2a73293045ddcd91ebf800d096e647e
17+
MotionAnimator: 5a1893b58fcf7a4664d81d69c9a09a0078c67e06
1818
MotionInterchange: 7a7c355ba2ed5d36c5cf2ceb76cacd3d3680dbf5
1919

2020
PODFILE CHECKSUM: 32901d5f93aeff9d0bc9bb7dc89e4b9576f3ca35

src/MDMAnimatableKeyPaths.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,23 @@
1414
limitations under the License.
1515
*/
1616

17+
#import <Availability.h>
1718
#import <Foundation/Foundation.h>
1819

20+
// This macro is introduced in Xcode 9.
21+
#ifndef CF_TYPED_ENUM // What follows is backwards compat for Xcode 8 and below.
22+
#if __has_attribute(swift_wrapper)
23+
#define CF_TYPED_ENUM __attribute__((swift_wrapper(enum)))
24+
#else
25+
#define CF_TYPED_ENUM
26+
#endif
27+
#endif
28+
1929
/**
2030
A representation of an animatable key path. Likely not exhaustive.
2131
*/
2232
NS_SWIFT_NAME(AnimatableKeyPath)
23-
typedef NSString * const MDMAnimatableKeyPath __attribute__((swift_wrapper(enum)));
33+
typedef NSString * const MDMAnimatableKeyPath CF_TYPED_ENUM;
2434

2535
FOUNDATION_EXPORT MDMAnimatableKeyPath MDMKeyPathCornerRadius NS_SWIFT_NAME(cornerRadius);
2636
FOUNDATION_EXPORT MDMAnimatableKeyPath MDMKeyPathHeight NS_SWIFT_NAME(height);

0 commit comments

Comments
 (0)