Eureka: 4 warnings by just installing for swift 4

Created on 13 Oct 2017  路  7Comments  路  Source: xmartlabs/Eureka

For some reason with after upgrading to the newest Xcode and newest iOS I am running into these 4 warnings

Cast from 'UIViewController' to unrelated type 'MultipleSelectorViewController>' always fails

Cast from 'RowOf!' to unrelated type 'OptionsRow' always fails

Cast from 'UIViewController' to unrelated type 'SelectorViewController>' always fails

Cast from 'Section' to unrelated type 'SelectableSection' always fails

They dont stop the app from running but they are coming up as a warning. Is there a way to fix these issues?

duplicate swift 4

Most helpful comment

Yes, this is not done. Please fix.

All 7 comments

I have the same warnings...

same as #1259

characters warning from #1259 have been removed, those 4 remains

Yes, this is not done. Please fix.

@mtnbarreto or at least re-open so contributors know where to hit :)

This issue still exists in version 4.0.1 any update on this?

These warnings are Swift issues. All these casts actually work (and the classes aren't unrelated) but it seems Swift has problems realizing that with generics. You could file a radar with Swift or check if there already is one.

Was this page helpful?
0 / 5 - 0 ratings