Latest 0.1.0
Homepage https://github.com/vdugnist/DVAutoGeneratedProperties
License MIT
Platforms ios 8.0
Frameworks Foundation
Authors

CI Status
Version
License
Platform

Do you have classes like UserDefaultsAdapter and KeychainAdapter that has a lot of duplicated code? This library offers you a solution.

There’s a 3 steps to make it work:

  1. Subclass DVAutoGeneratedProperties
  2. Override setter and getter block methods
  3. Add as much class properties as you want

Example

Check out the example project for implementation of NSUserDefaults facade. You can extend it by adding new class property in the header and add @dynamic %propertyName% in the implementation file.

Installation

DVAutoGeneratedProperties is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'DVAutoGeneratedProperties'

Author

vdugnist, [email protected]

License

DVAutoGeneratedProperties is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "DVAutoGeneratedProperties",
    "version": "0.1.0",
    "summary": "Subclass to get autogenerated properties",
    "description": "You only need to override implementation blocknwhich will get selector as argument.",
    "homepage": "https://github.com/vdugnist/DVAutoGeneratedProperties",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "vdugnist": "[email protected]"
    },
    "source": {
        "git": "https://github.com/vdugnist/DVAutoGeneratedProperties.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/vdugnist",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "DVAutoGeneratedProperties/Classes/**/*",
    "frameworks": "Foundation"
}

Pin It on Pinterest

Share This