Skip to content
New issue

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

show the right way of adding a badge to a UISegmentedControl #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pulkitsinghal
Copy link
Contributor

In this pull request ... I've marked the right way and the wrong way of using a badge with a UISegmentedControl with your badge library. You don't have to put it into place that way, you can choose not to commit the few lines marked "wrong way" ... I only left it in place because my first reaction to a sample which seems to have extra lines (like the container view in "right way") is to optimize and remove them without realizing that there was a good reason to have them there. Guess I'm just protecting people like myself from making mistakes :)

I've also used a smaller font in badges just for the sake of smushing stuff together for demo.

I noticed that you made a change in your source recently from UIExtendedEdgeNone to UIRectEdgeNone ... can you tell me what that was about?

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.

1 participant