Skip to content

Submit IQKeyboardManagerSwift to CocoaPodsΒ #236

Closed

Description

@retsohuang

It would be great if you can add CocoaPods support for Swift version.

Activity

  1. joaopedrok commented on Jun 15, 2015

    @joaopedrok

    Agreed

  2. hieuld commented on Jun 23, 2015

    @hieuld

    So for now, we have to use the bridge for the swift project? I am realy looking forward the IQKeyboardManager for Swift version. Thanks for your effort.

  3. retsohuang commented on Jun 23, 2015

    @retsohuang
    ContributorAuthor

    @hieuld If your app support iOS 8 above, you can use IQKeyboardManager objc version don't need bridging header by include use_frameworks! at Podfile, otherwise you have to use bridging header or drag and drop IQKeyboardManager for Swift version to your project.

  4. hieuld commented on Jun 26, 2015

    @hieuld

    Thanks, I will check on that. :)

  5. mihirpmehta commented on Aug 29, 2015

    @mihirpmehta

    i have used use_frameworks! in my podfile. It still downloads objective C files only. no swift files at all

  6. added a commit that references this issue on Jul 12, 2016
    2798b98
  7. PurviJani commented on Oct 6, 2016

    @PurviJani

    Hello, i tried both pod 'IQKeyboardManagerSwift','4.0.6' and pod 'IQKeyboardManagerSwift'
    IQKeyboardManagerSwift for Xcode 8, Swift 3 but it's not working....Please help me

    For pod 'IQKeyboardManagerSwift'
    import IQKeyboardManagerSwift
    IQKeyboardManager.sharedManager().enable = true

    And For: 'IQKeyboardManagerSwift','4.0.6'
    drag And Drop IQKeyboardManagerSwift
    IQKeyboardManager.sharedManager().enable = true

  8. retsohuang commented on Oct 6, 2016

    @retsohuang
    ContributorAuthor

    Hi @PurviJani
    Can you share your Podfile? And what version of Swift you use? Swift 3 or Swift 2.3?

  9. PurviJani commented on Oct 6, 2016

    @PurviJani

    Yeah Sure. I am using Swift 3 Xcode 8
    source 'https://github.com/CocoaPods/Specs.git'
    platform :ios, '9.0'
    use_frameworks!

    pod 'Alamofire', '~> 4.0'

    pod 'FBSDKCoreKit'
    pod 'FBSDKLoginKit'
    pod 'FBSDKShareKit'

    pod 'SVProgressHUD'

    pod 'Google/SignIn'

    pod 'IQKeyboardManagerSwift','4.0.6'

    pod 'EAIntroView', '~> 2.9.0'

    pod 'SMPageControl', '~> 1.2'

    pod "SwiftSignatureView"

  10. retsohuang commented on Oct 6, 2016

    @retsohuang
    ContributorAuthor

    Podfile seems good, can you update CocoaPods to the latest version and try again? Or provide a sample project that can reproduce the issue.

  11. hackiftekhar commented on Oct 7, 2016

    @hackiftekhar
    Owner

    Looks like your local repo isn't updated, please update cocoapods local repo and then try again.

  12. PurviJani commented on Oct 10, 2016

    @PurviJani

    Hey my pod version is 0.39.0 & I have also installed ruby 2.3.1 still it isn't working. Please help me.

  13. hackiftekhar commented on Oct 10, 2016

    @hackiftekhar
    Owner

    Please update pod version. You are using outdated version of CocoaPods.

  14. PurviJani commented on Oct 10, 2016

    @PurviJani

    Now my pod version is 1.1.0.rc.2 still it's not working.

  15. hackiftekhar commented on Oct 10, 2016

    @hackiftekhar
    Owner

    Then I think it's something our mistake and not the library because it's working great on my system.

  16. PurviJani commented on Oct 12, 2016

    @PurviJani

    It was working perfectly in xcode 7.2 i am facing problems in xcode 8

  17. hackiftekhar commented on Oct 12, 2016

    @hackiftekhar
    Owner

    I'm also using Xcode8

  18. PurviJani commented on Apr 20, 2017

    @PurviJani
  19. yunustek commented on Mar 11, 2018

    @yunustek

    Hi, I tried for iOS 10, but it's not working. Textview is underneath the keyboard.
    This command does not work:
    IQKeyboardManager.sharedManager().keyboardDistanceFromTextField = 100
    it's working only on ios 11 device. Can you help me?ο»Ώ
    Xcode 9 swift 4
    POD: IQKeyboardManagerSwift (5.0.4)
    COCOAPODS: 1.3.1

    SOLVED
    I fixed it to safearea. I tried fixing it to view and it happen :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions