CYRTextView
CYRTextView copied to clipboard
Incorrect code in -fobjc-arc mode
Steps to reproduce:
- Create non-ARC project that is using CYRTextView.
- Set -fobjc-arc parameter to CYRTextView modules on Build Phases - Compile Sources.
- Build the application.
Actual result:
There will be a build error.
Should be:
Sources should be compiled successfully.
Possible fix:
Change the following code to the new one:
@property UIColor *gutterBackgroundColor; @property UIColor *gutterLineColor;
-->
@property (nonatomic, strong) UIColor *gutterBackgroundColor; @property (nonatomic, strong) UIColor *gutterLineColor;