Open Maryom opened 6 years ago
Any fix to that problem ?
Unfortunately, nothing fixed the problem.
public static func with(dataSource: CardSliderDataSource) -> CardSliderViewController { guard let controller = UIStoryboard(name: "Main", bundle: Bundle(for: self)).instantiateInitialViewController() as? CardSliderViewController else { fatalError("Failed to initialize CardSliderViewController") } controller.dataSource = dataSource return controller }
This part has a problem. UIStoryboard should be fixed by "Main" we should have given our own storyboard. Even I change the main code base as dynamic storyboard. Unfortunately, it did not help to fix the problem.
@RamotionDev please make it dynamic to make this library usable. Thank you :)
@oguzparlak not yet!
@RamotionDev Still awaiting for a hot fix..
Still waiting...
Still waiting...
To somebody still waiting, There's a Pull request here: https://github.com/Ramotion/cardslider/pull/8/commits/8add4a874e3616fcf6f73b5b7aa09209aaf8b9c3 solved this problem. Maybe @RamotionDev should make a little bit response to this issue.
Hey,
After
pod install
still we can't use this repo. app crashed and we got the following error:*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle
Kindly fix it.