Back
07 October

UIViewAutoresizing has been renamed to UIView.AutoresizingMask

  //4.0  scrollView.autoresizingMask = UIViewAutoresizing(rawValue: UIViewAutoresizing.RawValue(UInt8(UIViewAutoresizing.flexibleWidth.rawValue) | UInt8(UIViewAutoresizing.flexibleHeight.rawValue))) //4.2 scrollView.autoresizingMask = UIView.AutoresizingMask(rawValue: UIView.AutoresizingMask.RawValue(UInt8(UIView.AutoresizingMask.flexibleWidth.rawValue) | UInt8(UIView.AutoresizingMask.flexibleHeight.rawValue))) If this helped you, share and pass it on! 😀 ➡️ 🐦

04 October

NSAttributedStringKey has been renamed to NSAttributedString.Key

//4.0 let subtitleAttributes = [NSAttributedStringKey.font: UIFont.preferredFont(forTextStyle: UIFontTextStyle.subheadline)] //4.2 let subtitleAttributes = [NSAttributedString.Key.font: UIFont.preferredFont(forTextStyle: UIFont.TextStyle.subheadline)] If this helped you share on your favourite social media. ➡️ 🐦