Customization: BaseArticleStyle
The BaseArticleStyle structure describes the parameters of the article view screen
Parameter Description BaseArticleStyle:
- titleFont: UIFont - the font of the title text that appears when scrolling at the top of the screen
- titleColor: UIColor - the color of the title text that appears when scrolling at the top of the screen
- titleMargin: UIEdgeInsets - external indent of the title text that appears when scrolling at the top of the screen. The indents from the left, right, top are considered.
- titleBigFont: UIFont - main heading text font
- titleBigColor: UIColor - main title text color
- titleBigMargin: UIEdgeInsets - outer indent of the main heading text. The indents from the left, right, top are considered.
- closeButtonImage: UIImage - image for the close article viewer button
- closeButtonSize: CGSize - the size of the close article viewer button
- closeButtonMargin: UIEdgeInsets - outer indents of the close article viewer button
- topSeparatorViewColor: UIColor - color of the divider at the bottom of the top article viewing screen
The following parameters describe the objects that allow you to provide feedback on the usefulness of the article.
- isNeedReview: Bool - required or not to show the article review block
- reviewFont: UIFont - font of the review section title
- reviewColor: UIColor - color of the review section title text
- reviewMargin: UIEdgeInsets - outer indents of the review section title. The indents from the left, right, top are considered.
- reviewYesButtonColor: UIColor - positive feedback button color
- reviewYesButtonCornerRadius: CGFloat - the rounding radius of the corners of the positive feedback button
- reviewYesFont: UIFont - positive feedback button text font
- reviewYesColor: UIColor - positive feedback button text color
- reviewYesButtonTextMargin: UIEdgeInsets - the outer indent of the positive feedback button text relative to the button edges
- reviewYesButtonMargin: UIEdgeInsets - external indent of the positive feedback button. Left, top and bottom indents are taken into account
- reviewNoButtonColor: UIColor - negative feedback button color
- reviewNoButtonCornerRadius: CGFloat - the radius of the negative feedback button corners
- reviewNoFont: UIFont - negative review button text font
- reviewNoColor: UIColor - negative review button text color
- reviewNoButtonTextMargin: UIEdgeInsets - negative feedback button text indents relative to button edges
- reviewNoButtonMargin: UIEdgeInsets - the outer indent of the negative feedback button. The buttons on the left and right are considered.
- reviewSendTextFont: UIFont - font of the leaving a review section heading text
- reviewSendTextColor: UIColor - colorof the leaving a review sectionheading text
- reviewSendTextMargin: UIEdgeInsets - external indents of the leaving a review section heading text. Considered left, right and top indents
- reviewLineBottomColor: UIColor - color of the line under the text of the review
- reviewLineMarginTop: CGFloat - indentation at the top of the line relative to the review text
- reviewLineHeight: CGFloat - line height
- reviewSendButtonColor: UIColor - color of the sending button
- reviewSendButtonCornerRadius: CGFloat - the radius of the corners of the feedback button
- reviewSendFont: UIFont - the font of the feedback button text
- reviewSendButtonTextMargin: UIEdgeInsets - external indent of the sending button text
- reviewSendButtonMargin: UIEdgeInsets - external indent of the feedback button. The bottom indent value indicates the minimum space to the bottom edge.
The following parameters describe the objects to switch to the previous and next article.
- previousArticleImage: UIImage - image for the previous article button
- previousArticleImageSize: CGSize - size of the navigation to previous article button
- previousArticleImageMargin: UIEdgeInsets - outer indent of the previous article button. Left, top, and right indents are taken into account
- nextArticleImage: UIImage - image of the next article button
- nextArticleImageSize: CGSize - size of the next article button
- nextArticleImageMargin: UIEdgeInsets - outer indent of the next article button. Left, top and right indents are taken into account
- articlePreviousFont: UIFont - navigation to the previous article font
- articlePreviousColor: UIColor - navigation to the previous article color
- articlePreviousMargin: UIEdgeInsets - indents of the previous article navigation text. Top, right, and bottom indents are taken into account. The indent on the right is indicated to the middle of the screen (black line in the picture).
- articleNextFont: UIFon - next article navigation text
- articleNextColor: UIColor - next article navigation color
- articleNextMargin: UIEdgeInsets - navigation to next article text's indents. Top, left, and bottom indents are taken into account. The indent on the left is indicated to the middle of the screen (black line in the picture)
- separatorViewColor: UIColor - color of the divider above the previous and next article buttons
- separatorViewMargin: UIEdgeInsets - outside text of the divider indents . Left and right indents are taken into account
- separatorViewHeight: CGFloat - divider height