Skip to content
This repository was archived by the owner on May 20, 2021. It is now read-only.

Added fallbackValueForProperty for WrapCustomizable protocol - #36

Closed
wojtkow wants to merge 1 commit into
JohnSundell:masterfrom
wojtkow:master
Closed

wojtkow wants to merge 1 commit into
JohnSundell:masterfrom
wojtkow:master

Conversation

@wojtkow

@wojtkow wojtkow commented Apr 14, 2017

Copy link
Copy Markdown

I have added proposed fallbackValueForProperty function to WrapCustomizable.
This function allows to return own value in case of nil value of properties in wrapped object.

@JohnSundell JohnSundell left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Hey @wojtkow! Thanks for contributing to Wrap, and sorry for taking a long time to review this. Could you please update the code formatting to match the rest of Wrap? Also remove undesired whitespace? 🙂

@JohnSundell

Copy link
Copy Markdown
Owner

Closing due to inactivity.

@JohnSundell JohnSundell closed this Nov 4, 2017
@JohnSundell

Copy link
Copy Markdown
Owner

I should clarify that I'm still very open to merging this (or another PR adding similar functionality) into Wrap - as long as the change fits in code style-wise with the rest of the project 🙂

@hebertialmeida

Copy link
Copy Markdown

@JohnSundell This seems more reasonable than #52, I can make a PR if no one is interested in that 😄

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants