AlexDenisov/FrameAccessor

Accessors conflicts: Apple has @origin and @size inside its private internals

stanislaw opened this issue · 7 comments

Oh sh*t...
I'll fix this soon, or will merge PR ;)

I'll fix this soon, or will merge PR ;)

This depends on a solution you will come up with. As you can see CKUIKit does it the following way:

@property CGPoint position; // (aka origin)
@property CGSize viewSize;

And mine variant is to have:

@property CGPoint viewOrigin;
@property CGSize viewSize;

Actually I don't like them both (but mine is a bit more conservative and consistent).

Let's see what will be your solution ;)

Any news about this?

@AlexDenisov, I suggest you to follow my way: viewOrigin and viewSize. I do not make a PR myself because I am not sure if you think it will be consistent for FrameAccessor.

@stanislaw, if you want to send a PR - I'll merge it.
Sorry for delays, have a lot of work.

@sSegev, we've done it.

@stanislaw Great, Thanks.