I am working on an app where I have created modules for each feature of the app. I have to switch from one Module UI Controller to another Module UI Controller.
I have UIController in a Module and I mark that controller as Public access identifier as below
public class InterAccountTransferViewController: UIViewController {
override public func viewDidLoad() {
......
......
}
}
Above class also implements UITextField delegates in extension. When I created above class as Open access I am getting a warning on TextField delegates as below
Instance method 'textFieldDidBeginEditing' nearly matches optional requirement 'textFieldDidBeginEditing' of protocol 'UITextFieldDelegate'
Now textfield delegates are not being called. When I tried to turn off a warning by making delegates as private, they are still not being called.
Please let me know how to silence these warnings & call the delegates as well.
Any idea or suggestion would be great. I am working on Xcode 10 with swift 4.2. Please let me know if I have to explain my question more.
