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 intoJohnSundell:masterfrom
wojtkow:master
Closed

Added fallbackValueForProperty for WrapCustomizable protocol#36
wojtkow wants to merge 1 commit intoJohnSundell:masterfrom
wojtkow:master

Conversation

@wojtkow
Copy link

@wojtkow wojtkow commented Apr 14, 2017

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.

Copy link
Owner

@JohnSundell JohnSundell left a comment

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
Owner

Closing due to inactivity.

@JohnSundell JohnSundell closed this Nov 4, 2017
@JohnSundell
Copy link
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

@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