Jot (Objective-C) – 一个 iOS 框架,轻松添加图形和文字到图像中。
示例代码:
#import "ExampleViewController.h" #import <jot.h> @interface ExampleViewController () @property (nonatomic, strong) JotViewController *jotViewController; @end @implementation ExampleViewController - (void)viewDidLoad { [super viewDidLoad]; _jotViewController = [JotViewController new]; self.jotViewController.delegate = self; [self addChildViewController:self.jotViewController]; [self.view addSubview:self.jotViewController.view]; [self.jotViewController didMoveToParentViewController:self]; self.jotViewController.view.frame = self.view.frame; }