CYRTextView icon indicating copy to clipboard operation
CYRTextView copied to clipboard

Incorrect code in -fobjc-arc mode

Open zyavrik opened this issue 11 years ago • 0 comments

Steps to reproduce:

  1. Create non-ARC project that is using CYRTextView.
  2. Set -fobjc-arc parameter to CYRTextView modules on Build Phases - Compile Sources.
  3. 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;

zyavrik avatar Jun 07 '14 10:06 zyavrik