bhlvoong / LBTATools

Set of tools to drastically improve development speed of UI in iOS applications
MIT License
727 stars 94 forks source link

issue with target iOS 13 Xcode 11.4 #38

Closed diegogarciar closed 4 years ago

diegogarciar commented 4 years ago

I just installed the pod on a project targeting iOS 13 and received the following error. XCode 11.4

'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.

LBTAFormController.swift
@objc fileprivate func handleKeyboardShow(notification: Notification) {
...

   if alignment == .center {
            scrollView.contentInset.bottom += UIApplication.shared.statusBarFrame.height
   }
...
}
bhlvoong commented 4 years ago

I suggest using SPM instead of pods.

diegogarciar commented 4 years ago

I just migrated to SPM, but why the requirement for iOS 11 on layout constraints and ListController?

bhlvoong commented 4 years ago

I decided to only support iOS 13+ since there were some major changes with introduction of SwiftUI previews.