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

Clean up EdgeInsets to use CF_SWIFT_NAME getter macro #313

Open
vicng opened this issue Feb 7, 2017 · 0 comments
Open

Clean up EdgeInsets to use CF_SWIFT_NAME getter macro #313

vicng opened this issue Feb 7, 2017 · 0 comments

Comments

@vicng
Copy link
Contributor

vicng commented Feb 7, 2017

Jazzy won't generate docs for Obj-C headers that use the CF_SWIFT_NAME getter macro (issue filed here).

Once this is fixed in Jazzy, EdgeInsets.swift can be removed and the method signatures in BKYEdgeInsets.h for left and right can be changed back to:

CGFloat BKYEdgeInsetsGetLeft(BKYEdgeInsets edgeInsets)
  CF_SWIFT_NAME(getter:EdgeInsets.left(self:));

CGFloat BKYEdgeInsetsGetRight(BKYEdgeInsets edgeInsets)
  CF_SWIFT_NAME(getter:EdgeInsets.right(self:));
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant