romaonthego / REFrostedViewController

iOS 7/8 style blurred view controller that appears on top of your view controller.
MIT License
2.97k stars 494 forks source link

Added a configurations file in JSON format #120

Closed alexissan closed 8 years ago

alexissan commented 9 years ago

Added a Configuration file

Following a rule that I've extracted from 'the pragmatic programmer' book, I have added a configurations file in JSON Format to the most of your component settings to make it easier to use.

Rule #6: Configure, don’t integrate Details mess up our pristine code, they change frequently. Every change to the code is a risk to break the system. To avoid that, you should get the details out of the code, in configuration files. Configurable code is called « soft code », it’s adaptable to change. Whenever you come to the point where you put details into your codebase, stop, and extract them out of it. The time you spend now will pay-off ten times in the future.

dreambt commented 9 years ago

So cool~!