Closed nicholascross closed 10 years ago
i've just updated the class, you can now justify your text. hope it works well :) let me know.
I just tried this out in the sample app, works well and is exactly what I needed! I went to add the podfile you created to pod specs repository but I noticed it doesn't lint because you haven't tagged the version yet.
i updated the podspec file, the version number has changed, that should be ok. I didn't have the time to see how to update it for cocoapods.
If you create a tag '0.1.1' for the latest changes then I can add the pod spec to the main Specs repo.
I am currently using the latest source by adding this to my Podfile pod 'BMGlyphLabel', :head
It is good practice to use a specific version though as new changes or bugs could be introduced at anytime by using head.
the tag seems was ok:
and
pod spec lint -> BMGlyphLabel (0.1.1) Analyzed 1 podspec. BMGlyphLabel.podspec passed validation.
Hi tapouillo, sorry for the delayed response.
I just validated your podspec again and it worked. I wonder if the tag wasn't pushed last time I tried.
I have submitted a pull request to specs repository.
There doesn't seem to be a way to justify multiple lines of text to the center. You can position them around the center of the label node, but all text is still left justified. It would be handy to be able to control text justification not just alignment with the node.