Yalantis / FoldingTabBar.iOS

Folding Tab Bar and Tab Bar Controller
https://yalantis.com
MIT License
3.68k stars 458 forks source link

Error when Using Swift 3 #63

Closed robin43499 closed 7 years ago

robin43499 commented 7 years ago

Hi guys,

I've updated xcode to be the latest version which uses Swift 3.0. After I've converted all codes of my project and run it, I found out that "Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_SwiftValue itemImage]: unrecognized selector sent to instance 0x600000056350'"

So I've debugged to find which line of code caused errors and I found this line in the library.

screen shot 2559-09-21 at 5 01 13 am

Any Ideas to fix it???

Thanks in advance.

serejahh commented 7 years ago

Hi, guys. Thanks for reporting the issue!

I've added nullability directives, so now everything works properly in 1.1

robin43499 commented 7 years ago

Thanks !

serejahh commented 7 years ago

@robin43499 You're welcome. If you find any bug, report an issue 😉