beseder
beseder

Reputation: 1372

Build Error in IQKeyboardManager

I am using IQKeyboardManager Swift2 branch via source code inclusion in my project (Xcode 7, Swift 2.0)

I get this build errors in IQKeyboardReturnKeyHandler.swift and cannot imagine why they appear in my build:

First build error

Second build error

The error seems to be that the untyped(!?) content of Set should be accessible with an string index.

Upvotes: 2

Views: 616

Answers (1)

Lucas Leon
Lucas Leon

Reputation: 114

I believe I got these compile errors after I'd added Realm framework to my project. There should be some inconsistency between the two....

Did a simple workaround - changed this way:

infoDict[kIQTextField] -> infoDict.objectForKey(kIQTextField)

and now all works fine I think. I need to fork the repo and create pull request after I double check it all works fine.

Upvotes: 1

Related Questions