Open amarcadet opened 7 years ago
I forked and fix this issue by renaming classes. You can use my repo and branch. https://github.com/letsspeak/KYDrawerController/tree/swift4-rswift
pod 'KYDrawerController', :git => 'https://github.com/letsspeak/KYDrawerController', :branch => 'swift4-rswift' # Swift4/Xcode9 comfortable
I'm not sure if this is an issue with KyDrawerController
, or R.swift
..
In any case, fixing this would likely require a major version increment, as it would be an API breaking change.
@letsspeak is this something you think the library should address, or can this issue be closed?
I'm using R.swift and I have an issue with
KYDrawerController
module naming.R.swift generate the following code:
The thing is
KYDrawerController
is both the module name and the controller class name. At compile time Xcode throw the following error:Looks like R.swift use the module name defined in IB and prepend it to the segue class. The only workaround I can think of is subclassing
KYEmbedMainControllerSegue
into a class the belongs to my app module so there should be no module name issue. Unfortunately, these classes are notopen
so I can't subclass them.Do you have a workaround to address this issue?
Thanks for your help!