Accessors conflicts: Apple has @origin and @size inside its private internals
stanislaw opened this issue · 7 comments
stanislaw commented
AlexDenisov commented
Oh sh*t...
I'll fix this soon, or will merge PR ;)
stanislaw commented
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 ;)
sSegev commented
Any news about this?
stanislaw commented
@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.
AlexDenisov commented
@stanislaw, if you want to send a PR - I'll merge it.
Sorry for delays, have a lot of work.
sSegev commented
@stanislaw Great, Thanks.