HKChapter
@objc
public class HKChapter : NSObject
HKChapter object
-
chapter title
Declaration
Swift
@objc public var title: String
-
chapter description text
Declaration
Swift
@objc public var text: String
-
chapter order, starts at 0
Declaration
Swift
@objc public var index: Int
-
true if there is animation in this chapter
Declaration
Swift
@objc public var animated: Bool
-
true if there is looping animation in this chapter
Declaration
Swift
@objc public var loops: Bool
-
the duration of the animation in this chapter
Declaration
Swift
@objc public var duration: Double
-
contains an image url if the chapter has a thumbnail image
Declaration
Swift
@objc public var thumbnail: String
-
contains a list of image urls if the chapter contains static images
Declaration
Swift
@objc public var images: [String]