krzysztofzablocki / PropertyMapper

Property mapping for Objective-C iOS apps.

Home Page:http://merowing.info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work when there's a getter method defined

kevinrenskers opened this issue · comments

If my property is defined like this:

@property (nonatomic, getter=isVerified) BOOL verified;

Then this happens:

screen shot 2014-11-03 at 16 27 10

No visible interface for X defines the selector Y.

It tries to reference verified method so it gets compile time errors if you misspell but unfortunately the logic is not controllable so I can't make it guess(at compile time) if custom getter exists.

You could supply private method verified that just calls isVerified to make it work, that would prevent polluting global namespace with 2 versions of verified getter

Krzysztof Zabłocki
Co-Founder
Pixle.pl

On Mon, Nov 3, 2014 at 5:28 PM, Kevin Renskers notifications@github.com
wrote:

No visible interface for X defines the selector Y.

Reply to this email directly or view it on GitHub:
#42 (comment)