Tried this solution: No Method declared with Objective-C Selector for Notification UIKeyboardWillShowNotification and UIKeyboardWillHideNotification
but still doesn't work
Note: I added pictures because my code are on the same file/class but theyre in different places and theres a lot of code in between.
Basically I created another Class (Non-UIViewController) that sends a Notification to the ViewController Class and followed suggestions from my Xcode and Stackoverflow.
The methods are just to move to another viewcontroller from current viewcontroller, I used notificationcenter because I was reusing a lot of the same methods and just created a class that had the same functions called loginHandler and this uses notification center to send notifications