Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the miniorange-login-openid domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/upleaned/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the remove_dashboard_access domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/upleaned/public_html/wp-includes/functions.php on line 6121
Swift 4.0 update to 4.2 Error Fixes | Uplearned
Back
26 February

UIKeyboardWillHide has been renamed to UIResponder.keyboardWillHideNotification

  //4.0 Notification.Name.UIKeyboardWillHide //change to //4.2 UIResponder.keyboardWillHideNotification //4.0 Notification.Name.UIKeyboardWillChangeFrame //4.2 UIResponder.keyboardWillChangeFrameNotification //4.0 Notification.Name.UIApplicationWillResignActive //4.2 UIApplication.willResignActiveNotification //4.0 let keyboardScreenEndFrame = (userInfo[UIKeyboardFrameEndUserInfoKey] as! NSValue).cgRectValue //4.2 let keyboardScreenEndFrame = (userInfo[UIResponder.keyboardFrameEndUserInfoKey] as! NSValue).cgRectValue

16 October

MPMediaPickerController not working Swift 4.2

Update the delegate methods. //4.0 func mediaPicker(mediaPicker: MPMediaPickerController!, didPickMediaItems mediaItemCollection: MPMediaItemCollection!) { //4.2 func mediaPicker(_ mediaPicker: MPMediaPickerController, didPickMediaItems mediaItemCollection: MPMediaItemCollection) { //4.0 func mediaPickerDidCancel(mediaPicker: MPMediaPickerController!) { //4.2 func mediaPickerDidCancel(_ mediaPicker: …

10 October

UIViewAnimationOptions has been renamed to UIView.AnimationOptions

  //4.0 UIViewPropertyAnimator.runningPropertyAnimator(withDuration: self.transitionDuration(using: context)/2, delay: 0, options: UIViewAnimationOptions.curveLinear, animations: { //4.2 UIViewPropertyAnimator.runningPropertyAnimator(withDuration: self.transitionDuration(using: context)/2, delay: 0, options: UIView.AnimationOptions.curveLinear, animations: { If this helped you, share and pass it on! …

10 October

UIControlEvents has been renamed to UIControl.Event

  //4.0 let manyEvents: [UIControlEvents] = [.touchCancel, .touchUpInside, .touchDown, .touchDownRepeat, .touchUpOutside, .touchDragEnter,.touchDragExit, .touchDragInside, .touchDragOutside] //4.2 let manyEvents: [UIControl.Event] = [.touchCancel, .touchUpInside, .touchDown, .touchDownRepeat, .touchUpOutside, .touchDragEnter,.touchDragExit, .touchDragInside, .touchDragOutside] If this helped …