Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can't use SMSegmentAppearance in Objective-C project #36

Open
Ashu opened this issue Oct 2, 2017 · 0 comments
Open

Can't use SMSegmentAppearance in Objective-C project #36

Ashu opened this issue Oct 2, 2017 · 0 comments

Comments

@Ashu
Copy link

Ashu commented Oct 2, 2017

How to add SMSegmentAppearance in objective c code? I am not getting any options for it.

SMSegmentView(frame: SomeFrame, dividerColour: UIColor(white: 0.95, alpha: 0.3), dividerWidth: 1.0, segmentAppearance: appearance)

The above initialiser is not available when used in objective c code.

@Ashu Ashu changed the title Can't use appearance in Objective c project Can't use SMSegmentAppearance in Objective-C project Oct 3, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant