Skip to content

Commit

Permalink
Implement full RTL support and improves the popup bar layout system
Browse files Browse the repository at this point in the history
Closes #228
Closes #229
  • Loading branch information
LeoNatan committed Feb 17, 2018
1 parent 3a55f97 commit f7f0991
Show file tree
Hide file tree
Showing 5 changed files with 349 additions and 184 deletions.
9 changes: 9 additions & 0 deletions LNPopupController/LNPopupController/LNPopupBar.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,15 @@ typedef NS_ENUM(NSUInteger, LNPopupBarProgressViewStyle) {
*/
@property (nullable, nonatomic, copy) NSDictionary<NSString*, id>* subtitleTextAttributes UI_APPEARANCE_SELECTOR;

/**
* A semantic description of the bar items, used to determine the order of bar items when switching between left-to-right and right-to-left layouts.
*
* Defaults to @c UISemanticContentAttributePlayback
*
* See also @c UIView.semanticContentAttribute
*/
@property (nonatomic) UISemanticContentAttribute barItemsSemanticContentAttribute;

/**
* When enabled, titles and subtitles that are longer than the space available will scroll text over time. By default, this is set to @c false for iOS 10 and above, @c true otherwise.
*/
Expand Down
Loading

0 comments on commit f7f0991

Please sign in to comment.