Skip to content

Only compatible with storyboards? #28

Description

@wimhaanstra

I am trying out Cely in a small app that I am building, but I am not using Storyboards. I use the 'old' way, of just instantiating a UIViewController and assigning it to my UIWindow.

AppDelegate.swift

self.window = UIWindow()
self.window?.rootViewController = MainViewController()
self.window?.makeKeyAndVisible()

After this I setup Cely:
Cely.setup(with: window, forModel: User(), requiredProperties: [.token], withOptions: nil)

But while starting my application it crashes with the following error message:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle

Would using a custom CelyAnimator solve this (not sure?)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions