Closed Vortec4800 closed 9 years ago
The swift thing is not too big of an issue, unfortunately I've let that sort of slip a bit behind the objective-c side of things as I haven't had the time to adequately learn the language. I like this idea though, once travis finishes running I'll go ahead and merge it. Thanks for the contribution!
Sure thing, glad I could help. I'll probably have a few other feature updates that you may or may not like as well.
I don't know how you feel about this, given it could be done from outside of the framework by setting the size properties based on the image file, but it seemed like something the framework could do pretty easily and would make for sensible defaults.
Changed the default icon size to be pulled from the icon file, instead of using the hardcoded default size. Icon sizes can still be overridden using the properties for those who need this functionality.
Also I didn't make this change on the Swift side of things. Don't know if that's a big deal or not.