readium / r2-testapp-swift

BSD 3-Clause "New" or "Revised" License
146 stars 38 forks source link

Refactoring the AppDelegate #224

Closed mickael-menu-mantano closed 5 years ago

mickael-menu-mantano commented 5 years ago

The AppDelegate will typically be unique for each client app, and not copy-pasted from the TestApp. So as a rule of thumb, it should only do two things:

Moreover, the LibraryViewController is tightly coupled with AppDelegate, which makes it hard to reuse it in a client app.

Once done, this will help implementors to upgrade the test app since the logic will be segregated to Readium-specific classes.