Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to initialise a DownView using a custom template bundle #27

Merged

Conversation

tonyarnold
Copy link
Collaborator

This PR introduces an extra optional parameter when initialising DownView that allows the caller to specify a custom template bundle.

@coveralls
Copy link

coveralls commented May 6, 2017

Coverage Status

Coverage increased (+4.3%) to 85.315% when pulling fc3a3a6 on tonyarnold:feature/custom-template-bundles into c53646a on iwasrobbed:master.

Copy link
Collaborator

@iwasrobbed iwasrobbed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, thanks @tonyarnold

One request: mind adding a quick test for this similar to the ones in https://github.com/iwasrobbed/Down/blob/master/Tests/DownViewTests.swift ?

@tonyarnold
Copy link
Collaborator Author

Not at all! I'll add a test when I'm next at my Mac 👍

@tonyarnold
Copy link
Collaborator Author

Do the test targets work for you? I can't get either the iOS or the macOS targets to build, let alone run.

@iwasrobbed
Copy link
Collaborator

@tonyarnold I haven't tested locally, but they ran successfully as part of this PR

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling db460de on tonyarnold:feature/custom-template-bundles into ** on iwasrobbed:master**.

@tonyarnold tonyarnold force-pushed the feature/custom-template-bundles branch from db460de to b043c74 Compare May 8, 2017 21:51
@tonyarnold
Copy link
Collaborator Author

@iwasrobbed I've added a single test (along with a test bundle fixture) in addc235. Let me know if you need more!

@iwasrobbed iwasrobbed merged commit 806fc0b into johnxnguyen:master May 9, 2017
@iwasrobbed
Copy link
Collaborator

Looks great, thanks again @tonyarnold !

@tonyarnold
Copy link
Collaborator Author

You're welcome - thanks for the great library!

@tonyarnold tonyarnold deleted the feature/custom-template-bundles branch May 9, 2017 01:37
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling b043c74 on tonyarnold:feature/custom-template-bundles into ** on iwasrobbed:master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling addc235 on tonyarnold:feature/custom-template-bundles into ** on iwasrobbed:master**.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants