Skip to content

Setting value changed to public#19

Open
SukyDev wants to merge 2 commits intomanishkkatoch:masterfrom
SukyDev:master
Open

Setting value changed to public#19
SukyDev wants to merge 2 commits intomanishkkatoch:masterfrom
SukyDev:master

Conversation

@SukyDev
Copy link

@SukyDev SukyDev commented Jun 10, 2021

When trying to make custom class and accessing method valueChanged, system generates an error because init() method has not been implemented for this class. The simplest solution is to put "public" in front of the function that is widely used.

SukyDev added 2 commits June 10, 2021 08:57
Func valueChanged should be declared as public, as it is not accessible from other controllers, but it is important for making extensions and custom classes.
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

Successfully merging this pull request may close these issues.

1 participant