We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
I want it too. please
Sorry, something went wrong.
我是写一个子类继承PagingIndicatorView, 设置 options.indicatorColor = .clear 子类里包含一个子视图固定宽度
class SLPagingIndicatorView: PagingIndicatorView {
static var indicatorWidth: CGFloat = 24.ui_mscale static var indicatorHeight: CGFloat = 2 static var indicatorColor = "#FF9900".to_color private lazy var indicatorView: UIView = { let view = UIView() view.backgroundColor = Self.indicatorColor return view }() override init(frame: CGRect) { super.init(frame: frame) addSubview(indicatorView) indicatorView.snp.makeConstraints { make in make.center.equalToSuperview() make.height.equalTo(Self.indicatorHeight) make.width.equalTo(Self.indicatorWidth) } } required init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") }
}
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: