Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't properly customize control because of many private variables #2

Open
gerchicov-bp opened this issue Nov 23, 2017 · 4 comments
Open

Comments

@gerchicov-bp
Copy link

Wanted to customize hitTest - 'focus' is inaccessible due to 'private' protection level
Tried to fix focus modifier to public - Property must be declared private because its type uses a private type
and etc.

This project contains errors (I can't describe now it but it linked with constraints + mask area) but I can't even try to fix them by subclassing because all the necessary variables are declared as private.
So if you don't provide proper delegate methods - could you at least remove all the private marks? It is enough fast solution

@funct7
Copy link
Owner

funct7 commented Nov 24, 2017

What are you trying to achieve? And please provide some context that could help reproduce the error.

@gerchicov-bp
Copy link
Author

gerchicov-bp commented Nov 24, 2017

I wrote a separate bug for that issue. The issue mentioned in this topic is I can't customize hitTest because it refers to private variables. In my particular case I want to call "next action" on clicking in the whole tutorial view except of some area which is different from the "TutorialItem" area but can include it.

@gerchicov-bp
Copy link
Author

additionally - inheritable singleton:
https://medium.com/@derrickho_28266/swift-singleton-inheritance-ba64d517ebd5

@funct7
Copy link
Owner

funct7 commented Nov 27, 2017

@gerchicov-bp Thanks for posting the issues. This library and other libraries with the KR prefix are actually proprietary and are made public just in case other people need them. Since I am busy with other updates, please note that it will take some time before I find the time to look into these issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants