michaeltyson / TPKeyboardAvoiding

A drop-in universal solution for moving text fields out of the way of the keyboard in iOS
http://atastypixel.com/blog/a-drop-in-universal-solution-for-moving-text-fields-out-of-the-way-of-the-keyboard/
zlib License
5.81k stars 925 forks source link

SPM doesn't work #285

Closed zarghol closed 4 years ago

zarghol commented 4 years ago

Hi,

I tried to use this framework with the brand new SPM support, but unfortunately it doesn't work.

Environment : Xcode 11.3.1, Swift Step to reproduce :

  1. Create a new iOS app project
  2. Add Package in Xcode with configuration https://github.com/michaeltyson/TPKeyboardAvoiding / master branch
  3. In the ViewController.swift, add import TPKeyboardAvoiding
  4. add a variable var tableView: TPKeyboardAvoidingTableView?

It doesn't compile : Use of undeclared type 'TPKeyboardAvoidingTableView'

It seems to doesn't expose the classes to public...