2

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.

Tamás Sengel
  • 55,884
  • 29
  • 169
  • 223
beseder
  • 1,352
  • 2
  • 15
  • 25

1 Answers1

1

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.

Lucas Leon
  • 114
  • 4