Skip to content

Update to latest master + unselected color + pod/spm support#5

Open
mkupetskii wants to merge 34 commits into
masterfrom
update_to_latest_unselected_spm
Open

Update to latest master + unselected color + pod/spm support#5
mkupetskii wants to merge 34 commits into
masterfrom
update_to_latest_unselected_spm

Conversation

@mkupetskii

@mkupetskii mkupetskii commented Dec 2, 2022

Copy link
Copy Markdown

This PR includes

  • latest changes from the original repo (dated Sep 1, 2022)
  • fixes for unselected color 135b4bd
  • SPM support
  • updated podspecs
  • fixed examples

Reasons

  • outdated fork with Swift 4
  • signing resource bundles issue with pods in Xcode 14

Results

  • current branch supports installation via CocoaPods — nothing will be broken in terms of old branches/releases etc
  • we can easily switch to SPM using current branch, and after it's merged, using tags and releases

alexanderkhitev and others added 30 commits December 2, 2022 11:34
We need to place subviews onto UITableViewCell's contentView (to use `UITableViewCell.insetsContentViewsToSafeArea`).
by swift 4.1 syntax

* UIColor.whiteColor() -> UIColor.white
* UIFont.systemFontOfSize(18) -> UIFont.systemFont(ofSize: 18)
by swift 4.1 syntax

* UIView.animate
* CGAffineTransform
e.g. missing commas, verb tense correction, and the like.
BaseButtonBarPagerTabStripViewController.buttonBarView.selectedBarVerticalAlignment did not respect the settings in the style.

This meant that any subclasses of BaseButtonBarPagerTabStripViewController could not change the vertical alignment of the selected bar.
Prefer the indicatorInfo's accessibilityLabel
Add UIKit import as it creates a compile time error
@mkupetskii

mkupetskii commented Dec 2, 2022

Copy link
Copy Markdown
Author

As a better approach we may use another branch https://github.com/trading-point/XLPagerTabStrip/tree/fork_from_original for the same reasons, consisting of the exact same changes.

The only difference will be in the commit structure, that is easier to follow:
if we are to keep old master branch with single extra commit for unselected color we'll eventually have something like this
Screenshot 2022-12-02 at 14 37 24

with the latest original master + added required changes on top of it:
Screenshot 2022-12-02 at 14 51 44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants