Skip to content

Incorrect code in -fobjc-arc mode #19

Description

@zyavrik

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions