CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
Turns static PaintCode or Qwarkee code into a UIView that honors its contentMode property.
Before |
After |
![]() |
![]() |
Just import MMScalableVectorView.m & .h into your project directly.
- (id)initWithFrame:(CGRect)frame drawingBlock:(void (^)(void))drawingBlock originalSize:(CGSize)originalSize to create a new instance of MMScalableVectorView, providing the vector drawing block and original size.contentMode as desired.- (void)drawInFrame:(CGRect)frame.drawInCurrentContext
originalSize to return a CGSize structure for the native size of the vector graphic.contentMode property as desired before the view is drawn. This can be done in Interface Builder or programatically.Run pod install inside the Demo folder, then load the Demo workspace & run!