Use nvm_beginImage
to start, apply any supported attributes in your drawing chain, just call make
in the end to get an image:
UIImage *image = nvm_beginImage(size)
.fillColor(fillColor)
.borderColor(borderColor)
.cornerRadius(20)
.opacity(0.5)
.make;
To run the example project, clone the repo, and run pod install
from the Example directory first.
iOS 7
NVMImageMaker is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "NVMImageMaker"
NVMImageMaker is available under the MIT license. See the LICENSE file for more info.