Skip to content
This repository was archived by the owner on Aug 24, 2019. It is now read-only.

Fix comment, +minor changes#3

Open
jlnr wants to merge 2 commits intosoffes:masterfrom
jlnr:master
Open

Fix comment, +minor changes#3
jlnr wants to merge 2 commits intosoffes:masterfrom
jlnr:master

Conversation

@jlnr
Copy link
Copy Markdown

@jlnr jlnr commented Oct 31, 2017

SAMLabel is a cool little pod that I like to use from time to time. Thanks!

I've mostly opened this PR to fix an inconsistent enum comment. I've also removed the @synthesize lines which are automatic now.

One thing that I'm not too sure about is the initialization. I'm wary of methods with generic names like initialize because someone else in the class hierarchy might accidentally use the same name. I thought about renaming it to something more unique, but instead I've inlined the methods in both constructors. Since the UIEdgeInsets is fine being 0-initialized, only one assignment is necessary.

If you think that this is actually more fragile than before, I can revert that part :)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant