Ramotion / cardslider

:octocat: 🃏 Cardslider is a design UI controller that allows you to swipe through cards with pictures and accompanying descriptions.
https://www.ramotion.com/iphone-app-development-ui-library-for-swiping-through-objects/
MIT License
1.28k stars 101 forks source link

Crash #4

Open Maryom opened 6 years ago

Maryom commented 6 years ago

Hey,

Afterpod 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.

oguzparlak commented 5 years ago

Any fix to that problem ?

WrathChaos commented 5 years ago

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 :)

Maryom commented 5 years ago

@oguzparlak not yet!

WrathChaos commented 5 years ago

@RamotionDev Still awaiting for a hot fix..

EGApplications commented 4 years ago

Still waiting...

keishinz commented 4 years ago

Still waiting...

keishinz commented 4 years ago

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.