Skip to content

Commit

Permalink
Merge pull request #911 from antonsergeev88/fix-markdown-for-objc
Browse files Browse the repository at this point in the history
Place markdown before declaration of @objc exproted entities
  • Loading branch information
thedrick authored May 28, 2019
2 parents d6c5821 + a55570e commit 43ab6fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@

import Foundation

@objc
/// An Objective-C compatible wrapper around Lottie's AnimationKeypath
@objc
public final class CompatibleAnimationKeypath: NSObject {

@objc
/// Creates a keypath from a dot separated string. The string is separated by "."
@objc
public init(keypath: String) {
animationKeypath = AnimationKeypath(keypath: keypath)
}

@objc
/// Creates a keypath from a list of strings.
@objc
public init(keys: [String]) {
animationKeypath = AnimationKeypath(keys: keys)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
import Foundation
import UIKit

@objc
/// An Objective-C compatible wrapper around Lottie's Animation class.
/// Use in tandem with CompatibleAnimationView when using Lottie in Objective-C
@objc
public final class CompatibleAnimation: NSObject {

@objc
Expand All @@ -35,8 +35,8 @@ public final class CompatibleAnimation: NSObject {
private let bundle: Bundle
}

@objc
/// An Objective-C compatible wrapper around Lottie's AnimationView.
@objc
public final class CompatibleAnimationView: UIView {

@objc
Expand Down

0 comments on commit 43ab6fb

Please sign in to comment.